結果
| 問題 | No.103 素因数ゲーム リターンズ |
| コンテスト | |
| ユーザー |
とりゐ
|
| 提出日時 | 2022-01-03 23:20:31 |
| 言語 | PyPy3 (7.3.17) |
| 結果 |
AC
|
| 実行時間 | 42 ms / 5,000 ms |
| コード長 | 246 bytes |
| 記録 | |
| コンパイル時間 | 188 ms |
| コンパイル使用メモリ | 85,504 KB |
| 実行使用メモリ | 58,496 KB |
| 最終ジャッジ日時 | 2026-04-30 21:49:59 |
| 合計ジャッジ時間 | 2,514 ms |
|
ジャッジサーバーID (参考情報) |
judge3_1 / judge2_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 5 |
| other | AC * 20 |
ソースコード
n=int(input())
xor=0
m=list(map(int,input().split()))
for i in m:
tmp=i
for j in range(2,i+1):
if tmp%j==0:
cnt=0
while tmp%j==0:
cnt+=1
tmp//=j
xor^=cnt%3
if xor==0:
print('Bob')
else:
print('Alice')
とりゐ