ジョイッター (Joitter)
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
7 1 3 2 1 3 1 2 0 5 2 1 6 3 2 5 0 1 5 2 4 8 2 1 0 3 4 1 1 1 5 3 0 4 9 5 6 2 4 4 0 6 2 3 4 1 9 6 0 6 2 8 1 5 2 6 0
Sample output 1
15 62
Sample input 2
5 2 2 3 2 3 0 2 1 9 9 2 0 8 4 6 1 8 0 7 5 9 4 7 0 8 9 6 5 8 0
Sample output 2
4 20
Sample input 3
3 3 3 3 0 8 7 8 0 9 7 9 0
Sample output 3
2 15
Notes
JOI 2010/2011 ジョイッター · JCIOI · CC BY-SA 4.0
Tags
No tags yet