結果
| 問題 |
No.888 約数の総和
|
| コンテスト | |
| ユーザー |
Ohnuma
|
| 提出日時 | 2020-04-10 15:32:39 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
AC
|
| 実行時間 | 134 ms / 2,000 ms |
| コード長 | 205 bytes |
| コンパイル時間 | 328 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 11,008 KB |
| 最終ジャッジ日時 | 2024-09-15 03:11:59 |
| 合計ジャッジ時間 | 3,569 ms |
|
ジャッジサーバーID (参考情報) |
judge6 / judge4 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 30 |
ソースコード
def f(x):
ret = []
for i in range(1, int(x**0.5)+1):
if x%i==0:
ret.append(i)
if i!=x//i:
ret.append(x//i)
return sum(ret)
print(f(int(input())))
Ohnuma