結果

問題 No.289 数字を全て足そう
ユーザー shinjiwebshinjiweb
提出日時 2016-05-25 01:29:21
言語 Ruby
(3.2.2)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 40 bytes
コンパイル時間 261 ms
コンパイル使用メモリ 11,432 KB
実行使用メモリ 15,832 KB
最終ジャッジ日時 2023-07-29 15:22:27
合計ジャッジ時間 3,389 ms
ジャッジサーバーID
(参考情報)
judge14 / judge13
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,332 KB
testcase_01 AC 81 ms
15,144 KB
testcase_02 AC 81 ms
15,072 KB
testcase_03 WA -
testcase_04 AC 80 ms
15,300 KB
testcase_05 AC 81 ms
15,156 KB
testcase_06 AC 80 ms
15,260 KB
testcase_07 AC 82 ms
15,224 KB
testcase_08 AC 83 ms
15,160 KB
testcase_09 AC 81 ms
15,240 KB
testcase_10 AC 83 ms
15,356 KB
testcase_11 AC 83 ms
15,168 KB
testcase_12 AC 82 ms
15,356 KB
testcase_13 AC 82 ms
15,300 KB
testcase_14 AC 83 ms
15,320 KB
testcase_15 AC 82 ms
15,256 KB
testcase_16 AC 81 ms
15,100 KB
testcase_17 AC 82 ms
15,160 KB
testcase_18 AC 83 ms
15,164 KB
testcase_19 AC 82 ms
15,156 KB
testcase_20 AC 82 ms
15,300 KB
testcase_21 AC 80 ms
15,256 KB
testcase_22 AC 82 ms
15,080 KB
testcase_23 AC 87 ms
15,832 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

p gets.scan(/\d/).map(&:to_i).inject(:+)
0