Ad
  • Default User Avatar

    Are you getting some sort of error or just time out?

  • Default User Avatar

    So i tried these numbers on my local pc and everything works fine, also for 933555431. Still I don't know the issue. Could it be lack of memory or sth like that? What is more iteresting, my code also crashes or returns a bad value with 7919 on input, where it's a very easy case and also looks fine on my local machine.

  • Default User Avatar

    Ooh, I didn't think about it. Thank you for help, I will check this out, also for cases from codewars.

  • Default User Avatar

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