結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー kkron4221
提出日時 2019-01-13 20:13:00
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 307 ms / 2,000 ms
コード長 170 bytes
コンパイル時間 302 ms
コンパイル使用メモリ 12,288 KB
実行使用メモリ 16,972 KB
最終ジャッジ日時 2024-12-26 04:39:59
合計ジャッジ時間 3,605 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

sample = input()
sample = int(sample)
sum_math = input()
n = sum_math.split()
total = 0
for i in range(sample):
    math = int(n[i])
    total = total + math
print(total)
0