結果
| 問題 | No.537 ユーザーID |
| コンテスト | |
| ユーザー |
yurara
|
| 提出日時 | 2019-06-09 15:36:22 |
| 言語 | Python3 (3.14.3 + numpy 2.4.4 + scipy 1.17.1) |
| 結果 |
AC
|
| 実行時間 | 147 ms / 2,000 ms |
| コード長 | 326 bytes |
| 記録 | |
| コンパイル時間 | 521 ms |
| コンパイル使用メモリ | 20,696 KB |
| 実行使用メモリ | 15,708 KB |
| 最終ジャッジ日時 | 2026-04-21 08:25:43 |
| 合計ジャッジ時間 | 5,661 ms |
|
ジャッジサーバーID (参考情報) |
judge1_1 / judge3_1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 32 |
ソースコード
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())
s = set()
for n in divisors(N):
s.add(str(n) + str(N // n))
print(len(s))
yurara