結果

問題 No.537 ユーザーID
ユーザー gimgim
提出日時 2017-07-07 14:38:11
言語 Python2
(2.7.18)
結果
WA  
実行時間 -
コード長 188 bytes
コンパイル時間 841 ms
コンパイル使用メモリ 7,040 KB
実行使用メモリ 6,400 KB
最終ジャッジ日時 2024-04-16 01:15:36
合計ジャッジ時間 3,834 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 12 ms
6,272 KB
testcase_01 AC 11 ms
6,144 KB
testcase_02 AC 12 ms
6,272 KB
testcase_03 AC 12 ms
6,272 KB
testcase_04 AC 11 ms
6,272 KB
testcase_05 AC 11 ms
6,272 KB
testcase_06 WA -
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 11 ms
6,272 KB
testcase_10 AC 12 ms
6,272 KB
testcase_11 AC 11 ms
6,144 KB
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 WA -
testcase_17 WA -
testcase_18 AC 144 ms
6,272 KB
testcase_19 AC 190 ms
6,400 KB
testcase_20 AC 164 ms
6,272 KB
testcase_21 AC 110 ms
6,272 KB
testcase_22 AC 182 ms
6,400 KB
testcase_23 AC 107 ms
6,144 KB
testcase_24 AC 40 ms
6,400 KB
testcase_25 AC 179 ms
6,272 KB
testcase_26 AC 195 ms
6,272 KB
testcase_27 AC 147 ms
6,272 KB
testcase_28 AC 78 ms
6,144 KB
testcase_29 AC 193 ms
6,272 KB
testcase_30 AC 159 ms
6,400 KB
testcase_31 WA -
testcase_32 WA -
testcase_33 WA -
testcase_34 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(raw_input())
num1=1
cnt=0
while num1*num1<=N:
    if N%num1==0:
        num2=N/num1
        if num1!=num2:
            cnt+=2
        else:
            cnt+=1
    num1+=1

print cnt
0