may someone put somet tests case for this prob... I aw recive WA

thx
Moderator: Board moderators
Code: Select all
3
-*-
---
---
3
-**
--*
---
3
---
---
---
4
----
--**
---*
----
9
---*--*--
-----*---
------*--
---------
-------*-
--------*
---------
---------
---------
10
-*********
--********
---*******
----******
-----*****
------****
-------***
--------**
---------*
----------
10
-***-*---*
--*-**--*-
---*--*-**
----*----*
-----***-*
------*--*
-------*-*
--------**
---------*
----------
5
-----
-----
-----
----*
-----
1
-
2
--
--
2
-*
--
10
-----*---*
----*-----
---*------
---------*
-------*--
------*---
----------
--------*-
---------*
----------
10
-----*---*
----*-----
---*------
---------*
----------
------*---
----------
--------*-
---------*
----------
10
-----*---*
------*---
---*---*--
------*--*
--------*-
------*---
--------*-
--------*-
---------*
----------
Code: Select all
a
b
ab
-----
a
b
c
-----
a
a
a
-----
abc
a
b
c
-----
abgh
abcdef
abcdghij
cdefijkl
acegik
ghijkl
efkl
bdfhjl
abcdef
-----
a
b
c
d
e
f
g
h
i
j
-----
abi
cdj
ek
cdfgh
ak
efg
bch
defi
abgh
j
-----
ab
ab
ab
a
b
-----
a
-----
a
a
-----
a
b
-----
abcdef
abcdghijk
abeghilmn
cdfjko
eflmno
gijklmo
abcdefhn
acghj
bdefiklo
ghmn
-----
abcdefgh
abcdijmno
abefijklmp
cdghnoqr
efghklpqr
ikmnopqr
abcdefghjl
acegijklnq
bdfhmopr
ijkl
-----
aefghi
abcdefgjk
befhjl
acgk
abcdehilm
bcdjk
hilm
acdim
fgjk
bdlm
-----