Skip to content

Seeing the Boundary

UnratedLanguage limit
English

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

Seeing the Boundary

Seeing the Boundary

Examples

Sample input 1
100 1
60 50
5
70 40
75 40
80 40
80 50
70 60
Sample output 1
319

Tags

No tags yet

Source

This problem accepts only these languages.

C++20