this problem is working again (note: there have been a few changes to Cody machinery so many of the old tricks no longer work :)
I managed to pass your testsuite and yet have a solution of non-zero-size.
Thanks for catching that! I modified the testsuite to fix this but will not rescore this solution (I am trying my testsuite to *only* pass solutions that will get a zero score in Cody as well; it is a bit hard to do that without being too heavy handed and/or interfering with the ways solvers might get that zero score)
"Please refrain from using this sort of Cody tricks to get leading scores in general non-hacking problems. That is just discourteous to other players". Yet you do exactly this on Problem 1. What a tit.
Count up then down
Create matrix of replicated elements
Sum the numbers on the main diagonal
Create a Matrix of Zeros
Hackathon: the beginnings
Find the treasures in MATLAB Central and discover how the community can help you!
Choose a web site to get translated content where available and see local events and offers. Based on your location, we recommend that you select: .
You can also select a web site from the following list:
Select the China site (in Chinese or English) for best site performance. Other MathWorks country sites are not optimized for visits from your location.
Contact your local office