/* -*- coding: utf-8 -*- * * 2813.cc: No.2813 Cookie - yukicoder */ #include #include using namespace std; /* constant */ const int MAX_N = 200000; /* typedef */ /* global variables */ int as[MAX_N]; /* subroutines */ /* main */ int main() { int tn; scanf("%d", &tn); while (tn--) { int n; scanf("%d", &n); for (int i = 0; i < n; i++) scanf("%d", as + i); sort(as, as + n); bool ok = true; for (int i = 0; ok && i < n;) { int j = i; while (i < n && as[j] == as[i]) i++; if ((i - j) & 1) ok = false; } if (! ok) puts("Alice"); else puts("Bob"); } return 0; }