結果
| 問題 | No.1716 Bonus Nim |
| ユーザー |
|
| 提出日時 | 2022-02-08 10:40:58 |
| 言語 | Python3 (3.15.2 + numpy 2.5.4 + scipy 1.18.1 + ACL) |
| 結果 |
AC
不安定
|
| 実行時間 | 1,828 ms / 2,000 ms |
| + 433µs | |
| コード長 | 221 bytes |
| 記録 | |
| コンパイル時間 | 54 ms |
| コンパイル使用メモリ | 14,720 KB |
| 実行使用メモリ | 54,668 KB |
| 最終ジャッジ日時 | 2026-10-28 04:57:00 |
| 合計ジャッジ時間 | 8,539 ms |
|
ジャッジサーバーID (参考情報) |
judge5_0 / judge3_0 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 1 |
| other | AC * 27 |
ソースコード
#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')