結果

問題 No.179 塗り分け
ユーザー syarosyaro
提出日時 2016-02-23 22:01:08
言語 Ruby
(3.3.0)
結果
WA  
(最新)
AC  
(最初)
実行時間 -
コード長 105 bytes
コンパイル時間 61 ms
コンパイル使用メモリ 11,376 KB
実行使用メモリ 16,208 KB
最終ジャッジ日時 2023-09-23 03:47:00
合計ジャッジ時間 7,612 ms
ジャッジサーバーID
(参考情報)
judge11 / judge13
このコードへのチャレンジ
(要ログイン)

テストケース

テストケース表示
入力 結果 実行時間
実行使用メモリ
testcase_00 AC 86 ms
15,012 KB
testcase_01 AC 88 ms
15,248 KB
testcase_02 AC 82 ms
15,164 KB
testcase_03 AC 85 ms
15,132 KB
testcase_04 AC 81 ms
15,220 KB
testcase_05 AC 107 ms
15,324 KB
testcase_06 AC 81 ms
15,112 KB
testcase_07 AC 79 ms
15,300 KB
testcase_08 AC 84 ms
15,328 KB
testcase_09 AC 130 ms
15,232 KB
testcase_10 AC 83 ms
15,132 KB
testcase_11 AC 83 ms
15,024 KB
testcase_12 AC 183 ms
15,312 KB
testcase_13 AC 85 ms
15,300 KB
testcase_14 AC 85 ms
15,288 KB
testcase_15 AC 85 ms
15,244 KB
testcase_16 AC 81 ms
15,224 KB
testcase_17 AC 79 ms
15,052 KB
testcase_18 AC 81 ms
15,088 KB
testcase_19 AC 84 ms
15,076 KB
testcase_20 AC 120 ms
15,504 KB
testcase_21 AC 398 ms
15,276 KB
testcase_22 AC 1,198 ms
15,176 KB
testcase_23 AC 84 ms
15,156 KB
testcase_24 AC 157 ms
15,320 KB
testcase_25 AC 84 ms
15,156 KB
testcase_26 AC 87 ms
15,224 KB
testcase_27 AC 97 ms
15,640 KB
testcase_28 AC 85 ms
15,300 KB
testcase_29 AC 94 ms
15,812 KB
testcase_30 AC 94 ms
15,412 KB
testcase_31 AC 109 ms
15,448 KB
testcase_32 AC 89 ms
15,884 KB
testcase_33 AC 98 ms
15,884 KB
testcase_34 AC 87 ms
15,688 KB
testcase_35 AC 99 ms
16,036 KB
testcase_36 AC 88 ms
15,392 KB
testcase_37 AC 90 ms
15,224 KB
testcase_38 WA -
testcase_39 AC 87 ms
15,244 KB
testcase_40 AC 88 ms
15,164 KB
testcase_41 AC 88 ms
15,128 KB
testcase_42 AC 89 ms
15,196 KB
testcase_43 AC 88 ms
16,208 KB
testcase_44 AC 88 ms
15,344 KB
testcase_45 AC 90 ms
15,484 KB
権限があれば一括ダウンロードができます
コンパイルメッセージ
Syntax OK

ソースコード

diff #

gets
s=gets p
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