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 Language Factor time limit
c/c++ 1.0 2sec java 2.0 4sec python2/3 5.0 10sec pypy2 2.0 4sec pypy3 4.0 8sec
What do you people think?
I think hackerank uses extended time limits, do any other site use it?
Have anyone faced similar problems like this.