现在 Alice 和 Bob 轮流操作,他们都会采取最优策略,问谁能赢?Alice 先手。有组数据。
The first line contains a integer, the number of test cases.
For each test case, the first line contains a integer, denoting the number of nodes.
Each of the nextlines contains two integers. The
-th line describes the
-th edge containing two integers
and
, indicating the nodes connected by the
-th edge.
It is guaranteed that the sum of allamong a single test file is not greater than
.
第一行一个正整数,表示数据组数。
对于每组数据,第一行一个整数。
接下来行,每行两个整数
和
,描述一条树边。
题目保证,所有数据的的和不超过
.
For each testcase, output a line consisting of a single stringor
, representing the name of the winner.
对于每组数据,输出一行一个字符串表示答案。如果 Alice 能赢,输出,如果 Bob 能赢,输出
.