結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー hogucchogucc
提出日時 2020-11-06 10:12:57
言語 Ruby
(3.3.0)
結果
AC  
実行時間 349 ms / 3,000 ms
コード長 47 bytes
コンパイル時間 71 ms
コンパイル使用メモリ 11,224 KB
実行使用メモリ 19,480 KB
最終ジャッジ日時 2023-09-29 17:39:37
合計ジャッジ時間 4,474 ms
ジャッジサーバーID
(参考情報)
judge12 / judge11
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 84 ms
15,080 KB
testcase_01 AC 80 ms
15,104 KB
testcase_02 AC 81 ms
15,040 KB
testcase_03 AC 79 ms
15,188 KB
testcase_04 AC 81 ms
15,260 KB
testcase_05 AC 81 ms
15,108 KB
testcase_06 AC 83 ms
15,420 KB
testcase_07 AC 88 ms
15,504 KB
testcase_08 AC 113 ms
15,672 KB
testcase_09 AC 142 ms
16,112 KB
testcase_10 AC 301 ms
18,644 KB
testcase_11 AC 303 ms
18,656 KB
testcase_12 AC 307 ms
18,768 KB
testcase_13 AC 314 ms
18,808 KB
testcase_14 AC 315 ms
18,892 KB
testcase_15 AC 321 ms
19,044 KB
testcase_16 AC 349 ms
19,480 KB
testcase_17 AC 81 ms
15,040 KB
testcase_18 AC 83 ms
15,080 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

N = gets.to_i
puts N.times.map{ gets.to_i }.sum
0