cf/mirror

Math Problem

CF
1227A1100· newbie2s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 1
Input
4
3
4 5
5 9
7 7
5
11 19
4 17
16 16
3 12
14 17
1
1 10
1
1 1
Output
2
4
0
0
1227A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)