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

Number Sequence

HDU - 1711