Ad
  • Custom User Avatar

    See the example in the description, at the end of the third year you already have 1213. Percent is 2, not 0.02 in that test.

  • Default User Avatar

    I quess that there is smth wrong with the test, cause with parameters p0=1000, percent=0.02, aug=50 and p=1214 the right answer must be 5, but expected 4. I even tried to calculate it manually, and got that if we spent 4 years then we will get 1200,8 with is less than 1214. Could someone help me with it?

  • Custom User Avatar

    This comment is hidden because it contains spoiler information about the solution