The hat
1019B2000· candidate master1s256 MB⇄ interactive
Examples
Sample 1of 2
Input
822
Output
? 4? 8! 4
Sample 2of 2
Input
6123210
Output
? 1? 2? 3? 4? 5? 6! -1
58%
1019B.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
822
? 4? 8! 4
6123210
? 1? 2? 3? 4? 5? 6! -1