Problem 1907. Capture the flag(s)
Solution Stats
Problem Comments
-
1 Comment
Paul Berglund
on 1 Oct 2013
I love the fact that you put an animation option in. It's not just helpful to see where your heuristic is messing up, it's fun to watch too.
Solution Comments
-
1 Comment
Paul Berglund
on 1 Oct 2013
OK, at the cost of taking twice the running time I was able to squeeze into Cody's tiny memory. Now I can think about improving the heuristic...
-
1 Comment
Paul Berglund
on 1 Oct 2013
This runs fine on my machine but I guess Cody is running without very much memory, so it can't handle it...well it was only scoring about 3000 anyway.
Problem Recent Solvers6
Suggested Problems
-
Given an unsigned integer x, find the largest y by rearranging the bits in x
1376 Solvers
-
237 Solvers
-
67 Solvers
-
323 Solvers
-
Numbers with prime factors 2, 3 and 5.
413 Solvers
More from this Author38
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!