結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー oshouoshou
提出日時 2018-07-21 10:48:27
言語 Python3
(3.12.2 + numpy 1.26.4 + scipy 1.12.0)
結果
AC  
実行時間 173 ms / 2,000 ms
コード長 111 bytes
コンパイル時間 128 ms
コンパイル使用メモリ 10,664 KB
実行使用メモリ 19,704 KB
最終ジャッジ日時 2023-08-27 00:26:42
合計ジャッジ時間 2,658 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 15 ms
7,784 KB
testcase_01 AC 15 ms
7,832 KB
testcase_02 AC 15 ms
7,876 KB
testcase_03 AC 16 ms
7,768 KB
testcase_04 AC 15 ms
7,808 KB
testcase_05 AC 16 ms
7,864 KB
testcase_06 AC 16 ms
7,848 KB
testcase_07 AC 21 ms
9,172 KB
testcase_08 AC 41 ms
13,536 KB
testcase_09 AC 63 ms
19,704 KB
testcase_10 AC 142 ms
15,140 KB
testcase_11 AC 145 ms
15,248 KB
testcase_12 AC 145 ms
15,284 KB
testcase_13 AC 170 ms
15,604 KB
testcase_14 AC 152 ms
15,576 KB
testcase_15 AC 173 ms
15,188 KB
testcase_16 AC 170 ms
17,632 KB
testcase_17 AC 15 ms
7,876 KB
testcase_18 AC 15 ms
7,808 KB
権限があれば一括ダウンロードができます

ソースコード

diff #

n = int(input())
A = list(map(int, input().split()))
ans = 0
for i in range(n):
    ans += A[i]
    
print(ans)
0