cf/mirror

Covered Points

CF
1036E2400· grandmaster2s256 MB⌨ stdin/stdout

Examples

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