You must check every time the result. The only case the will be checked is the 3rd.
And you cannot use randi on the 4th and 5th test case, and then use a fixed correct answer ;-)
thanks ramon,I fixed
Find the sum of all the numbers of the input vector
32586 Solvers
3097 Solvers
6312 Solvers
326 Solvers
07 - Common functions and indexing 5
324 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!