IOI08B - Editorial

PROBLEM LINKS:

Practice
Contest

DIFFICULTY:

Medium

PREREQUISITES:

Trees, Cycles, Dfs

SOLUTION:`

http://www.ioinformatics.org/locations/ioi08/contest/IOI2008Booklet1.0.pdf .

EDITORIALIST’S SOLUTION:

Can be found here.