Hello, Andriy Kavetsky. The tolerance in test 2 of the Test Suite is quite strange. As written, it seems that a result that is 1000 times larger than the true answer would be accepted as adequate. See Problem 44690 & Problem 44691 for some alternative cues. Also, it is recommended that at least four cases be provided in a Test Suite, though more are often necessary to prevent hard-coded workarounds. —DIV
361 Solvers
Check if number exists in vector
5046 Solvers
07 - Common functions and indexing 6
364 Solvers
6153 Solvers
142 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!