cf/mirror

Exact Neighbours (Easy)

CF
1970B11900· candidate master2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
4
0 4 2 4
Output
YES
4 4
1 3
2 4
3 1
1 1 1 3
1970B1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)