本棚 (Bookshelf)
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
4 1 6 4 3 3 4 2 1
Sample output 1
14
Notes
JOI 2010/2011 本棚 · JCIOI · CC BY-SA 4.0
Tags
No tags yet