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

Atlantis

POJ - 1151