Ad
  • Default User Avatar

    I copy a post from @B1ts below:
    "Also, it looks like you're actually calculating the factorial itself. That's way too slow and not gonna work for bigger numbers. There's another way to solve it."