|Codeforces Round #275 (Div. 1)|
Problem D. Random Function and Tree
Pictures for the first sample contain wrong numbers: on each tree 3 and 4 should be swapped (3 should be on the left node and 4 should be on the right node). They will be fixed soon.
Due to technical issues at the beginning contest duration is increased by 10 minutes.