最悪の記者 2 (Worst Reporter 2)
Unrated
日本語
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 256 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
3 3 500 2 200 1 100 1 1000 3 700 3 400
Sample output 1
1
Sample input 2
3 3 3 3 2 1 1 3 4 3 2 1 1
Sample output 2
0
Sample input 3
6 1 70 4 50 1 30 2 20 1 10 3 0 6 100 2 90 1 80 2 60 4 40 1 10
Sample output 3
3
Notes
Tags
No tags yet