Sandbox of algorithm competition online evaluation system and implementation method of sandbox

The invention particularly relates to a sandbox of an algorithm competition online evaluation system and an implementation method of the sandbox. According to the sandbox of the algorithm competition online evaluation system and the implementation method of the sandbox, a runclient evaluation functi...

Ausführliche Beschreibung

Gespeichert in:
Bibliographische Detailangaben
Hauptverfasser: ZHOU YONGJIN, XIA CHUANTAO, LI GUOTAO, HU QING
Format: Patent
Sprache:chi ; eng
Schlagworte:
Online-Zugang:Volltext bestellen
Tags: Tag hinzufügen
Keine Tags, Fügen Sie den ersten Tag hinzu!
Beschreibung
Zusammenfassung:The invention particularly relates to a sandbox of an algorithm competition online evaluation system and an implementation method of the sandbox. According to the sandbox of the algorithm competition online evaluation system and the implementation method of the sandbox, a runclient evaluation function is called through a judgeclient process to generate a sandbox environment; using an rlimit command to limit the upper limit of the resource which can be obtained by the user program; a Judge end is used for storing a judgment question queue through a jobs array, if the queue is not empty, the submission number is returned, the Judge end is used for starting a user program, standard input and output needed by evaluation are redirected to a corresponding file, and a corresponding judgment result and state are returned; and attack during operation and attack during compiling are prevented. According to the sandbox of the algorithm competition online evaluation system and the implementation method of the sandbox, by