cf/mirror

Bicycle Race

CF
659D1500· specialist1s256 MB⌨ stdin/stdout

Examples

Sample 1of 2
Input
6
0 0
0 1
1 1
1 2
2 2
2 0
0 0
Output
1
Sample 2of 2
Input
16
1 1
1 5
3 5
3 7
2 7
2 9
6 9
6 7
5 7
5 3
4 3
4 4
3 4
3 2
5 2
5 1
1 1
Output
6
659D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)