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
1612 Solvers
203 Solvers
728 Solvers
504 Solvers
562 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!