結果
問題 | No.345 最小チワワ問題 |
ユーザー | KisaragiEffective |
提出日時 | 2020-11-10 18:47:00 |
言語 | Ruby (3.3.0) |
結果 |
WA
|
実行時間 | - |
コード長 | 75 bytes |
コンパイル時間 | 66 ms |
コンパイル使用メモリ | 11,316 KB |
実行使用メモリ | 15,360 KB |
最終ジャッジ日時 | 2023-09-30 00:07:03 |
合計ジャッジ時間 | 3,535 ms |
ジャッジサーバーID (参考情報) |
judge12 / judge11 |
(要ログイン)
テストケース
テストケース表示入力 | 結果 | 実行時間 実行使用メモリ |
---|---|---|
testcase_00 | WA | - |
testcase_01 | WA | - |
testcase_02 | WA | - |
testcase_03 | WA | - |
testcase_04 | WA | - |
testcase_05 | AC | 70 ms
15,156 KB |
testcase_06 | WA | - |
testcase_07 | AC | 69 ms
15,164 KB |
testcase_08 | AC | 67 ms
15,180 KB |
testcase_09 | AC | 66 ms
15,160 KB |
testcase_10 | WA | - |
testcase_11 | AC | 69 ms
15,164 KB |
testcase_12 | AC | 71 ms
15,152 KB |
testcase_13 | AC | 67 ms
15,148 KB |
testcase_14 | WA | - |
testcase_15 | WA | - |
testcase_16 | WA | - |
testcase_17 | WA | - |
testcase_18 | WA | - |
testcase_19 | WA | - |
testcase_20 | WA | - |
testcase_21 | AC | 65 ms
15,284 KB |
testcase_22 | WA | - |
testcase_23 | WA | - |
testcase_24 | WA | - |
testcase_25 | WA | - |
testcase_26 | AC | 67 ms
15,036 KB |
testcase_27 | WA | - |
testcase_28 | AC | 67 ms
15,028 KB |
testcase_29 | AC | 67 ms
15,296 KB |
testcase_30 | AC | 66 ms
15,144 KB |
testcase_31 | AC | 67 ms
15,152 KB |
コンパイルメッセージ
Syntax OK
ソースコード
puts gets.chomp.scan(/c(.*?)w(.*?)w/).map{|x| x.map(&:size).sum }.min || -1