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

Pick-up sticks

HDU - 1147