cf/mirror

Progressive Square

CF
1955B1000· newbie2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
5
3 2 3
3 9 6 5 7 1 10 4 8
3 2 3
3 9 6 5 7 1 11 4 8
2 100 100
400 300 400 500
3 2 3
3 9 6 6 5 1 11 4 8
4 4 4
15 27 7 19 23 23 11 15 7 3 19 23 11 15 11 15
Output
NO
YES
YES
NO
NO
1955B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)