Cody

Solution 1927713

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

i = 70 j = 31 k = 34 y = 70 31 34 y = 70 31 34

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

i = 18 j = 96 k = 42 y = 18 96 42 y = 18 96 42

Suggested Problems

More from this Author27