Extended Time Limits : Python and other languages.

Правка en4, от KadiyalaSaiManoj, 2016-06-04 10:26:59

In some of the problems i have done in codeforces, some algorithms which pass in c are not passing in python. As most of you know python is slower, but this should not be a problem, sometimes pypy2 is fast enough to pass the time limit, but pypy3 is still weak and is sometimes slower than python3 , so for users using python3 this is becoming a problem.

This can be solved by creating a list of factors for each language which you multiply to the time limit to make the python3 codes pass.

Eg: if time limit is 2 sec

LanguageFactorTime Limit
C/C++1.02 sec
java2.04 sec
python2/3/pypy34.08 sec
pypy22.04 sec

These factors are just my opinion and can be decided by the CF team, I am not asking for the exact time limits as above but just asking to consider language wise time limits.
What do you people think?

I think hackerrank uses extended time limits, do any other site use it?
Hackerrank time limits

Have anyone faced similar problems like this.

Теги time limit, time exceeded

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en4 Английский KadiyalaSaiManoj 2016-06-04 10:26:59 186
en3 Английский KadiyalaSaiManoj 2016-06-04 08:31:41 70
en2 Английский KadiyalaSaiManoj 2016-06-04 08:22:00 357 Tiny change: 'is 2 sec\nLanguage ' -
en1 Английский KadiyalaSaiManoj 2016-06-04 08:04:05 955 Initial revision (published)