What is the time limit in WTBTR problem?

Please look at three points below, that contradict to each other:

  1. In the description of WTBTR it is mentioned that time limit is 1 sec.
  2. I am getting TLE (2.010000) in my submissions (like this one).
  3. Lots of successful submissions that exceed even 4 secs.

Time limit is always language dependent. The given Time Limit 1 sec is for c or c++.
Other languages have Time multipliers.
For Java, Time Limit=1sec * 2=2 sec
For Python, Time Limit=1sec * 5=5 sec
and so on :blush:


Thanks for the reply!

1 Like