Tree and Permutation Game
1659F3000· legendary gm1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2multi-test • hover to link
Input
36 31 33 24 33 65 32 1 3 6 4 53 21 23 21 3 23 21 23 21 2 3
Output
AliceBobAlice
Sample 2of 2multi-test • hover to link
Input
111 43 115 910 34 82 41 86 88 74 55 117 4 9 8 6 5 11 10 2 3 1
Output
Alice
58%
1659F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…