結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー moon17moon17
提出日時 2022-05-13 20:26:03
言語 PyPy3
(7.3.15)
結果
AC  
実行時間 248 ms / 3,000 ms
コード長 145 bytes
コンパイル時間 284 ms
コンパイル使用メモリ 87,036 KB
実行使用メモリ 81,148 KB
最終ジャッジ日時 2023-09-29 05:06:26
合計ジャッジ時間 4,187 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
71,284 KB
testcase_01 AC 73 ms
71,156 KB
testcase_02 AC 72 ms
71,188 KB
testcase_03 AC 75 ms
71,212 KB
testcase_04 AC 70 ms
71,180 KB
testcase_05 AC 71 ms
71,264 KB
testcase_06 AC 83 ms
75,304 KB
testcase_07 AC 96 ms
76,380 KB
testcase_08 AC 111 ms
77,576 KB
testcase_09 AC 129 ms
77,724 KB
testcase_10 AC 221 ms
80,408 KB
testcase_11 AC 230 ms
80,392 KB
testcase_12 AC 227 ms
80,520 KB
testcase_13 AC 232 ms
80,532 KB
testcase_14 AC 228 ms
80,724 KB
testcase_15 AC 236 ms
80,908 KB
testcase_16 AC 248 ms
81,148 KB
testcase_17 AC 72 ms
71,364 KB
testcase_18 AC 72 ms
71,088 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

N = int(input())
#A = list(map(int, input().split()))
A = [int(input()) for _ in range(N)]

ans = 0
for i in range(N):
    ans += A[i]
print(ans)
0