Creating a judge for my school

Revision en1, by hugox14, 2018-06-13 19:08:33

Hi, I'm currently working on a project using PHP to develop a judge where my colleagues can send solutions to exercises that are typically from a basic programming course. All solutions must be written in python.

The code is executed in exec() and then the user's output is stored in a .txt file. Later the system reads that file and compares it with a .txt file that has the correct outputs.

The problem is that I can not know when TLE occurs. When a user sends a python file with an infinite buble for example, the web page hangs.

If you have some tip or similar experience I would appreciate it very much.

Tags judge, project, app development, php

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English hugox14 2018-06-13 19:08:33 649 Initial revision (published)