Ad
  • Default User Avatar

    There's sometimes a problem with the client when trying to submit solutions. Refreshing the page usually solves the "unknown error" issue.
    The "6000ms" error is 99% of the time due to an unoptimized algorithm. The Kata details hint at the algorithm needing to work with big numbers. Iterating through all the numbers won't work in the time constraint.

  • Custom User Avatar

    Try testing with numbers in the range mentioned in the description. Also, try testing with negative n's.