Ancient Books
UnratedFunction
English
Language
Contribute a translation- Time limit
- 2000 ms
- Memory limit
- 1024 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
4 0 0 2 3 1
Sample output 1
6
Tags
No tags yet
Source
This problem accepts only these languages.
C++20