IOI12C - Editorial

PROBLEM LINKS:

Practice
Contest

DIFFICULTY:

Easy

PREREQUISITES:

trie, lca

SOLUTION:`


EDITORIALIST’S SOLUTION:

Can be found here.

//