結果
| 問題 | No.1716 Bonus Nim |
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2022-02-08 10:40:58 |
| 言語 | Python3 (3.14.3 + numpy 2.4.2 + scipy 1.17.0) |
| 結果 |
AC
|
| 実行時間 | 1,357 ms / 2,000 ms |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 518 ms |
| コンパイル使用メモリ | 20,824 KB |
| 実行使用メモリ | 59,344 KB |
| 最終ジャッジ日時 | 2026-03-07 18:28:31 |
| 合計ジャッジ時間 | 9,097 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 26 |
ソースコード
#yuki1716
from collections import Counter
t=int(input())
for i in range(t):
n=int(input())
a=list(map(int,input().split()))
c=Counter(a)
for v in c.values():
if v%2:
print('Alice')
break
else:
print('Bob')