結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
yurara
|
| 提出日時 | 2019-06-09 15:30:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 271 bytes |
| コンパイル時間 | 359 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-10-06 00:06:45 |
| 合計ジャッジ時間 | 3,571 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
import math
def divisors(n):
lst = []
for i in range(1, int(math.sqrt(n)) + 1):
if n % i == 0:
lst.append(i)
if i != n // i:
lst.append(n // i)
lst.sort()
return lst
N = int(input())
print(len(divisors(N)))
yurara