Ad
  • Custom User Avatar

    Thanks for the compliment and authoring this kata :)

  • Custom User Avatar

    @bmanandhar, I'm confused about what you mean by "star-sign" here. Personally, when solving a kata, most of the time I just type my solution directly into the Codewars solution box (part of that is because I'm wanting to practice for whiteboarding interview questions, so although it does give me syntax highlighting, it doesn't do autocompleting and some other things). But sometimes I write and test my solution in an editor, and then just copy and paste the code into the Codewars Solution box when I'm ready to run it against the test cases.

  • Custom User Avatar

    I did all I know w/o success. Can you tell me how guys upload the codes in general. Basically, I write codes on a different editor ('atom' or 'Anaconda-Spyder'), and load to the codewars browser window when it gets final, click the star-sign on a left hand upper corner next to a number. When loaded, I check by clicking the star-sign on the right hand upper corner to check if they are on the system.

  • Default User Avatar

    Ah now I see it, thanks! Yeah placing .charAt(0) and ^ is a bit redundant :)

  • Default User Avatar

    In which language?
    For Python, tests use date.now() and take hours, minutes and seconds into account too.
    Don't forget you have to round your output as said in description.

  • Custom User Avatar

    Thanks for the heads-up -- I will clean that up later!

  • Custom User Avatar

    Unfortunately, that problem is known to the author for more than a year. It's very unlikely that the description will change.