cf/mirror

Minimal Square

CF
1360A800· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
8
3 2
4 2
1 1
3 1
4 7
1 3
7 4
100 100
Output
16
16
4
9
64
9
64
40000
1360A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)