Problem 347. Back to basics 15 - Benchmark
71.4% Correct | 28.6% Incorrect
Last Solution submitted on Feb 24, 2023
Gergely Patay on 5 Jan 2015
The test suite already spoils the solution.
David Verrelli on 12 Mar 2018
True. In general that should be avoided, although admittedly it's difficult here because if the correct answer were hard-coded, then changes to: (i) the hardware on which Cody runs; or (ii) the version of MATLAB that Cody employs may eventually invalidate it. Having said that, the Test Suite could still be tightened up (see e.g. Solution 1461085).
Dyuman Joshi on 19 Sep 2021
Test suite doesn't work anymore.
Problem Recent Solvers323
Test Problem; Create a 5x5 array containing all ones
More from this Author39
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!