結果

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

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 WA -
testcase_01 AC 79 ms
15,024 KB
testcase_02 WA -
testcase_03 AC 82 ms
15,024 KB
testcase_04 WA -
testcase_05 AC 80 ms
15,076 KB
testcase_06 WA -
testcase_07 AC 78 ms
15,208 KB
testcase_08 WA -
testcase_09 WA -
testcase_10 WA -
testcase_11 WA -
testcase_12 AC 75 ms
15,260 KB
testcase_13 AC 77 ms
15,240 KB
testcase_14 AC 73 ms
15,228 KB
testcase_15 AC 74 ms
15,120 KB
testcase_16 WA -
testcase_17 AC 76 ms
15,212 KB
testcase_18 WA -
testcase_19 WA -
testcase_20 AC 76 ms
15,256 KB
testcase_21 AC 80 ms
15,120 KB
testcase_22 AC 79 ms
15,248 KB
testcase_23 WA -
testcase_24 AC 76 ms
15,148 KB
testcase_25 WA -
testcase_26 WA -
testcase_27 AC 77 ms
15,216 KB
testcase_28 WA -
testcase_29 AC 74 ms
15,252 KB
testcase_30 WA -
testcase_31 AC 75 ms
15,192 KB
testcase_32 WA -
testcase_33 AC 74 ms
15,028 KB
testcase_34 WA -
testcase_35 AC 73 ms
15,256 KB
testcase_36 AC 75 ms
15,116 KB
testcase_37 AC 75 ms
15,272 KB
testcase_38 AC 75 ms
15,060 KB
testcase_39 AC 77 ms
15,112 KB
testcase_40 AC 74 ms
15,296 KB
testcase_41 AC 77 ms
15,028 KB
testcase_42 AC 75 ms
15,072 KB
testcase_43 AC 75 ms
15,208 KB
testcase_44 AC 74 ms
15,204 KB
testcase_45 AC 75 ms
15,028 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