結果
| 問題 |
No.888 約数の総和
|
| コンテスト | |
| ユーザー |
67oYG9nh2YMmIci
|
| 提出日時 | 2020-07-21 18:52:30 |
| 言語 | Python3 (3.13.1 + numpy 2.2.1 + scipy 1.14.1) |
| 結果 |
WA
|
| 実行時間 | - |
| コード長 | 149 bytes |
| コンパイル時間 | 568 ms |
| コンパイル使用メモリ | 12,416 KB |
| 実行使用メモリ | 10,624 KB |
| 最終ジャッジ日時 | 2024-12-30 11:42:13 |
| 合計ジャッジ時間 | 5,513 ms |
|
ジャッジサーバーID (参考情報) |
judge2 / judge1 |
(要ログイン)
| ファイルパターン | 結果 |
|---|---|
| sample | AC * 3 |
| other | AC * 16 WA * 14 |
ソースコード
N=int(input())
sum=0
s=int((N**0.5))
for i in range(1,s+1):
if N==1:
sum+=1
break
if N%i==0:
sum+=(i+N//i)
print(sum)
67oYG9nh2YMmIci