結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 84 ms
15,096 KB
testcase_02 WA -
testcase_03 AC 84 ms
15,308 KB
testcase_04 WA -
testcase_05 AC 84 ms
15,284 KB
testcase_06 WA -
testcase_07 AC 85 ms
15,168 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 83 ms
15,176 KB
testcase_13 AC 83 ms
15,120 KB
testcase_14 AC 82 ms
15,176 KB
testcase_15 AC 82 ms
15,344 KB
testcase_16 WA -
testcase_17 AC 85 ms
15,140 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 86 ms
15,328 KB
testcase_21 AC 82 ms
15,116 KB
testcase_22 AC 81 ms
15,124 KB
testcase_23 WA -
testcase_24 AC 84 ms
15,104 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 83 ms
15,040 KB
testcase_28 WA -
testcase_29 AC 85 ms
15,276 KB
testcase_30 WA -
testcase_31 AC 83 ms
15,304 KB
testcase_32 WA -
testcase_33 AC 84 ms
15,168 KB
testcase_34 WA -
testcase_35 AC 81 ms
15,092 KB
testcase_36 AC 83 ms
15,136 KB
testcase_37 AC 84 ms
15,232 KB
testcase_38 AC 86 ms
15,124 KB
testcase_39 AC 86 ms
15,176 KB
testcase_40 AC 88 ms
15,284 KB
testcase_41 AC 89 ms
15,148 KB
testcase_42 AC 82 ms
15,120 KB
testcase_43 AC 82 ms
15,324 KB
testcase_44 AC 83 ms
15,316 KB
testcase_45 AC 84 ms
15,164 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

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