結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー ms_vpsms_vps
提出日時 2018-11-25 05:26:31
言語 Ruby
(3.3.0)
結果
AC  
実行時間 229 ms / 2,000 ms
コード長 54 bytes
コンパイル時間 55 ms
コンパイル使用メモリ 11,560 KB
実行使用メモリ 43,100 KB
最終ジャッジ日時 2023-08-26 05:06:20
合計ジャッジ時間 3,548 ms
ジャッジサーバーID
(参考情報)
judge11 / judge12
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 72 ms
15,276 KB
testcase_01 AC 73 ms
15,232 KB
testcase_02 AC 69 ms
15,248 KB
testcase_03 AC 71 ms
15,292 KB
testcase_04 AC 71 ms
15,084 KB
testcase_05 AC 76 ms
15,144 KB
testcase_06 AC 74 ms
15,324 KB
testcase_07 AC 77 ms
15,540 KB
testcase_08 AC 93 ms
18,428 KB
testcase_09 AC 111 ms
20,760 KB
testcase_10 AC 185 ms
35,600 KB
testcase_11 AC 178 ms
35,928 KB
testcase_12 AC 181 ms
36,596 KB
testcase_13 AC 181 ms
37,012 KB
testcase_14 AC 184 ms
37,392 KB
testcase_15 AC 192 ms
37,896 KB
testcase_16 AC 229 ms
43,100 KB
testcase_17 AC 72 ms
15,180 KB
testcase_18 AC 71 ms
15,096 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
v = gets.chomp!.split(" ")
puts v.sum{|i| i.to_i}
0