三段跳び (Triple Jump)
Unrated
日本語
Language
Contribute a translation- Time limit
- 10000 ms
- Memory limit
- 512 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
5 5 2 1 5 3 3 1 4 2 5 1 5
Sample output 1
12 9 12
Sample input 2
5 5 4 4 5 4 1 1 5
Sample output 2
14
Sample input 3
15 12 96 100 61 54 66 37 34 58 21 21 1 13 50 81 12 1 15 3 12 11 14 1 13 5 9 4 6 6 14 2 5 4 15 1 7 1 10 8 13
Sample output 3
277 227 72 262 178 181 174 257 208 262 262 113
Notes
JOI Open Contest 2019 · JCIOI · CC BY-SA 4.0
Tags
No tags yet