cf/mirror

Maximize the Intersections

CF
1552C1800· expert1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
4 2
8 2
1 5
1 1
2 1
2 0
10 6
14 6
2 20
9 10
13 18
15 12
11 7
Output
4
0
1
14
1552C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)