cf/mirror

Game in Tree (Hard Version)

CF
2013F23500· legendary gm4s256 MB⌨ stdin/stdout

Examples

Sample 1of 1
Input
3
3
1 2
2 3
2 3
6
1 2
1 3
2 4
2 5
1 6
4 5
4
1 2
1 3
2 4
2 4
Output
Bob
Alice
Alice
Bob
Alice
Bob
Alice
2013F2.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)
loading graph engine…