結果
問題 |
No.2813 Cookie
|
ユーザー |
|
提出日時 | 2024-07-19 22:22:52 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 476 bytes |
コンパイル時間 | 202 ms |
コンパイル使用メモリ | 82,176 KB |
実行使用メモリ | 90,496 KB |
最終ジャッジ日時 | 2024-07-19 22:23:00 |
合計ジャッジ時間 | 6,236 ms |
ジャッジサーバーID (参考情報) |
judge3 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | WA * 1 |
other | AC * 5 WA * 25 |
ソースコード
import collections,sys,math,functools,operator,itertools,bisect,heapq,decimal,string,time,random #sys.setrecursionlimit(10**9) #sys.set_int_max_str_digits(0) #input = sys.stdin.readline #n = int(input()) # #alist = [] #s = input() input = sys.stdin.readline t = int(input()) for i in range(t): n = int(input()) a = list(map(int,input().split())) cnt = 0 for j in a: cnt ^= (j)//2 if cnt == 0: print('Bob') else: print('Alice')