結果

問題 No.2 素因数ゲーム
ユーザー tookunn_1213
提出日時 2016-08-23 14:10:01
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 159 bytes
コンパイル時間 370 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,624 KB
最終ジャッジ日時 2024-11-07 23:20:45
合計ジャッジ時間 2,078 ms
ジャッジサーバーID
(参考情報)
judge2 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
other AC * 13 WA * 18
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
ans = 0
i = 2
while i * i <= N:
	c = 0
	while N % i == 0:
		c+=1
		N /= i
	if(N > 0):
		ans ^= c
	i += 1
print('Bob' if ans == 0 else 'Alice')
0