結果

問題 No.150 "良問"(良問とは言っていない
ユーザー cielciel
提出日時 2015-02-13 02:32:46
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 140 bytes
コンパイル時間 53 ms
コンパイル使用メモリ 11,436 KB
実行使用メモリ 15,496 KB
最終ジャッジ日時 2023-09-06 00:35:20
合計ジャッジ時間 18,547 ms
ジャッジサーバーID
(参考情報)
judge11 / judge15
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 80 ms
15,052 KB
testcase_02 AC 81 ms
15,360 KB
testcase_03 AC 81 ms
15,148 KB
testcase_04 WA -
testcase_05 AC 120 ms
15,392 KB
testcase_06 AC 3,994 ms
15,308 KB
testcase_07 WA -
testcase_08 AC 96 ms
15,296 KB
testcase_09 AC 89 ms
15,172 KB
testcase_10 WA -
testcase_11 WA -
testcase_12 WA -
testcase_13 WA -
testcase_14 WA -
testcase_15 WA -
testcase_16 AC 166 ms
15,288 KB
testcase_17 WA -
testcase_18 WA -
testcase_19 WA -
testcase_20 WA -
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

puts$<.drop(1).map{|s|0.upto(s.size-11).map{|i|(i+4).upto(s.size-7).map{|j|(0..10).count{|k|(s[i,4]+s[j,7])[k]!='goodproblem'[k]}}.min}.min}
0