結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー tempura000tempura000
提出日時 2019-02-27 04:48:30
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 298 ms / 2,000 ms
コード長 155 bytes
コンパイル時間 98 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 16,952 KB
最終ジャッジ日時 2023-09-05 09:06:59
合計ジャッジ時間 3,424 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 25 ms
9,112 KB
testcase_01 AC 25 ms
9,200 KB
testcase_02 AC 25 ms
9,144 KB
testcase_03 AC 25 ms
9,072 KB
testcase_04 AC 25 ms
9,068 KB
testcase_05 AC 25 ms
9,132 KB
testcase_06 AC 26 ms
9,264 KB
testcase_07 AC 34 ms
9,972 KB
testcase_08 AC 68 ms
13,416 KB
testcase_09 AC 94 ms
16,952 KB
testcase_10 AC 247 ms
14,680 KB
testcase_11 AC 242 ms
13,864 KB
testcase_12 AC 251 ms
13,924 KB
testcase_13 AC 253 ms
13,892 KB
testcase_14 AC 264 ms
14,180 KB
testcase_15 AC 272 ms
15,288 KB
testcase_16 AC 298 ms
15,732 KB
testcase_17 AC 25 ms
9,036 KB
testcase_18 AC 24 ms
9,004 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

import re
inp1_ = input()
i_ = int(inp1_)
inp2_ = input()
spl_ = re.split(" +", inp2_)
sum_ = 0
for num_ in range(i_):
	sum_ += int(spl_[num_])
print(sum_)
0