cf/mirror

Very simple problem

CF
55E2500· grandmaster3s256 MB⌨ stdin/stdout

Examples

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