Dasha and Puzzle
761E2000· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
71 21 32 42 53 63 7
Output
YES0 01 00 12 01 -1-1 10 2
Sample 2of 3
Input
61 22 32 42 52 6
Output
NO
Sample 3of 3
Input
41 22 33 4
Output
YES3 34 35 36 3
58%
761E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…