結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー ykoban
提出日時 2019-10-27 17:04:23
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 1,326 ms / 3,000 ms
コード長 172 bytes
コンパイル時間 190 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 21,504 KB
最終ジャッジ日時 2024-09-14 21:04:42
合計ジャッジ時間 10,122 ms
ジャッジサーバーID
(参考情報)
judge1 / judge3
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

N = input()

n = []
for _ in range(0, int(N)):
    n.append(input())

count = 0
for idx in range(0, int(N)):
    count = count + int(n[idx])
    idx = idx + 1
print(count)
0