結果
| 問題 |
No.888 約数の総和
|
| コンテスト | |
| ユーザー |
|
| 提出日時 | 2019-10-18 16:26:48 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 172 bytes |
| コンパイル時間 | 209 ms |
| コンパイル使用メモリ | 12,544 KB |
| 実行使用メモリ | 17,572 KB |
| 最終ジャッジ日時 | 2024-06-25 14:34:45 |
| 合計ジャッジ時間 | 5,014 ms |
|
ジャッジサーバーID (参考情報) |
judge5 / judge3 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 2 WA * 1 |
| other | WA * 15 TLE * 1 -- * 14 |
ソースコード
N = int(input())
ans = 0
for x in range(1, N // 2):
if N % x == 0:
if N // x == x:
ans += x
else:
ans += x + N // x
print(ans)