結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー oz4point5oz4point5
提出日時 2019-03-24 20:09:59
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 1,189 ms / 3,000 ms
コード長 155 bytes
コンパイル時間 253 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 14,592 KB
最終ジャッジ日時 2024-04-15 01:29:41
合計ジャッジ時間 9,281 ms
ジャッジサーバーID
(参考情報)
judge3 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 31 ms
10,624 KB
testcase_01 AC 30 ms
10,624 KB
testcase_02 AC 32 ms
10,624 KB
testcase_03 AC 31 ms
10,624 KB
testcase_04 AC 32 ms
10,624 KB
testcase_05 AC 33 ms
10,624 KB
testcase_06 AC 34 ms
10,880 KB
testcase_07 AC 59 ms
11,136 KB
testcase_08 AC 153 ms
12,672 KB
testcase_09 AC 273 ms
14,592 KB
testcase_10 AC 939 ms
13,824 KB
testcase_11 AC 989 ms
13,952 KB
testcase_12 AC 1,021 ms
14,080 KB
testcase_13 AC 1,020 ms
14,080 KB
testcase_14 AC 1,054 ms
14,208 KB
testcase_15 AC 1,101 ms
14,336 KB
testcase_16 AC 1,189 ms
14,592 KB
testcase_17 AC 31 ms
10,624 KB
testcase_18 AC 30 ms
10,624 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

# -*- coding: utf-8 -*-

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

sum = 0
for i in range(0,n):
    sum += a[i]

print(sum)
0