結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  nohakai3 | 
| 提出日時 | 2022-08-02 11:07:54 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 460 bytes | 
| コンパイル時間 | 313 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 11,136 KB | 
| 最終ジャッジ日時 | 2024-07-23 03:57:47 | 
| 合計ジャッジ時間 | 5,028 ms | 
| ジャッジサーバーID (参考情報) | judge1 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 19 WA * 13 | 
ソースコード
def make_divisors(n):
    lower_divisors , upper_divisors = [], []
    i = 1
    while i*i <= n:
        if n % i == 0:
            lower_divisors.append(i)
            if i != n // i:
                upper_divisors.append(n//i)
        i += 1
    return lower_divisors + upper_divisors[::-1]
n=int(input())
l=make_divisors(n)
ans=0
l2,l3=[],[]
for x in l:
    if str(x)!=str(n//x):
        l2.append(x)
    else: l3.append(str(x))
    
print(len(l2)+len(l3))
            
            
            
        