The Knots Contest GradeIt function is not the number of Knots. FYI
if possible could you fix the url in this problem testsuite? (and perhaps also in the Rubik's series as well? it seems tinyurls tend to have a short life...)
not really sure, but perhaps there are some numerical precision issues for some of the near-colinear cases in the testsuite? (if so perhaps it would be useful to resample the testsuite nodes to remove colinear or near-colinear cases?)
The expected knots table was based upon the Official slow scoring method. The docross function creates many warning messages "Warning: Matrix is singular to working precision. ". A single case, #3, takes >0.3 seconds versus expected 0.01 seconds.
17887 Solvers
1742 Solvers
Pythagorean perfect squares: find the square of the hypotenuse and the length of the other side
42 Solvers
Number of 1s in a binary string
3032 Solvers
Rotate input square matrix 90 degrees CCW without rot90
385 Solvers
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!