Overtaking
UnratedFunction
English
Language
Contribute a translation- Time limit
- 2500 ms
- Memory limit
- 2048 MB
- Submissions
- 0
- Correct
- 0
- Solved by
- 0
- AC rate
- —
Statement
Examples
Sample input 1
6 4 10 4 2 20 10 40 0 5 20 20 30 0 1 3 6 0 50
Sample output 1
60 130
Tags
No tags yet
Source
This problem accepts only these languages.
C++20