Cody

# Problem 45376. Maya - 02

Solution 2185960

Submitted on 1 Apr 2020
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   Fail
assert(isequal(maya_02('..'),2))

l = 1 1 t = 1 20 400 8000 160000 3200000 s = 1 s = 2

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test1 (line 1) assert(isequal(maya_02('..'),2))

2   Fail
assert(isequal(maya_02('.. .'),41))

l = 1 0 1 1 t = 1 20 400 8000 160000 3200000 s = 1 s = 0 m = 0 s = 1 s = 2

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test2 (line 1) assert(isequal(maya_02('.. .'),41))

3   Fail
assert(isequal(maya_02('... .. ....__'),1254))

l = 5 5 1 1 1 1 0 1 1 0 1 1 1 t = 1 20 400 8000 160000 3200000 s = 5 s = 10 s = 11 s = 12 s = 13 s = 14 s = 0 m = 0 s = 1 s = 2 s = 0 m = 0 0 s = 1 s = 2 s = 3

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test3 (line 1) assert(isequal(maya_02('... .. ....__'),1254))

4   Fail
assert(isequal(maya_02('__ ....__ _'),4285))

l = 5 0 5 5 1 1 1 1 0 5 5 t = 1 20 400 8000 160000 3200000 s = 5 s = 0 m = 0 s = 5 s = 10 s = 11 s = 12 s = 13 s = 14 s = 0 m = 0 0 s = 5 s = 10

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test4 (line 1) assert(isequal(maya_02('__ ....__ _'),4285))

5   Fail
assert(isequal(maya_02('._ o ....__ __'),48290))

l = 5 5 0 5 5 1 1 1 1 0 0 5 1 t = 1 20 400 8000 160000 3200000 s = 5 s = 10 s = 0 m = 0 s = 5 s = 10 s = 11 s = 12 s = 13 s = 14 s = 0 m = 0 0 s = 0 m = 0 0 0 s = 5 s = 6

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test5 (line 1) assert(isequal(maya_02('._ o ....__ __'),48290))

6   Fail
assert(isequal(maya_02('. o o o o'),160000))

l = 0 0 0 0 1 t = 1 20 400 8000 160000 3200000 s = 0 m = 0 s = 0 m = 0 0 s = 0 m = 0 0 0 s = 0 m = 0 0 0 0 s = 1

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test6 (line 1) assert(isequal(maya_02('. o o o o'),160000))

7   Fail
assert(isequal(maya_02('__ .. _ ..._ o .___'),32363216))

l = 5 5 5 1 0 0 5 1 1 1 0 5 0 1 1 0 5 5 t = 1 20 400 8000 160000 3200000 s = 5 s = 10 s = 15 s = 16 s = 0 m = 0 s = 0 m = 0 0 s = 5 s = 6 s = 7 s = 8 s = 0 m = 0 0 0 s = 5 s = 0 m = 0 0 0 0 s = 1 s = 2 s = 0 m = 0 0 0 0 0 s = 5 s = 10

Output argument "y" (and maybe others) not assigned during call to "maya_02". Error in Test7 (line 1) assert(isequal(maya_02('__ .. _ ..._ o .___'),32363216))