Skip to content

Instantly share code, notes, and snippets.

@znck
Created June 6, 2014 12:57
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save znck/c302de0fcb9820f15a42 to your computer and use it in GitHub Desktop.
Save znck/c302de0fcb9820f15a42 to your computer and use it in GitHub Desktop.
Matrix: 2, 2
Total iterations: 2
cost: 1100
Time taken: 0 seconds
Matrix: 4, 4
Total iterations: 18
cost: 520
Time taken: 0 seconds
Matrix: 4, 4
Total iterations: 4
cost: 1000
Time taken: 0 seconds
Matrix: 1000, 1000
Matrix too large.
Matrix: 2, 2
Total iterations: 2
cost: 1100
Time taken: 0 seconds
Matrix: 4, 4
Total iterations: 18
cost: 520
Time taken: 0 seconds
Matrix: 4, 4
Total iterations: 4
cost: 1000
Time taken: 0 seconds
Matrix: 1000, 1000
Matrix too large.
Total iterations: 99
cost: 990
Time taken: 6.49 seconds
Matrix: 1000, 1000
Matrix too large.
Total iterations: 499
cost: 422067
Time taken: 30.75 seconds
Matrix: 2000, 2000
Matrix too large.
Total iterations: 999
cost: 1713126
Time taken: 245.66 seconds
Filename: Matrix: 10000, 10000
Matrix too large.
Total iterations: 999
cost: 9990000
Time taken: 5594.67 seconds
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment