結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー pajannatpajannat
提出日時 2021-04-03 23:17:45
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 247 ms / 3,000 ms
コード長 258 bytes
コンパイル時間 333 ms
コンパイル使用メモリ 87,160 KB
実行使用メモリ 81,064 KB
最終ジャッジ日時 2023-08-26 18:45:25
合計ジャッジ時間 4,127 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 70 ms
71,404 KB
testcase_01 AC 72 ms
71,328 KB
testcase_02 AC 74 ms
70,992 KB
testcase_03 AC 71 ms
71,228 KB
testcase_04 AC 72 ms
71,224 KB
testcase_05 AC 74 ms
71,212 KB
testcase_06 AC 83 ms
75,096 KB
testcase_07 AC 93 ms
76,568 KB
testcase_08 AC 110 ms
77,696 KB
testcase_09 AC 127 ms
77,808 KB
testcase_10 AC 217 ms
80,020 KB
testcase_11 AC 222 ms
80,524 KB
testcase_12 AC 226 ms
80,176 KB
testcase_13 AC 226 ms
80,504 KB
testcase_14 AC 228 ms
80,560 KB
testcase_15 AC 232 ms
80,740 KB
testcase_16 AC 247 ms
81,064 KB
testcase_17 AC 71 ms
71,148 KB
testcase_18 AC 70 ms
71,384 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

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

# 2行目以降を読み込んでリストAに格納
A = [int(input()) for i in range(first)]

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