手持ち花火 (Sparklers)
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 2 50 0 200 300
Sample output 1
2
Sample input 2
3 2 10 0 200 300
Sample output 2
8
Sample input 3
20 6 1 0 2 13 27 35 46 63 74 80 88 100 101 109 110 119 138 139 154 172 192
Sample output 3
6
Notes
JOI 2016/2017 手持ち花火 (Sparklers) · JCIOI · CC BY-SA 4.0
Tags
No tags yet