Ad
  • Default User Avatar

    Print the input.

  • Default User Avatar

    Completely agree with this. It is very hard to find out what went wrong with tests when you don't see the input parameters.

  • Default User Avatar

    The description is messed up:

    1. Don't forget to Math.Floor (or cast to int, or whatever your preferred approach is) the incremental population numbers before moving on to the next cycle (year).
    2. Another one, divide percent by 100.

    Overall, good idea, but poor execution on site creators' part.

    CodeWarsRespect--