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

Calculation

HDU - 2837