結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー tera_3939tera_3939
提出日時 2017-06-23 09:36:32
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 928 ms / 3,000 ms
コード長 101 bytes
コンパイル時間 353 ms
コンパイル使用メモリ 10,688 KB
実行使用メモリ 12,252 KB
最終ジャッジ日時 2023-08-26 17:11:58
合計ジャッジ時間 7,174 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 13 ms
7,832 KB
testcase_01 AC 13 ms
7,752 KB
testcase_02 AC 12 ms
7,832 KB
testcase_03 AC 13 ms
7,808 KB
testcase_04 AC 12 ms
7,896 KB
testcase_05 AC 14 ms
7,832 KB
testcase_06 AC 15 ms
7,976 KB
testcase_07 AC 31 ms
8,336 KB
testcase_08 AC 108 ms
10,236 KB
testcase_09 AC 195 ms
12,252 KB
testcase_10 AC 735 ms
11,236 KB
testcase_11 AC 754 ms
11,392 KB
testcase_12 AC 772 ms
11,472 KB
testcase_13 AC 789 ms
11,600 KB
testcase_14 AC 813 ms
11,448 KB
testcase_15 AC 824 ms
11,708 KB
testcase_16 AC 928 ms
12,016 KB
testcase_17 AC 13 ms
7,876 KB
testcase_18 AC 12 ms
7,964 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

c = 0
ns = list()
n = int(input())
while c < n:
    ns.append(int(input()))
    c += 1
print(sum(ns))
0