結果

問題 No.3044 April Sum of Odd
ユーザー %20%20
提出日時 2019-04-01 22:09:32
言語 Ruby
(3.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 84 bytes
コンパイル時間 137 ms
コンパイル使用メモリ 11,548 KB
実行使用メモリ 65,128 KB
最終ジャッジ日時 2023-08-18 01:17:02
合計ジャッジ時間 2,303 ms
ジャッジサーバーID
(参考情報)
judge13 / judge12
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 81 ms
15,180 KB
testcase_01 AC 82 ms
15,040 KB
testcase_02 AC 82 ms
15,216 KB
testcase_03 AC 95 ms
15,332 KB
testcase_04 AC 93 ms
15,148 KB
testcase_05 AC 92 ms
15,232 KB
testcase_06 AC 94 ms
15,292 KB
testcase_07 WA -
testcase_08 WA -
testcase_09 AC 91 ms
15,124 KB
testcase_10 AC 206 ms
65,128 KB
testcase_11 AC 110 ms
15,524 KB
testcase_12 AC 81 ms
15,112 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets.chop=~/ /
gets.scan(/(?: ?\b\d*[13579]\b){#$',}/){|s|p s.split.map(&:to_i).sum}
0