結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 11 ms
6,040 KB
testcase_01 AC 12 ms
6,152 KB
testcase_02 AC 12 ms
6,140 KB
testcase_03 AC 12 ms
6,016 KB
testcase_04 AC 12 ms
6,184 KB
testcase_05 AC 36 ms
9,396 KB
testcase_06 AC 2,633 ms
398,644 KB
testcase_07 AC 3,015 ms
454,864 KB
testcase_08 AC 2,756 ms
415,052 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):
    cnt=0
    while n%i==0:
        n/=i
        cnt+=1
    r^=cnt
print "Alice" if r>0 else "Bob"
0