結果

問題 No.537 ユーザーID
ユーザー Konton7
提出日時 2020-03-08 00:39:45
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
WA  
実行時間 -
コード長 238 bytes
コンパイル時間 194 ms
コンパイル使用メモリ 12,416 KB
実行使用メモリ 10,752 KB
最終ジャッジ日時 2024-10-15 14:31:54
合計ジャッジ時間 3,954 ms
ジャッジサーバーID
(参考情報)
judge4 / judge2
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 3
other AC * 25 WA * 7
権限があれば一括ダウンロードができます

ソースコード

diff #

ans = 0
n = int(input())
for i in range(1, int((n+1)**0.5+1)):
    if n % i == 0:
        s = str(i) + str(n // i)
        if str(i) + str(n // i) == str(n // i) + str(i):
            ans += 1
        else:
            ans += 2
print(ans)
0