Ad
  • Custom User Avatar

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

  • Custom User Avatar

    May be i choosed strange way to solve this task: iterate from first day to last day, remove values less than day from input array. But i can't pass medium tests and 2nd basic third REALTIME day in a row :) Yep...I red how to round in description and comments, but still can't understand how to do it correct...I'm using math.ceil()

    2nd basic test. 10nd day
    62.00000000000001 rounding to 63. But in correct result 62...why???

  • Custom User Avatar

    sorry i found this page, but was thinking that ` = ' ...

  • Custom User Avatar

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

  • Custom User Avatar

    Please explain me somebody how to deal with values like -54--53 or -68--66 in input list? I'm trying convert it to str in cycle, but it gives me result: -1 or -2. I don't see other method to put it in returning string. Or should i just see solutions because i'm tottaly in other way to deal with this kata?

  • Custom User Avatar

    can you explain me pls why is it happening?
    btw at first i was trying use int(1/epsilon + 0.5). it's working different for couple examples and this i can't understand too, because it should round number to bigger like math.ceil, isn't it?

  • Custom User Avatar

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