結果

問題 No.537 ユーザーID
ユーザー cleantted
提出日時 2017-06-30 22:47:13
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 298 bytes
コンパイル時間 95 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,440 KB
最終ジャッジ日時 2024-10-04 20:45:41
合計ジャッジ時間 4,225 ms
ジャッジサーバーID
(参考情報)
judge5 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 7 WA * 9 TLE * 1 -- * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
dic = {}
for i in range(2, int(N/2) + 1):
    if N % i == 0:
        N = N // i
        c = 1
        while N % i == 0:
            N = N//i
            c += 1
        dic[i] = c
    if N == 1:
        break

ans = 1
for i in list(dic.values()):
    ans = ans * (i + 1)
print(ans)
0