結果

問題 No.888 約数の総和
ユーザー 67oYG9nh2YMmIci67oYG9nh2YMmIci
提出日時 2020-07-21 18:51:34
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
WA  
実行時間 -
コード長 107 bytes
コンパイル時間 642 ms
コンパイル使用メモリ 10,448 KB
実行使用メモリ 7,988 KB
最終ジャッジ日時 2023-08-28 21:54:50
合計ジャッジ時間 4,386 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 16 ms
7,848 KB
testcase_01 AC 15 ms
7,868 KB
testcase_02 AC 16 ms
7,852 KB
testcase_03 WA -
testcase_04 AC 15 ms
7,864 KB
testcase_05 WA -
testcase_06 AC 16 ms
7,844 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 16 ms
7,836 KB
testcase_10 WA -
testcase_11 AC 15 ms
7,840 KB
testcase_12 AC 15 ms
7,872 KB
testcase_13 AC 15 ms
7,856 KB
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 15 ms
7,944 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 AC 117 ms
7,840 KB
testcase_20 WA -
testcase_21 AC 148 ms
7,948 KB
testcase_22 AC 151 ms
7,768 KB
testcase_23 WA -
testcase_24 AC 70 ms
7,860 KB
testcase_25 WA -
testcase_26 AC 87 ms
7,812 KB
testcase_27 AC 120 ms
7,772 KB
testcase_28 AC 122 ms
7,892 KB
testcase_29 WA -
testcase_30 AC 128 ms
7,820 KB
testcase_31 WA -
testcase_32 WA -
権限があれば一括ダウンロードができます

ソースコード

diff #

N=int(input())
sum=0
s=int((N**0.5))
for i in range(1,s+1):
    if N%i==0:
        sum+=(i+N//i)
print(sum)
0