Nastia and a Hidden Permutation
1521C2000· candidate master3s256 MB⇄ interactive
Examples
Sample 1of 1
Input
243253
Output
? 2 4 1 3? 1 2 4 2! 3 1 4 2? 2 3 4 2! 2 5 3 4 1
58%
1521C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
243253
? 2 4 1 3? 1 2 4 2! 3 1 4 2? 2 3 4 2! 2 5 3 4 1