cf/mirror

Renako Amaori and XOR Game (hard version)

CF
2171C21400· specialist2s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
6
4
1 4 6 1
3 2 3 7
6
20 11 1 7 7 0
14 8 3 6 17 6
4
2 6 3 6
3 4 7 1
5
1 4 5 5 3
6 7 1 2 13
6
9 5 9 17 17 6
1 13 6 13 1 15
5
2 3 8 1 5
3 1 6 14 7
Output
Mai
Ajisai
Tie
Ajisai
Mai
Tie
2171C2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)