cf/mirror

Median Maximization

CF
1566A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
8
1 5
2 5
3 5
2 1
7 17
4 14
1 1000000000
1000000000 1
Output
5
2
2
0
4
4
1000000000
0
1566A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)