結果
| 問題 |
No.537 ユーザーID
|
| コンテスト | |
| ユーザー |
foumi
|
| 提出日時 | 2019-04-23 09:43:29 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 207 bytes |
| コンパイル時間 | 331 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,752 KB |
| 最終ジャッジ日時 | 2024-10-13 05:42:43 |
| 合計ジャッジ時間 | 6,963 ms |
|
ジャッジサーバーID (参考情報) |
judge3 / judge2 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 19 WA * 13 |
ソースコード
import math
n = int(input())
list = []
i = 1
while i <= math.sqrt(n):
if n % i == 0:
list.append(i)
i += 1
if math.sqrt(n) in list:
print(len(list) * 2 - 1)
else:
print(len(list) * 2)
foumi