cf/mirror

Game in Tree (Easy Version)

CF
2013F12700· international gm4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1multi-test • hover to link
Input
3
3
1 2
2 3
2 2
3
1 2
2 3
3 3
6
1 2
1 3
2 4
2 5
1 6
4 4
Output
Bob
Alice
Alice
2013F1.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…