-
Notifications
You must be signed in to change notification settings - Fork 14
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Time limit differences between C/C++, Java and Python #77
Comments
Good blog post! I agree with the author that having multiple time limits This is going to make some problems unsolvable in these languages, but in We should probably review the limits of some of the lower division tasks On Friday, December 26, 2014, Vasil Sarafov [email protected]
Sent from my iPhone |
There was a suggestion by a contributor to make a bootstrap wrapper for the Java sources and use it to run the Java sources and measure only the execution time of the source without including the JVM startup time. This might work and I am waiting on him to provide such a wrapper. The wrapper should load the .class file without executing the initializers, run the main function and report time and memory usage. We can think then how to integrate this in the current docker setup. |
The major problem when grading submissions, written in several different programming languages, is the proper time limit for every single language. According to a variety of sources it is truly a very tricky and hard task to accomplish, but as much as I have seen and read most of the judging systems set the Java time limits from 2 to 3 times bigger than the C/C++. I don't have much information about the situation with Python but this website says the difference between Python and C/C++ when regarding time limits for algorithmic tasks is pretty high as well (from 6 to 10).
What I suggest is the following:
The text was updated successfully, but these errors were encountered: