結果
問題 |
No.888 約数の総和
|
ユーザー |
![]() |
提出日時 | 2019-09-20 22:35:01 |
言語 | PyPy3 (7.3.15) |
結果 |
WA
|
実行時間 | - |
コード長 | 173 bytes |
コンパイル時間 | 203 ms |
コンパイル使用メモリ | 82,304 KB |
実行使用メモリ | 58,624 KB |
最終ジャッジ日時 | 2024-09-14 18:31:08 |
合計ジャッジ時間 | 2,691 ms |
ジャッジサーバーID (参考情報) |
judge2 / judge4 |
(要ログイン)
ファイルパターン | 結果 |
---|---|
sample | AC * 3 |
other | AC * 15 WA * 15 |
ソースコード
import math n = int(input()) divnum = [] for i in range(1, int(math.sqrt(n))+1): if n % i == 0: divnum.append(i) divnum.append(n//i) print(sum(divnum))