Cody

# Problem 45370. Sky full of stars - 03

Solution 2166264

Submitted on 20 Mar 2020 by Atsushi Ueno
• Size: 31
• This is the leading solution.
This solution is locked. To view this solution, you need to provide a solution of the same size or smaller.

### Test Suite

Test Status Code Input and Output
1   Pass
a=[ '************' '***** *****' '**** ****' '*** ***' '** **' '* *' '* *' '** **' '*** ***' '**** ****' '***** *****' '************']; assert(isequal(star_pattern_3(6),a))

2   Pass
a=[ '******' '** **' '* *' '* *' '** **' '******']; assert(isequal(star_pattern_3(3),a))

3   Pass
a=[ '****' '* *' '* *' '****']; assert(isequal(star_pattern_3(2),a))

4   Pass
a=[ '********************' '********* *********' '******** ********' '******* *******' '****** ******' '***** *****' '**** ****' '*** ***' '** **' '* *' '* *' '** **' '*** ***' '**** ****' '***** *****' '****** ******' '******* *******' '******** ********' '********* *********' '********************']; assert(isequal(star_pattern_3(10),a))