結果

問題 No.9008 空白区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー midolin limegreenmidolin limegreen
提出日時 2018-03-11 00:37:19
言語 Ruby
(3.3.0)
結果
AC  
実行時間 240 ms / 2,000 ms
コード長 42 bytes
コンパイル時間 119 ms
コンパイル使用メモリ 7,424 KB
実行使用メモリ 39,552 KB
最終ジャッジ日時 2024-04-23 00:49:18
合計ジャッジ時間 3,412 ms
ジャッジサーバーID
(参考情報)
judge2 / judge5
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 71 ms
12,160 KB
testcase_01 AC 72 ms
12,288 KB
testcase_02 AC 72 ms
12,160 KB
testcase_03 AC 72 ms
12,160 KB
testcase_04 AC 73 ms
12,160 KB
testcase_05 AC 72 ms
12,160 KB
testcase_06 AC 76 ms
12,160 KB
testcase_07 AC 80 ms
12,672 KB
testcase_08 AC 95 ms
15,360 KB
testcase_09 AC 108 ms
17,408 KB
testcase_10 AC 205 ms
34,432 KB
testcase_11 AC 209 ms
34,816 KB
testcase_12 AC 214 ms
35,328 KB
testcase_13 AC 221 ms
35,840 KB
testcase_14 AC 222 ms
36,352 KB
testcase_15 AC 223 ms
36,864 KB
testcase_16 AC 240 ms
39,552 KB
testcase_17 AC 77 ms
12,160 KB
testcase_18 AC 76 ms
12,288 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
p gets.split.inject(0){|a,i|i.to_i+a}
0