結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー ゆうPゆうP
提出日時 2017-05-21 03:02:20
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 155 ms / 2,000 ms
コード長 173 bytes
コンパイル時間 326 ms
コンパイル使用メモリ 11,924 KB
実行使用メモリ 21,724 KB
最終ジャッジ日時 2023-10-19 04:21:39
合計ジャッジ時間 2,562 ms
ジャッジサーバーID
(参考情報)
judge13 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 33 ms
10,204 KB
testcase_01 AC 30 ms
10,204 KB
testcase_02 AC 31 ms
10,204 KB
testcase_03 AC 30 ms
10,204 KB
testcase_04 AC 29 ms
10,204 KB
testcase_05 AC 29 ms
10,216 KB
testcase_06 AC 32 ms
10,348 KB
testcase_07 AC 35 ms
11,264 KB
testcase_08 AC 52 ms
15,560 KB
testcase_09 AC 71 ms
21,724 KB
testcase_10 AC 129 ms
17,156 KB
testcase_11 AC 132 ms
17,224 KB
testcase_12 AC 134 ms
17,300 KB
testcase_13 AC 137 ms
17,644 KB
testcase_14 AC 139 ms
17,732 KB
testcase_15 AC 142 ms
17,140 KB
testcase_16 AC 155 ms
19,704 KB
testcase_17 AC 30 ms
10,204 KB
testcase_18 AC 30 ms
10,204 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

#データ数N
count = int(input())
#配列
li = input().split(' ')
#データ数分リストに設定
num_li = [int(li[i]) for i in range(count)]
print(sum(num_li))
0