Cody

Solution 2185947

Submitted on 1 Apr 2020 by Nikolaos Nikolaou
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
assert(isequal(maya_01(5),'_'))

q2 = 0 1 t = 0 1 y = '_'

2   Pass
assert(isequal(maya_01(26),'. ._'))

q2 = 1 0 1 1 t = 1 0 t = 1 1 y = '. ._'

3   Pass
assert(isequal(maya_01(439),'. . ....___'))

q2 = 1 0 1 0 4 3 t = 1 0 t = 1 0 t = 4 3 y = '. . ....___'

4   Pass
assert(isequal(maya_01(440),'. .. o'))

q2 = 1 0 2 0 0 0 t = 1 0 t = 2 0 t = 0 0 y = '. .. o'

5   Pass
assert(isequal(maya_01(200), '__ o'))

q2 = 0 2 0 0 t = 0 2 t = 0 0 y = '__ o'

6   Pass
assert(isequal(maya_01(4285),'__ ....__ _'))

q2 = 0 2 4 2 0 1 t = 0 2 t = 4 2 t = 0 1 y = '__ ....__ _'

7   Pass
assert(isequal(maya_01(8285),'. o ....__ _'))

q2 = 1 0 0 0 4 2 0 1 t = 1 0 t = 0 0 t = 4 2 t = 0 1 y = '. o ....__ _'

8   Pass
assert(isequal(maya_01(16125),'.. o ._ _'))

q2 = 2 0 0 0 1 1 0 1 t = 2 0 t = 0 0 t = 1 1 t = 0 1 y = '.. o ._ _'

9   Pass
assert(isequal(maya_01(160000),'. o o o o'))

q2 = 1 0 0 0 0 0 0 0 0 0 t = 1 0 t = 0 0 t = 0 0 t = 0 0 t = 0 0 y = '. o o o o'

10   Pass
assert(isequal(maya_01(32363236),'__ .. _ ..._ . .___'))

q2 = 0 2 2 0 0 1 3 1 1 0 1 3 t = 0 2 t = 2 0 t = 0 1 t = 3 1 t = 1 0 t = 1 3 y = '__ .. _ ..._ . .___'

Suggested Problems

More from this Author145