Cody

Solution 2049874

Submitted on 7 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]))

b = 100 100 100 a = 577325 i = 25 j = 74 k = 58 y = 25

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]))

b = 100 100 100 a = 532891 i = 91 j = 29 k = 54 y = 91

Assertion failed.

Suggested Problems

More from this Author27