Problem 577. Repopulate the City
Solution Stats
Problem Comments
-
3 Comments
@bmtran (Bryant Tran)
on 13 Apr 2012
It looks like there's an error in the test suite; test cases 3 and 4 have different length d and n vectors.
Ned Gulley
on 13 Apr 2012
Oof! I hate it when that happens. Fixed it. Thanks for the note.
Ben Westcott
on 13 Jul 2022
Great head-scratcher!
Solution Comments
-
1 Comment
Divyanshu
on 13 Jul 2022
Interesting problem
-
1 Comment
Devin Allen
on 4 Jun 2022
great solution, manages to tie the cheat solution also at 33 :-)
Problem Recent Solvers44
Suggested Problems
-
59 Solvers
-
Back to basics 25 - Valid variable names
316 Solvers
-
172 Solvers
-
320 Solvers
-
Count consecutive 0's in between values of 1
301 Solvers
More from this Author50
Problem Tags
Community Treasure Hunt
Find the treasures in MATLAB Central and discover how the community can help you!
Start Hunting!