Time limit
1000 ms
Memory limit
64 kB
OS
Linux
Source
From UVa
Descriptions:

快乐的跳跃者

UESTC - 508