ストラップ (Straps)
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
5 0 4 2 -2 1 -1 0 1 0 3
Sample output 1
5
Sample input 2
6 2 -3 3 -1 0 -4 0 -2 1 -3 4 -1
Sample output 2
0
Sample input 3
15 1 -4034 1 3406 0 6062 4 -6824 0 9798 0 4500 0 -1915 1 2137 0 9786 0 7330 0 -9365 2 2730 0 -5797 0 6129 0 8925
Sample output 3
43417
Notes
JOI 2013/2014 ストラップ (Straps) · JCIOI · CC BY-SA 4.0
Tags
No tags yet