結果
| 問題 |
No.103 素因数ゲーム リターンズ
|
| コンテスト | |
| ユーザー |
とりゐ
|
| 提出日時 | 2022-01-03 23:19:48 |
| 言語 | PyPy3 (7.3.15) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 244 bytes |
| コンパイル時間 | 201 ms |
| コンパイル使用メモリ | 82,048 KB |
| 実行使用メモリ | 58,496 KB |
| 最終ジャッジ日時 | 2024-10-13 12:07:09 |
| 合計ジャッジ時間 | 2,075 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 12 WA * 8 |
ソースコード
n=int(input())
xor=0
m=list(map(int,input().split()))
for i in m:
tmp=i
for j in range(2,i):
if tmp%j==0:
cnt=0
while tmp%i==0:
cnt+=1
tmp//=i
xor^=cnt%3
if xor==0:
print('Bob')
else:
print('Alice')
とりゐ