Ad
  • Default User Avatar

    Fixed.

  • Default User Avatar

    This is actually still a problem. Truncating decimal values for the seconds does not work for all random test cases. Truncating/dropping decimal values if the same as using floor(), however using floor does not work. Rounding (as in round()) works 90% of the time and ceil() definitely does not work.

  • Custom User Avatar

    I don't always truncate:-) In this case yes: it was what I meant when I wrote in the description

    Don't worry for fractions of second

    @bkaes: thanks for your answer!

  • Custom User Avatar

    As far as I know g964, truncate all floating point values, and keep in mind that the speed is given in "something per hour", where the smallest unit you have to return is seconds.