Ad
  • Custom User Avatar

    But i mean u see the point, i will try to redesign the code, but if the error occurs again, then this task is doomed for me...

  • Custom User Avatar

    This does not sound right. When I try to run your solution, I get this message:

    < Incorrect Result >
    latest_clock(0, 2, 2, 2)
     
    Submitted: "22:00"
    Expected:  "22:20"
    
  • Custom User Avatar

    Ok, now it is working on test without modifing it, but still randoms just do not go, it writes like "23:08" wrong, needed "23:08".

  • Custom User Avatar

    Your code has a small bug.

    The comment in the initial setup says: // The result should be [...] correctly null-terminated. and your code is not doing this.

  • Custom User Avatar

    After deleting one question mark from given in predone tests, it works! But still crashes because i cannot change the random tests that come afterwards... ):

  • Custom User Avatar

    Bruh, The C Translation is imposible, because of the string that waits for 7 chars. (In feedback only 5 chars (12:45), Making C Vatiant imposible, i mean for me...)

  • Custom User Avatar

    This Kata should be more then 6. At least 5. It was fun and challenging before I passed all the tests.

  • Custom User Avatar

    To be honest, this task deserves more than 6 kata. Excellent work!

  • Custom User Avatar

    that was very interesting, thanks!

  • Custom User Avatar

    Very good and funny Kata! Thanks to author!!!

  • Custom User Avatar

    Approved by someone

  • Custom User Avatar

    C Translation (author inactive).

  • Custom User Avatar

    Make sure your function is called latest_clock and not late_clock or something else. You may also want to read this article to know how Codewars kata work.

  • Custom User Avatar

    Help me! My code passes, but I still this messages. In my conde, I don´t try to import latest_clock from solution

    Traceback (most recent call last):
    File "/workspace/default/tests.py", line 5, in
    from solution import latest_clock
    ImportError: cannot import name 'latest_clock' from 'solution' (/workspace/default/solution.py)

    During handling of the above exception, another exception occurred:

    Traceback (most recent call last):
    File "/workspace/default/tests.py", line 7, in
    from solution import late_clock as latest_clock
    ImportError: cannot import name 'late_clock' from 'solution' (/workspace/default/solution.py)

  • Custom User Avatar

    Merged

  • Loading more items...