結果

問題 No.537 ユーザーID
ユーザー Dexctersu
提出日時 2017-12-10 18:37:39
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 399 ms / 2,000 ms
コード長 242 bytes
コンパイル時間 83 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 11,648 KB
最終ジャッジ日時 2024-11-30 11:20:37
合計ジャッジ時間 6,697 ms
ジャッジサーバーID
(参考情報)
judge1 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
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):
        
        j=n//i
        if n%i==0:
            ans.add(str(i)+str(j))
            ans.add((str(j)+str(i)))
    print(len(ans))
0