Ad
  • Custom User Avatar

    Hi @rsetkus. Sorry you feel that way.

    I was only saying that when many people pass a Kata and you have not then that make your solution the "odd-one-out" - not the other way around. I am happy to be proven wrong, but I don't have time to chase shadows every time somebody claims a test problem but has no evidence to substantiate it.

    Since you have now unlocked the Kata what did you find? Dd you find the cause of the problem? Was it test related? Was it description related? What do you suggest I do to improve this Kata?

    FYI - I'm pretty sure those numbers have a different meaning to what you say. I thought they are specific to the language. AFAIK it means something like this.

    • Java 47/143 = 47 people passed Java version
    • JavaScript 54/143 = 54 people passed Javascript version
    • Python 46/143 = 46 people passed Python version
    • total people passed = 143

    EDIT: Actually you can just "hover" your cursor over that number (47 of 143) and see the tooltip confirms what I said.

  • Custom User Avatar

    *It looks correct on my end so it must be your problem bla bla bla*

    If you want to actually help us looking for any potential issues, you should post your solution code with spoilers, and not being passive-aggressive over the whole thing. The latter is not actionable or helpful in any sense.

  • Custom User Avatar

    Oh this must be sarcasm, isn't it?! Very polite from you.

    I am not stating that my solution is correct. I am just saying that my solution meets all necessary requirements and passes all sample tests and some extra tests. From the output I can see that my algorithm calculated as intentd but expected count is different. It doesn't mean it is correct whatsoever. I am sure that I am missing something but this is the problem of inconsistent description of problem.

    Moreover, all failing methods are named after randomX which gives me clue that test consists of piece of code which generates data input. How you can be sure that is correct? Maybe it was a coinsidence for 47 attempts that those methods generated correct data input?

    About the numbers. For your information, did you know that 141 is total attempts (I think), it does't mean that they completed? If I am not mistaken 47 from 141 (about the third) managed to finish it. Two thirds gave up. Me to moving on as well. Unlocking this Kata.

  • Custom User Avatar

    Without evidence and only "doubts" I suggest perhaps consider the numbers - 141 other users have already passed this Kata OK which means they passed the random tests also.

    There are only 2 possibilities:

    1. 141 other people somehow all got it wrong, and your solution is the one true correct one
    2. 141 other people are correct, and your solution is not
  • Custom User Avatar

    All random tests are failing. Are you sure that they are correct? I have doubts about these tests. How come all other edge cases scenarios are passsing but just not these random?

  • Custom User Avatar

    It says already:

    -1.5 means they already passed my starting point 1.5 minutes ago

  • Custom User Avatar

    "Their time (relative to me)"

    Can you explain this in more details. Is it the time used in context of other car speed on used in context of my speed?
    For instance, -1.5 other car is ahead from me 1.5 mins by other card speed or by my speed?

  • Custom User Avatar

    Sure, simply print the input values to console:

    e.g.

    • Javascript - console.log...
    • Java - System.out.println...
    • etc
  • Custom User Avatar

    Passed first sample test cases but failing other tests on submition. My logic says it should be fine but your test assertations says NO ITS WRONG. Just, wondering would it be possible to get all inputs of test methods?