とてもたのしいたのしい家庭菜園 (Growing Vegetables is Fun 5)
Unrated
日本語
Language
Contribute a translation- Time limit
- 5000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
2 1 2 6 3 2 5 4 3
Sample output 1
2
Sample input 2
9 1 2 3 4 5 6 7 8 9 18 17 16 15 14 13 12 11 10 2 7 4 1 7 6 4 10 6 6 8 9 3 7 1 9 5 4
Sample output 2
8
Sample input 3
7 13 16 18 18 21 22 22 23 23 21 19 17 15 14 14 14 20 19 22 17 25 24 15 18 25 24 19 11
Sample output 3
3
Notes
JOI 2023/2024 とてもたのしいたのしい家庭菜園 · JCIOI · CC BY-SA 4.0
Tags
No tags yet