結果
| 問題 | No.537 ユーザーID | 
| コンテスト | |
| ユーザー |  mnr | 
| 提出日時 | 2020-03-04 21:58:28 | 
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) | 
| 結果 | 
                                WA
                                 
                             | 
| 実行時間 | - | 
| コード長 | 276 bytes | 
| コンパイル時間 | 83 ms | 
| コンパイル使用メモリ | 12,672 KB | 
| 実行使用メモリ | 11,392 KB | 
| 最終ジャッジ日時 | 2024-10-14 00:33:33 | 
| 合計ジャッジ時間 | 4,065 ms | 
| ジャッジサーバーID (参考情報) | judge4 / judge5 | 
(要ログイン)
| ファイルパターン | 結果 | 
|---|---|
| sample | AC * 3 | 
| other | AC * 19 WA * 13 | 
ソースコード
import math
N = int(input())
m = math.sqrt(N)
n = math.floor(m)
L = []
for i in range(1,n+1):
    if N % i == 0:
        L.append([i,int(N/i)])
cnt = 0
for i in range(len(L)):
    if L[i][0] == L[i][1]:
        cnt += 1
    elif L[i][0] != L[i][1]:
        cnt += 2
print(cnt)
            
            
            
        