Permutation Game
1033C1600· expert1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
83 6 5 4 2 7 1 8
Output
BAAAABAB
Sample 2of 2
Input
153 11 2 5 10 9 7 13 15 8 4 12 6 1 14
Output
ABAAAABBBAABAAB
58%
1033C.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)