Time limit
2000 ms
Memory limit
65536 kB
OS
Linux
Descriptions:

Arbitrage

ZOJ - 1092