結果
| 問題 | No.2 素因数ゲーム |
| コンテスト | |
| ユーザー |
tookunn_1213
|
| 提出日時 | 2016-08-23 14:08:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
TLE
|
| 実行時間 | - |
| コード長 | 161 bytes |
| コンパイル時間 | 233 ms |
| コンパイル使用メモリ | 12,288 KB |
| 実行使用メモリ | 15,488 KB |
| 最終ジャッジ日時 | 2024-11-07 23:20:42 |
| 合計ジャッジ時間 | 9,047 ms |
|
ジャッジサーバーID (参考情報) |
judge4 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| other | AC * 19 TLE * 1 -- * 11 |
ソースコード
N = int(input())
ans = 0
i = 2
while i <= N:
c = 0
if N < i:
break
while N % i == 0:
c+=1
N /= i
ans ^= c
i += 1
print('Bob' if ans == 0 else 'Alice')
tookunn_1213