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
727 Solvers
We love vectorized solutions. Problem 1 : remove the row average.
553 Solvers
Split a string into chunks of specified length
489 Solvers
2254 Solvers
Replace Nonzero Numbers with 1
184 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!