Ad
  • Custom User Avatar

    Thank's every one for reply I got the problem. It was in checking if a number is Prime or not what I did was check i < Math.sqrt(n) which should have been i <= Math.sqrt(n).

  • Custom User Avatar

    hobovsky that was the first thing that I chacked still no luck , I am probably doing similar silly mistake here, I will try again.

  • Custom User Avatar

    Not a chance because this is also the case where the '1' is not supposed to be tested , for eg (48,2838);

  • Custom User Avatar

    why the solutions dont work when I do console.log(omnibool == true) or vice versa?

  • Custom User Avatar

    My solution paases ~60% of final tests on submit but rest of ~40% results are off by 1 from the expected results. ie if the Expected result if 44 , my function outputs 45

    Strangest part is my wrong results are only off by 1

    Any suggestions?

  • Custom User Avatar

    My JS algorithm can successfully qualify 101/108 test cases however for few test cases (minor) my algorithm doesn't seems to function as expected my result is out order but is similar to expected result but yet not deeply equal. According to me It shoud have passed the test . So I request the author to verify the results.

  • Custom User Avatar

    I recently completed an 3kyu kata "Alphabetic Anagrams" . As per the codewars Ranking & Honor . My score should have been increased by 149. But instead it increased by ~28. Please let me know the reason for it.

  • Custom User Avatar

    I wanted to know once the "game over" occurs, how is the state of the variables holding the values ie location of "square" is reset?

    Also I am getting few random errors for eg after passing more than ~(50 - 150) tests I get errors where my program outputs wrong "square" value or wrong "player" itself.

    If my program can pass upto 50 tests continuously then, why do I get random errors?

    Thanks