GARDEN - Editorial

PROBLEM LINKS:

Practice
Contest

DIFFICULTY:

Medium

PREREQUISITES:

Trees, Cycles, Dynamic Programming

SOLUTION:`

http://www.ioi2011.or.th/hsc/tasks/solutions/garden.pdf

EDITORIALIST’S SOLUTION:

Can be found here.