結果

問題 No.179 塗り分け
ユーザー hogeover30hogeover30
提出日時 2017-01-07 18:33:40
言語 Ruby
(3.3.0)
結果
WA  
実行時間 -
コード長 103 bytes
コンパイル時間 49 ms
コンパイル使用メモリ 7,552 KB
実行使用メモリ 12,416 KB
最終ジャッジ日時 2024-04-14 06:14:58
合計ジャッジ時間 5,553 ms
ジャッジサーバーID
(参考情報)
judge2 / judge1
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 87 ms
12,160 KB
testcase_02 WA -
testcase_03 AC 88 ms
12,288 KB
testcase_04 WA -
testcase_05 AC 87 ms
12,416 KB
testcase_06 WA -
testcase_07 AC 88 ms
12,160 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 88 ms
12,160 KB
testcase_13 AC 89 ms
12,416 KB
testcase_14 AC 89 ms
12,288 KB
testcase_15 AC 87 ms
12,416 KB
testcase_16 WA -
testcase_17 AC 88 ms
12,160 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 87 ms
12,416 KB
testcase_21 AC 90 ms
12,160 KB
testcase_22 AC 87 ms
12,416 KB
testcase_23 WA -
testcase_24 AC 87 ms
12,288 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 87 ms
12,288 KB
testcase_28 WA -
testcase_29 AC 86 ms
12,160 KB
testcase_30 WA -
testcase_31 AC 88 ms
12,416 KB
testcase_32 WA -
testcase_33 AC 90 ms
12,160 KB
testcase_34 WA -
testcase_35 AC 87 ms
12,160 KB
testcase_36 AC 89 ms
12,160 KB
testcase_37 AC 89 ms
12,288 KB
testcase_38 AC 88 ms
12,160 KB
testcase_39 AC 88 ms
12,288 KB
testcase_40 AC 89 ms
12,160 KB
testcase_41 AC 88 ms
12,288 KB
testcase_42 AC 87 ms
12,288 KB
testcase_43 AC 85 ms
12,160 KB
testcase_44 AC 86 ms
12,288 KB
testcase_45 AC 87 ms
12,160 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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