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

Yaoge’s maximum profit

HDU - 5052