結果

問題 No.2 素因数ゲーム
ユーザー gigurururugigurururu
提出日時 2014-11-04 14:07:41
言語 Python2
(2.7.18)
結果
MLE  
実行時間 -
コード長 162 bytes
コンパイル時間 610 ms
コンパイル使用メモリ 6,700 KB
実行使用メモリ 814,972 KB
最終ジャッジ日時 2023-08-29 00:32:00
合計ジャッジ時間 4,213 ms
ジャッジサーバーID
(参考情報)
judge12 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
5,972 KB
testcase_01 AC 12 ms
6,044 KB
testcase_02 AC 11 ms
5,980 KB
testcase_03 AC 11 ms
6,156 KB
testcase_04 AC 12 ms
6,128 KB
testcase_05 AC 15 ms
9,384 KB
testcase_06 AC 481 ms
398,640 KB
testcase_07 AC 528 ms
456,336 KB
testcase_08 AC 991 ms
415,048 KB
testcase_09 MLE -
testcase_10 -- -
testcase_11 -- -
testcase_12 -- -
testcase_13 -- -
testcase_14 -- -
testcase_15 -- -
testcase_16 -- -
testcase_17 -- -
testcase_18 -- -
testcase_19 -- -
testcase_20 -- -
testcase_21 -- -
testcase_22 -- -
testcase_23 -- -
testcase_24 -- -
testcase_25 -- -
testcase_26 -- -
testcase_27 -- -
testcase_28 -- -
testcase_29 -- -
testcase_30 -- -
権限があれば一括ダウンロードができます

ソースコード

diff #

n=input()
r=0
for i in range(2,n+1):
    if n==1:break
    cnt=0
    while n%i==0:
        n/=i
        cnt+=1
    r^=cnt
print "Alice" if r>0 else "Bob"
0