結果

問題 No.537 ユーザーID
ユーザー Dexctersu
提出日時 2017-12-10 18:40:15
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 206 ms / 2,000 ms
コード長 256 bytes
コンパイル時間 103 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-11-30 11:20:21
合計ジャッジ時間 4,344 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

import math
n=int(input())
ans=set()
if n==1:
    print(1)
else:
    for i in range(1,int(math.sqrt(n))+1):
        
        
        if n%i==0:
            j=n//i
            ans.add(str(i)+str(j))
            ans.add((str(j)+str(i)))
    print(len(ans))
0