結果
| 問題 | No.2 素因数ゲーム |
| コンテスト | |
| ユーザー |
こる
|
| 提出日時 | 2017-01-04 02:34:16 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 218 bytes |
| 記録 | |
| コンパイル時間 | 351 ms |
| コンパイル使用メモリ | 20,956 KB |
| 実行使用メモリ | 295,868 KB |
| 最終ジャッジ日時 | 2026-05-26 11:32:12 |
| 合計ジャッジ時間 | 9,985 ms |
|
ジャッジサーバーID (参考情報) |
judge1_0 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 TLE * 1 -- * 11 |
ソースコード
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")
こる