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?
1411 Solvers
823 Solvers
354 Solvers
2691 Solvers
562 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!