Problem 2398. FIFA World Cup 2014 : Offside
Solution Stats
Problem Comments
-
2 Comments
Tim
on 3 Jul 2014
In test case 3, the closest players to goalie 1 are all 3's--aren't they offside?
rifat
on 3 Jul 2014
Thanks for pointing it out :-).. Corrected that. In reality, it wont be offside, since team 1 is in attack. However, I found it kind of difficult to define one team being in attack. So, corrected it anyway.
Problem Recent Solvers14
Suggested Problems
-
511 Solvers
-
Back to basics 17 - white space
252 Solvers
-
Generate a vector like 1,2,2,3,3,3,4,4,4,4
6697 Solvers
-
Cell Counting: How Many Draws?
1071 Solvers
-
251 Solvers
More from this Author44
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!