結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー 👑 horiesinitihoriesiniti
提出日時 2018-03-17 08:17:29
言語 Ruby
(3.3.0)
結果
AC  
実行時間 294 ms / 2,000 ms
コード長 60 bytes
コンパイル時間 303 ms
コンパイル使用メモリ 11,548 KB
実行使用メモリ 47,216 KB
最終ジャッジ日時 2023-08-25 01:06:27
合計ジャッジ時間 4,118 ms
ジャッジサーバーID
(参考情報)
judge12 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 80 ms
15,184 KB
testcase_01 AC 81 ms
15,148 KB
testcase_02 AC 81 ms
15,088 KB
testcase_03 AC 76 ms
15,344 KB
testcase_04 AC 80 ms
15,252 KB
testcase_05 AC 77 ms
15,200 KB
testcase_06 AC 77 ms
15,440 KB
testcase_07 AC 81 ms
15,484 KB
testcase_08 AC 102 ms
18,820 KB
testcase_09 AC 127 ms
21,508 KB
testcase_10 AC 227 ms
38,764 KB
testcase_11 AC 230 ms
39,048 KB
testcase_12 AC 235 ms
39,600 KB
testcase_13 AC 238 ms
40,312 KB
testcase_14 AC 241 ms
40,724 KB
testcase_15 AC 243 ms
41,160 KB
testcase_16 AC 294 ms
47,216 KB
testcase_17 AC 77 ms
15,088 KB
testcase_18 AC 76 ms
15,088 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
puts gets.split.map{|e| e.to_i}.inject{|sum,e|
	sum+e
}
0