結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー kkron4221kkron4221
提出日時 2019-01-13 20:13:00
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 222 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 91 ms
コンパイル使用メモリ 10,576 KB
実行使用メモリ 15,696 KB
最終ジャッジ日時 2023-08-27 00:27:54
合計ジャッジ時間 2,786 ms
ジャッジサーバーID
(参考情報)
judge13 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,860 KB
testcase_01 AC 15 ms
7,772 KB
testcase_02 AC 15 ms
7,772 KB
testcase_03 AC 15 ms
7,872 KB
testcase_04 AC 15 ms
7,800 KB
testcase_05 AC 15 ms
7,816 KB
testcase_06 AC 16 ms
7,836 KB
testcase_07 AC 21 ms
8,852 KB
testcase_08 AC 46 ms
12,144 KB
testcase_09 AC 71 ms
15,696 KB
testcase_10 AC 187 ms
12,784 KB
testcase_11 AC 197 ms
12,732 KB
testcase_12 AC 200 ms
12,824 KB
testcase_13 AC 200 ms
12,900 KB
testcase_14 AC 205 ms
13,060 KB
testcase_15 AC 205 ms
13,108 KB
testcase_16 AC 222 ms
14,684 KB
testcase_17 AC 15 ms
7,868 KB
testcase_18 AC 15 ms
7,836 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

sample = input()
sample = int(sample)
sum_math = input()
n = sum_math.split()
total = 0
for i in range(sample):
    math = int(n[i])
    total = total + math
print(total)
0