結果

問題 No.537 ユーザーID
ユーザー maguroguma
提出日時 2017-08-19 19:26:28
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 306 ms / 2,000 ms
コード長 237 bytes
コンパイル時間 126 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 11,392 KB
最終ジャッジ日時 2024-10-14 15:49:38
合計ジャッジ時間 5,353 ms
ジャッジサーバーID
(参考情報)
judge2 / judge4
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 32
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-

N = int(input())

i = 1
ans = {}
while i*i<=N:
    if N%i==0:
        q = N//i
        id_1 = str(i) + str(q)
        id_2 = str(q) + str(i)
        ans[id_1] = 1
        ans[id_2] = 1
    i += 1

print(len(ans))
0