Time limit
1000 ms
Memory limit
10000 kB
OS
Linux
Source
Descriptions:

Treasure Hunt

POJ - 1066