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
Show commentsProblem Recent Solvers45
Suggested Problems
-
Project Euler: Problem 9, Pythagorean numbers
996 Solvers
-
60 Solvers
-
Create a matrix X, where each column is a shifted copy of the vector v
181 Solvers
-
Construct an index vector from two input vectors in vectorized fashion
365 Solvers
-
Multiples of a Number in a Given Range
515 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!