cf/mirror

Square?

CF
2167A800· newbie1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
7
1 2 3 4
1 1 1 1
2 2 2 2
1 2 1 2
1 1 5 5
5 5 5 5
4 10 5 9
Output
NO
YES
YES
NO
NO
YES
NO
2167A.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)