cf/mirror

Adventurers

CF
2046C2100· master3s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
4
1 1
1 2
2 1
2 2
4
0 0
0 0
0 0
0 0
8
1 2
2 1
2 -1
1 -2
-1 -2
-2 -1
-2 1
-1 2
7
1 1
1 2
1 3
1 4
2 1
3 1
4 1
Output
1
2 2
0
0 0
2
1 0
0
0 0
2046C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)