Bank

Please read from standard input and write to standard output.

(Instead of from bank.in and bank.out respectively).

Limits are different from the statement: ai <= 2000, bi <= 2000


Time Limit: 1 Seconds
Memory Limit: 1024MB
Your best score: 0
Source: IZhO 2014 Day 1

Subtask Score
1 19
2 25
3 27
4 29
5 0