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
-
6522 Solvers
-
Count from 0 to N^M in base N.
231 Solvers
-
10536 Solvers
-
Rotate and display numbered tile
293 Solvers
-
Generate a string like abbcccddddeeeee
254 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!