cf/mirror

Pairs of Segments

CF
1841D2000· candidate master4s512 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
7
2 4
9 12
2 4
7 7
4 8
10 13
6 8
5
2 2
2 8
0 10
1 2
5 6
4
1 1
2 2
3 3
4 4
Output
1
3
4
1841D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)