結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー pajannatpajannat
提出日時 2021-04-03 23:06:13
言語 PyPy3
(7.3.15)
結果
RE  
実行時間 -
コード長 314 bytes
コンパイル時間 1,463 ms
コンパイル使用メモリ 86,452 KB
実行使用メモリ 79,176 KB
最終ジャッジ日時 2023-08-26 18:32:47
合計ジャッジ時間 4,450 ms
ジャッジサーバーID
(参考情報)
judge14 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 67 ms
70,880 KB
testcase_01 RE -
testcase_02 AC 68 ms
71,200 KB
testcase_03 AC 66 ms
71,196 KB
testcase_04 RE -
testcase_05 RE -
testcase_06 RE -
testcase_07 RE -
testcase_08 RE -
testcase_09 RE -
testcase_10 RE -
testcase_11 RE -
testcase_12 RE -
testcase_13 RE -
testcase_14 RE -
testcase_15 RE -
testcase_16 RE -
testcase_17 AC 68 ms
71,040 KB
testcase_18 AC 69 ms
71,132 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# 標準入力から一行読み出し、int型で格納する。
first, = map(int,input())

# リストAを定義
A = []

#2行目以降を読み込んでリストAに追加
for i in range(first):
	A.append(int(input()))

# 標準出力にリストAの合計値を合計値を書き出す
print(sum(A))
0