あみだくじ
UnratedLanguage limit
日本語
Language
Contribute a translation- Time limit
- 1000 ms
- Memory limit
- 64 MB (no extra memory)
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 5 7 2 20 80 100 50 1 1 2 6 2 3 1 5 3 1
Sample output 1
100
Sample input 2
2 2 5 1 10 20 1 1 1 3
Sample output 2
10
Notes
原典:JOI 2008/2009 本選、情報オリンピック日本委員会。CC BY-SA 4.0。
Tags
No tags yet
Source
This problem accepts only these languages.
C++20