結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー Mygra1n3Mygra1n3
提出日時 2017-07-26 23:23:31
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 829 ms / 3,000 ms
コード長 95 bytes
コンパイル時間 133 ms
コンパイル使用メモリ 10,648 KB
実行使用メモリ 21,444 KB
最終ジャッジ日時 2023-08-26 17:16:29
合計ジャッジ時間 6,718 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 14 ms
7,828 KB
testcase_01 AC 15 ms
7,812 KB
testcase_02 AC 14 ms
7,832 KB
testcase_03 AC 14 ms
7,828 KB
testcase_04 AC 14 ms
7,964 KB
testcase_05 AC 14 ms
7,936 KB
testcase_06 AC 15 ms
7,804 KB
testcase_07 AC 31 ms
8,928 KB
testcase_08 AC 105 ms
11,772 KB
testcase_09 AC 188 ms
15,012 KB
testcase_10 AC 665 ms
20,328 KB
testcase_11 AC 688 ms
20,756 KB
testcase_12 AC 682 ms
21,068 KB
testcase_13 AC 706 ms
21,444 KB
testcase_14 AC 709 ms
13,424 KB
testcase_15 AC 715 ms
13,716 KB
testcase_16 AC 829 ms
12,020 KB
testcase_17 AC 14 ms
7,780 KB
testcase_18 AC 14 ms
7,816 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

num = int(input())
a = [input() for i in range(num)]
n = 0
for x in a:
    n += int(x)
print(n)
0