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
1200 Solvers
1773 Solvers
Back to basics 23 - Triangular matrix
648 Solvers
Determine the number of odd integers in a vector
454 Solvers
449 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!