• Sign Up
    Time to claim your honor
  • Training
  • Practice
    Complete challenging Kata to earn honor and ranks. Re-train to hone technique
  • Freestyle Sparring
    Take turns remixing and refactoring others code through Kumite
  • Community
  • Leaderboards
    Achieve honor and move up the global leaderboards
  • Chat
    Join our Discord server and chat with your fellow code warriors
  • Discussions
    View our Github Discussions board to discuss general Codewars topics
  • About
  • Docs
    Learn about all of the different aspects of Codewars
  • Blog
    Read the latest news from Codewars and the community
  • Log In
  • Sign Up
Valek Avatar
Name:Unknown
Clan:Betway
Member Since:Oct 2016
Last Seen:Jun 2018
Profiles:
    Following:15
    Followers:16
    Allies:15
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (259)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • hobovsky
      • resolved a suggestion on "Big Big Big Padovan Number " kata
      • 4 months ago

      Approved

    • Custom User Avatar
      • KayleighWasTaken
      • commented on "Big Big Big Padovan Number " kata
      • 8 months ago

      int to str conversion in Python is comedically slow, I doubt the runner could even stringify the really fuckhuge numbers we get here in time to show them to you. Even if it can you still have the 1.5MB reporter buffer limit to deal with (I'm pretty sure the largest inputs don't even fit within it).

    • Custom User Avatar
      • Davo36
      • commented on "Big Big Big Padovan Number " kata
      • 8 months ago

      Yes you're right. I just get this error when I print the larger int values. I guess the ints get converted to strings first, and there's a limit on string lengths.

      "ValueError: Exceeds the limit (4300) for integer string conversion; use sys.set_int_max_str_digits() to increase the limit"

    • Custom User Avatar
      • Davo36
      • commented on "Big Big Big Padovan Number " kata
      • 8 months ago

      See above, this occurs when you print the integer value.

    • Custom User Avatar
      • artem-totality
      • commented on "Big Big Big Padovan Number " kata
      • 9 months ago

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

    • Custom User Avatar
      • KayleighWasTaken
      • commented on "Big Big Big Padovan Number " kata
      • 9 months ago

      Well when we consider that 200 people have, it would appear to be completely unncessary. We can't even work out how on earth using that would help tbh.

    • Custom User Avatar
      • Davo36
      • commented on "Big Big Big Padovan Number " kata
      • 9 months ago

      In particular I don't think you can solve the problem without a call to this: sys.set_int_max_str_digits()

    • Custom User Avatar
      • KayleighWasTaken
      • commented on "Big Big Big Padovan Number " kata
      • 9 months ago

      In what way is it needed? No solutions were invalidated and it was already banned before.

      Also, sys being banned is just part of the module forbidder in order to give it some chance of working.

    • Custom User Avatar
      • Davo36
      • commented on "Big Big Big Padovan Number " kata
      • 9 months ago

      Did you ban sys? It's needed for large ints in Python.

    • Custom User Avatar
      • KayleighWasTaken
      • created a suggestion for "Big Big Big Padovan Number " kata
      • 9 months ago

      Should probably switch to returning answers mod 1e9+7 or similar. Poor design when most of the runtime is taken up by bigint maths that the user has no control over.

      For example, we converted our Scala translation to use Longs instead and it can handle the performance tests in 5ms rather than 4000ms.

    • Custom User Avatar
      • KayleighWasTaken
      • created a suggestion for "Big Big Big Padovan Number " kata
      • 9 months ago

      Scala translation

    • Custom User Avatar
      • KayleighWasTaken
      • resolved an issue on "Big Big Big Padovan Number " kata
      • 9 months ago

      Fixed, module forbidder also updated.

    • Custom User Avatar
      • KayleighWasTaken
      • resolved an issue on "Big Big Big Padovan Number " kata
      • 9 months ago

      Fixed.

      The Python test bounds were also a lie, it only ever went up to 1_000_000.

    • Custom User Avatar
      • KayleighWasTaken
      • created an issue for "Big Big Big Padovan Number " kata
      • 9 months ago

      Python new test framework required.

    • Custom User Avatar
      • KayleighWasTaken
      • created an issue for "Big Big Big Padovan Number " kata
      • 9 months ago

      Haskell and JS:

      • Description does not specify random test bounds.
    • Loading more items...
    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...