結果

問題 No.9009 改行区切りで与えられる数値データの合計値を求める(テスト用)
ユーザー 👑 horiesinitihoriesiniti
提出日時 2018-03-17 08:16:33
言語 Ruby
(3.3.0)
結果
AC  
実行時間 295 ms / 3,000 ms
コード長 66 bytes
コンパイル時間 204 ms
コンパイル使用メモリ 11,444 KB
実行使用メモリ 47,128 KB
最終ジャッジ日時 2023-08-25 01:05:40
合計ジャッジ時間 4,360 ms
ジャッジサーバーID
(参考情報)
judge13 / judge14
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 77 ms
15,168 KB
testcase_01 AC 77 ms
15,172 KB
testcase_02 AC 77 ms
15,260 KB
testcase_03 AC 77 ms
15,144 KB
testcase_04 AC 78 ms
15,196 KB
testcase_05 AC 77 ms
15,296 KB
testcase_06 AC 79 ms
15,444 KB
testcase_07 AC 83 ms
15,516 KB
testcase_08 AC 105 ms
18,700 KB
testcase_09 AC 130 ms
21,924 KB
testcase_10 AC 235 ms
38,640 KB
testcase_11 AC 238 ms
39,184 KB
testcase_12 AC 241 ms
39,880 KB
testcase_13 AC 245 ms
40,560 KB
testcase_14 AC 244 ms
41,000 KB
testcase_15 AC 245 ms
41,488 KB
testcase_16 AC 295 ms
47,128 KB
testcase_17 AC 77 ms
15,124 KB
testcase_18 AC 76 ms
15,156 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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