Time limit
1000 ms
Memory limit
65536 kB
OS
Linux
Source
POJ Contest,Author:magicpig@ZSU
Descriptions:

Apple Tree

POJ - 2486