Game on Tree (Hard)
1970C31900· candidate master1s256 MB⌨ stdin/stdout
Examples
Sample 1of 2
Input
5 21 21 33 43 51 2
Output
RonRon
Sample 2of 2
Input
6 31 22 31 44 54 61 4 6
Output
HermioneRonHermione
58%
1970C3.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…