Variable time limits for programming languages.

How does CodeChef calculate time limits for different programming languages? Is the time limit mentioned on the problem page same for all the languages?

2 Likes

CodeChef employs variable time limits for different programming languages. We have inbuilt multipliers for interpreted languages. You can find the multiplier for each language in our blog post. However these inbuilt multipliers may not suffice for some algorithms and hence we also give our problem setter/tester the freedom to choose this multiplier for each language. Our testing process covers both the best case and the worst case algorithm and time limits are chosen based on this process.

1 Like