結果
| 問題 |
No.2813 Cookie
|
| コンテスト | |
| ユーザー |
rlangevin
|
| 提出日時 | 2024-07-19 22:03:28 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 228 bytes |
| コンパイル時間 | 158 ms |
| コンパイル使用メモリ | 82,176 KB |
| 実行使用メモリ | 76,544 KB |
| 最終ジャッジ日時 | 2024-07-19 22:03:34 |
| 合計ジャッジ時間 | 3,638 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge5 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 4 WA * 26 |
ソースコード
import sys
input = sys.stdin.readline
T = int(input())
for _ in range(T):
N = int(input())
A = list(map(int, input().split()))
v = 0
for a in A:
v ^= (a % 2) + 1
print("Alice") if v else print("Bob")
rlangevin