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
-
1554 Solvers
-
4795 Solvers
-
Find common elements in matrix rows
2079 Solvers
-
Is my wife right? Now with even more wrong husband
1302 Solvers
-
First non-zero element in each column
843 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!