結果
問題 |
No.537 ユーザーID
|
ユーザー |
|
提出日時 | 2020-10-21 10:12:32 |
言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
結果 |
AC
|
実行時間 | 204 ms / 2,000 ms |
コード長 | 284 bytes |
コンパイル時間 | 249 ms |
コンパイル使用メモリ | 12,544 KB |
実行使用メモリ | 11,776 KB |
最終ジャッジ日時 | 2024-07-21 08:48:34 |
合計ジャッジ時間 | 4,458 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 32 |
ソースコード
from math import sqrt N = int(input()) count = 0 sList = [] for i in range(1,int(sqrt(N))+1): if N%i == 0: s1 = str(i)+str(N//i) s2 = str(N//i)+str(i) sList.append(s1) sList.append(s2) sSetList = list(set(sList)) count = len(sSetList) print(count)