ngsankha / codejudge

host coding competitions anywhere, anytime
http://sankhs.com/codejudge
MIT License
90 stars 53 forks source link

Add a timer when checking solutions #1

Closed ngsankha closed 12 years ago

ngsankha commented 12 years ago

Currently there is no timer implemented in the Codejudge Compiler Server Java code. Thus the eval.php file will not return if somebody submits a program that takes very long to complete or infinite time to complete.

Thus a timer needs to implemented, that will run the program for a specified maximum time only. If the program takes more than that it will be terminated and the user will be shown an appropriate message. Things required to implement it are:

ngsankha commented 12 years ago

Closed by commits from f14c6722a1 to cb54f79929.