結果

問題 No.480 合計
ユーザー kokoa1046kokoa1046
提出日時 2017-10-18 10:15:51
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 135 ms / 2,000 ms
コード長 72 bytes
コンパイル時間 316 ms
コンパイル使用メモリ 10,492 KB
実行使用メモリ 29,712 KB
最終ジャッジ日時 2023-08-11 20:11:18
合計ジャッジ時間 4,491 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 133 ms
29,520 KB
testcase_01 AC 133 ms
29,572 KB
testcase_02 AC 134 ms
29,580 KB
testcase_03 AC 135 ms
29,688 KB
testcase_04 AC 130 ms
29,516 KB
testcase_05 AC 131 ms
29,532 KB
testcase_06 AC 133 ms
29,620 KB
testcase_07 AC 130 ms
29,564 KB
testcase_08 AC 130 ms
29,464 KB
testcase_09 AC 132 ms
29,536 KB
testcase_10 AC 135 ms
29,516 KB
testcase_11 AC 129 ms
29,608 KB
testcase_12 AC 132 ms
29,464 KB
testcase_13 AC 132 ms
29,644 KB
testcase_14 AC 130 ms
29,492 KB
testcase_15 AC 129 ms
29,512 KB
testcase_16 AC 133 ms
29,532 KB
testcase_17 AC 135 ms
29,476 KB
testcase_18 AC 134 ms
29,628 KB
testcase_19 AC 131 ms
29,600 KB
testcase_20 AC 132 ms
29,712 KB
testcase_21 AC 135 ms
29,580 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import numpy
S=int(input())
N=0
for i in range(S+1):
     N=N+i
print(N)
0