• 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
Night2k5 Avatar
Name:Unknown
Clan:xteam
Member Since:Jul 2020
Last Seen:Feb 2025
Profiles:
    Following:1
    Followers:1
    Allies:1
    View Profile Badges
    • Stats
    • Kata
    • Collections
    • Kumite
    • Social
    • Discourse
    • Conversations (10)
    • Replies
    • Authored
    • Needs Resolution
    • Custom User Avatar
      • Night2k5
      • commented on "Can you keep a secret?" kata
      • 5 years ago

      Same. Cannot solve this.

    • Custom User Avatar
      • FArekkusu
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      Don't use global variables.

    • Custom User Avatar
      • hobovsky
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      Okay, so a couple of things: there are no 30000 tests. there are ~120 tests only.
      Your solution makes the test suite confused. As much as I see, it's because of the array parameter which you pass from function to function and mutate on the way, and the array grows, and grows, and then test suite performs assertions on it, and...

      Once you get rid of array parameter in your top level function, things should work.

      At least that's what I think that happens. That;s what you get for using JS, sorry.

    • Custom User Avatar
      • Night2k5
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

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

    • Custom User Avatar
      • hobovsky
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      Then it's interesting, because I had no such problem. Maybe you could share your code so we could take a look?

    • Custom User Avatar
      • Night2k5
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      I removed all my console debug outputs. Doesn't change the outcome.
      Language is Javascript

    • Custom User Avatar
      • user9644768
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      For noobs: https://www.youtube.com/watch?v=Wim9WJeDTHQ :P

    • Custom User Avatar
      • hobovsky
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      I solved the kata in JS without any problem. You need to reduce amount of printing in your solution (or, preferably, remove all of it).

      I still do not know what;s so special about 277777788888899 tho.

    • Custom User Avatar
      • hobovsky
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      What language?

    • Custom User Avatar
      • Night2k5
      • commented on "Multiplicative Persistence... What's special about 277777788888899?" kata
      • 5 years ago

      STDERR
      Max Buffer Size Reached (1.5 MiB)

      Is it just me, or are there too many tests on this kata?
      The problem itself isn't really a problem since it is already solved by https://www.codewars.com/kata/55bf01e5a717a0d57e0000ec with some minor tweaks.
      But i constantly run into Exit Code: 137

      Some additional information :
      Time: 2972ms Passed: 30468 Failed: 0 Exit Code: 137

      Could somebody tell me what's wrong?

    • © 2025 Codewars
    • About
    • API
    • Blog
    • Privacy
    • Terms
    • Code of Conduct
    • Contact

    Confirm

    • Cancel
    • Confirm

    Collect: undefined

    Loading collection data...