Problem 1942. GJam 2014 China Rd B: Party
Solution Stats
Solution Comments
-
1 Comment
Alfonso Nieto-Castanon
on 20 Oct 2013
I am sure there are other more subtle ways to go about it but this seems about as fast as I can make it for a general brute-force solution (0.11s)
-
1 Comment
Tim
on 18 Oct 2013
This one seems to work for the large test case, too, although it is not a general solution [for size(p,1)>100 it only tests corner points].
Problem Recent Solvers5
Suggested Problems
-
6583 Solvers
-
10857 Solvers
-
Convert a vector into a number
579 Solvers
-
648 Solvers
-
Sum the 'edge' values of a matrix
311 Solvers
More from this Author260
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!