電圧 (Voltage)
Unrated
日本語
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 256 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 5 1 2 1 3 1 4 2 4 3 4
Sample output 1
1
Sample input 2
4 4 1 2 2 3 3 2 4 3
Sample output 2
2
Sample input 3
13 16 1 6 2 6 3 1 3 2 4 7 4 7 5 9 6 5 8 2 8 13 9 11 10 3 11 10 11 12 12 8 13 6
Sample output 3
3
Notes
JOI 2013/2014 電圧 (Voltage) · JCIOI · CC BY-SA 4.0
Tags
No tags yet