結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー same_hr
提出日時 2017-06-29 17:25:15
言語 Python3
(3.13.1 + numpy 2.2.1 + scipy 1.14.1)
結果
AC  
実行時間 252 ms / 2,000 ms
コード長 185 bytes
コンパイル時間 310 ms
コンパイル使用メモリ 12,544 KB
実行使用メモリ 17,352 KB
最終ジャッジ日時 2024-10-04 16:44:49
合計ジャッジ時間 2,975 ms
ジャッジサーバーID
(参考情報)
judge1 / judge5
このコードへのチャレンジ
(要ログイン)
ファイルパターン 結果
sample AC * 4
other AC * 15
権限があれば一括ダウンロードができます

ソースコード

diff #

i = 0
sum = 0
howmany = input()
int_howmany = int(howmany)

nums = input()
split_nums = nums.split()

while i < int_howmany:
    sum = sum + int(split_nums[i])
    i = i + 1

print(sum)
0