Time limit
3000 ms
Memory limit
32768 kB
OS
Windows
Source
Descriptions:

Aragorn's Story

HDU - 3966