Ad
  • Custom User Avatar

    Yes many have the same problem: code too slow...

  • Custom User Avatar

    Hi,

    that means that, even if your code output the correct result, it's not fast enough (hence, not "good enough"). => you need to change your approach to have a better time complexity.

    cheers

  • Custom User Avatar

    I wrote good code, but all time I get "Timed Out", such anoying feeling :P
    Anybody else have the same problem?

  • Custom User Avatar

    Why the replace? And normally when you use split, you'll want to use another method to join them again, not doing it manually.
    Remember to mark your post as having spoiler content when you post code like that, even if it doesn't work.

  • Custom User Avatar

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

  • Custom User Avatar

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