I've improved grammar in this problem and updated it with a test case ensuring that the det() function is not used. Rescoring of previous answers will take time to propagate, though
I also modified the test suite to check for sums of absolute errors under a threshold value rather than isequal(), since that can fail when the answer isn't composed purely of integers.
I see you! :)
Refactor?
826 Solvers
314 Solvers
263 Solvers
304 Solvers
172 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!