’S No Problem
Unrated
English
Language
Contribute a translation- Time limit
- 3000 ms
- Memory limit
- 2048 MB (no extra memory)
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
7 1 4 2 2 4 3 3 4 1 4 5 1 5 6 2 5 7 4
Sample output 1
15
Sample input 2
4 1 2 1 2 3 2 3 4 3
Sample output 2
6
Tags
No tags yet