Exact Neighbours (Medium)
1970B22100· master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
40 4 2 4
Output
YES4 41 32 43 11 1 1 3
Sample 2of 2
Input
40 1 3 1
Output
YES1 12 14 13 11 1 1 3
58%
1970B2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)