cf/mirror

Searchlights

CF
1408D2000· candidate master1s256 MB⌨ stdin/stdout

Examples

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