結果

問題 No.2813 Cookie
ユーザー usatyo
提出日時 2024-07-19 22:51:48
言語 PyPy3
(7.3.15)
結果
WA  
実行時間 -
コード長 226 bytes
コンパイル時間 171 ms
コンパイル使用メモリ 82,048 KB
実行使用メモリ 77,056 KB
最終ジャッジ日時 2024-07-19 22:51:52
合計ジャッジ時間 3,890 ms
ジャッジサーバーID
(参考情報)
judge5 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 1
other AC * 5 WA * 25
権限があれば一括ダウンロードができます

ソースコード

diff #

t = int(input())
for _ in range(t):
    n = int(input())
    a = list(map(int, input().split()))

    val = 0

    for i in range(n):
        val ^= a[i]

    if val == 0:
        print("Bob")
    else:
        print("Alice")
0