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 Solvers43
Suggested Problems
-
Remove any row in which a NaN appears
7660 Solvers
-
Omit columns averages from a matrix
547 Solvers
-
Magic is simple (for beginners)
5488 Solvers
-
Golomb's self-describing sequence (based on Euler 341)
131 Solvers
-
243 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!