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
-
6501 Solvers
-
Return the first and last characters of a character array
6023 Solvers
-
Given a window, how many subsets of a vector sum positive
813 Solvers
-
Create logical matrix with a specific row and column sums
223 Solvers
-
The Answer to Life, the Universe, and Everything
435 Solvers
More from this Author255
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!