Inversion Composition
1951F2500· grandmaster2s256 MB⌨ stdin/stdout
Examples
Sample 1of 1
Input
53 42 3 15 52 3 5 1 46 115 1 2 3 4 69 513 1 4 2 5 6 7 8 91 01
Output
YES3 2 1NONOYES1 5 9 8 7 6 4 3 2YES1
58%
1951F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)