結果
| 問題 | No.2 素因数ゲーム |
| コンテスト | |
| ユーザー |
こる
|
| 提出日時 | 2017-01-04 02:34:16 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 122 ms |
| コンパイル使用メモリ | 12,672 KB |
| 実行使用メモリ | 191,976 KB |
| 最終ジャッジ日時 | 2024-12-16 06:48:29 |
| 合計ジャッジ時間 | 23,722 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 28 TLE * 3 |
ソースコード
n=int(input())
root=n
i=2
dabri=False
sum=[]
while n!=1:
count=0
while n%i==0:
count+=1
n/=i
sum.append(count)
i+=1
temp=0
for i in sum:
temp^=i
print("Bob" if temp==0 else "Alice")
こる