Ad
  • Custom User Avatar

    Yeah I ran into this issue as well it is really quite silly

  • Custom User Avatar

    Number of tests are scaled as per the total time (runtime + compilation time) of languages hence the required time complexity is roughly same across all languages.

    and I've done this in python.

  • Custom User Avatar

    The author should have knowon that Python is slow and not capable of doing all of this under 12000 ms
    instead of putting unnecessary tests that are impossible to do under 12000 ms

    My code is just 2 lines (could have been 1 but this is for better excution time) and it still gives
    me an Execution Timed Out (12000 ms) Error.

    I'm not using for loop, or while loop, or anything that could be
    possibly slowing down the program, I am just using math library (which is pure C) with len, strip functions
    (which are pure C too)