cf/mirror

Splitting the Uniqueness

CF
297C2400· grandmaster1s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
6
12 5 8 3 11 9
Output
YES
6 2 6 0 2 4
6 3 2 3 9 5
297C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)