結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー koukou
提出日時 2019-09-03 10:18:26
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 149 ms / 2,000 ms
コード長 119 bytes
コンパイル時間 237 ms
コンパイル使用メモリ 10,732 KB
実行使用メモリ 16,460 KB
最終ジャッジ日時 2023-08-25 00:21:25
合計ジャッジ時間 3,177 ms
ジャッジサーバーID
(参考情報)
judge12 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 21 ms
8,648 KB
testcase_01 AC 21 ms
8,528 KB
testcase_02 AC 22 ms
8,684 KB
testcase_03 AC 20 ms
8,644 KB
testcase_04 AC 20 ms
8,588 KB
testcase_05 AC 20 ms
8,572 KB
testcase_06 AC 21 ms
8,724 KB
testcase_07 AC 25 ms
9,468 KB
testcase_08 AC 42 ms
12,664 KB
testcase_09 AC 62 ms
16,460 KB
testcase_10 AC 122 ms
13,220 KB
testcase_11 AC 125 ms
13,336 KB
testcase_12 AC 128 ms
13,252 KB
testcase_13 AC 130 ms
14,080 KB
testcase_14 AC 133 ms
13,560 KB
testcase_15 AC 135 ms
14,080 KB
testcase_16 AC 149 ms
15,264 KB
testcase_17 AC 19 ms
8,676 KB
testcase_18 AC 20 ms
8,644 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

from functools import reduce

N = int(input())
As = map(int, input().split())

print(reduce(lambda a, x: a + x, As, 0))
0