崖崩れ (Collapse)
UnratedFunction
日本語
Language
Contribute a translation- Time limit
- 6000 ms
- Memory limit
- 512 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Implementation
Examples
Sample input 1
5 8 2 0 0 1 0 1 3 0 2 4 0 4 0 1 1 3 0 0 3 0 1 2 0 4 3 3 1 7 3
Sample output 1
3 2
Notes
JOI Open Contest 2018 · JCIOI · CC BY-SA 4.0
Tags
No tags yet
Source
This problem accepts only these languages.
C++20