Ad
  • Default 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).

  • Default 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.

  • Default User Avatar

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

  • Default User Avatar

    1 is not a prime number. Its probably the problem here.

  • Default User Avatar

    It seems I have made a mistake. 1 Is not a prime number as I thought.

  • Default User Avatar

    This comment is hidden because it contains spoiler information about the solution

  • Default User Avatar

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

  • Custom User Avatar

    Check if you correctly include/exclude upper (and lower) bound of the range in your answer.

  • Default User Avatar

    same bro

  • Default 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

    149 is the internal points you get for rank progress. You get 32 honor for solving blue katas (3 and 4 kyu). The points displayed is honor.

  • Default User Avatar

    C translation kumited. Author is inactive.

  • Custom User Avatar

    The result should be sorted in ascending order.

    my result is out order

    82_harsh: Then your code is the problem. Probably your sorting algorithm isn't right.

    B1ts: The input will consist of unique values.

  • Custom User Avatar

    JS tests are fine. You must be failing some edge cases (maybe repeating numbers?)

  • Default 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.

  • Loading more items...