地域 (Regions)
Unrated
日本語
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 64 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
5 2 1 4 2 2 3 3 2 4 1 4 5 1
Sample output 1
3
Sample input 2
5 3 1 4 2 2 3 3 2 4 1 4 5 1
Sample output 2
2
Notes
JOI 2009/2010 地域 (Regions) · JCIOI · CC BY-SA 4.0
Tags
No tags yet