cf/mirror

Parade

CF
733B1100· newbie1s256 MB⌨ stdin/stdout
#math

Examples

Sample 1of 3
Input
3
5 6
8 9
10 3
Output
3
Sample 2of 3
Input
2
6 5
5 6
Output
1
Sample 3of 3
Input
6
5 9
1 3
4 8
4 5
23 54
12 32
Output
0
733B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)