Problem 534. Find best domino orientation
35.91% Correct | 64.09% Incorrect
Last Solution submitted on May 13, 2023
Show 2 older comments
Jean-Marie Sainthillier on 6 Aug 2012
No unique solution. For me it is the last solution of the permutation matrix.
Doug Hull on 7 Aug 2012
For which test statement is there not a unique solution? We need to fix the test suite if there are two answers of same score.
Jean-Marie Sainthillier on 7 Aug 2012
Sorry, it was a mistake.
Andrew Newell on 9 Jan 2015
The statement of the problem is incorrect: "the sum of the absolute values of the differences is zero." You want the smallest sum, but it isn't necessarily zero.
Raihan Ahmed on 6 Jan 2016
Is there any size constraint on this problem ? My solution is not getting accepted ...
Solution CommentsShow comments
Problem Recent Solvers248
Reverse the elements of an array
Side of an equilateral triangle
More from this Author51
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!Start Hunting!