Color a Tree

Problem Number: 
1 205
Type of Problem: 
Problem Category: 
Input: 
Random Input
0
0
Critical Input: 
Random Input: 
16 1 32 25 500 2 1 4 8 12 6 1 20 200 220 100 1 500 1 2 1 3 1 4 2 5 2 6 2 7 2 8 3 9 3 10 4 11 4 12 10 13 10 14 10 15 14 16 0 0
Problem Id: 
1205