Cody

Solution 2059804

Submitted on 16 Dec 2019
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
A=zeros(100,100,100); i=randi(100); j=randi(100); k=randi(100); A(i,j,k)=1; y=find1number(A) assert(isequal(y,[i,j,k]))

z = 517849 a = 49 b = 79 c = 52 i = 49 j = 79 k = 52 y = 49

Assertion failed.

2   Fail
A=zeros(100,100,100); i=randi(100); j=randi(100); k=randi(100); A(i,j,k)=1; y=find1number(A) assert(isequal(y,[i,j,k]))

z = 405132 a = 32 b = 52 c = 41 i = 32 j = 52 k = 41 y = 32

Assertion failed.

Suggested Problems

More from this Author27