結果

問題 No.179 塗り分け
ユーザー hogeover30hogeover30
提出日時 2017-01-07 18:32:16
言語 Ruby
(3.2.2)
結果
WA  
実行時間 -
コード長 100 bytes
コンパイル時間 444 ms
コンパイル使用メモリ 11,340 KB
実行使用メモリ 15,432 KB
最終ジャッジ日時 2023-07-26 16:33:28
合計ジャッジ時間 6,141 ms
ジャッジサーバーID
(参考情報)
judge11 / judge14
このコードへのチャレンジ(β)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 81 ms
15,320 KB
testcase_02 WA -
testcase_03 AC 83 ms
15,404 KB
testcase_04 WA -
testcase_05 AC 81 ms
15,356 KB
testcase_06 WA -
testcase_07 AC 81 ms
15,420 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 81 ms
15,208 KB
testcase_13 AC 80 ms
15,200 KB
testcase_14 AC 79 ms
15,212 KB
testcase_15 AC 79 ms
15,116 KB
testcase_16 WA -
testcase_17 AC 78 ms
15,364 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 81 ms
15,432 KB
testcase_21 AC 81 ms
15,164 KB
testcase_22 AC 82 ms
15,128 KB
testcase_23 WA -
testcase_24 AC 80 ms
15,152 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 83 ms
15,156 KB
testcase_28 WA -
testcase_29 AC 84 ms
15,384 KB
testcase_30 WA -
testcase_31 AC 84 ms
15,168 KB
testcase_32 WA -
testcase_33 AC 81 ms
15,168 KB
testcase_34 WA -
testcase_35 AC 85 ms
15,212 KB
testcase_36 AC 86 ms
15,212 KB
testcase_37 AC 84 ms
15,224 KB
testcase_38 AC 88 ms
15,228 KB
testcase_39 AC 86 ms
15,232 KB
testcase_40 AC 88 ms
15,200 KB
testcase_41 AC 89 ms
15,224 KB
testcase_42 AC 85 ms
15,128 KB
testcase_43 AC 85 ms
15,268 KB
testcase_44 AC 83 ms
15,320 KB
testcase_45 AC 86 ms
15,292 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
s=`dd`
r=0..3e3
puts r.any?{|d|t=s*1;r.all?{|i|t[i]==?#?t[i-=~d]==?#&&t[i]=?.:s[?#]}}?:YES: :NO
0