Restoring Increasing Sequence
490E2000· candidate master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 3
Input
3?181?
Output
YES11819
Sample 2of 3
Input
2???
Output
NO
Sample 3of 3
Input
51222412??512226?0000?00000
Output
YES12224122251222620000100000
58%
490E.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)