From 91f585b3fdd9e64c086b21da35bebdc401e2e476 Mon Sep 17 00:00:00 2001 From: cassiopc Date: Fri, 31 Aug 2012 10:08:29 +0200 Subject: inclusion of interface to create the zip of a problem --- boca-1.5.0/src/admin/buildproblem.php | 107 ++++++++++++++++++++++++++++++++++ 1 file changed, 107 insertions(+) create mode 100644 boca-1.5.0/src/admin/buildproblem.php (limited to 'boca-1.5.0/src/admin/buildproblem.php') diff --git a/boca-1.5.0/src/admin/buildproblem.php b/boca-1.5.0/src/admin/buildproblem.php new file mode 100644 index 0000000..f651002 --- /dev/null +++ b/boca-1.5.0/src/admin/buildproblem.php @@ -0,0 +1,107 @@ +. +//////////////////////////////////////////////////////////////////////////////// +// Last modified 31/aug/2012 by cassio@ime.usp.br +require('header.php'); +if(($ct = DBContestInfo($_SESSION["usertable"]["contestnumber"])) == null) + ForceLoad("../index.php"); + +?> +

+To build a problem package using standard script files, fill in the following fields. + +
+ + + +
+ + + + + + + + + + + + + + + + + + + + + + + + + +
Problem Fullname: + +
Problem Basename (a.k.a. name of class expected to have the main): + +
Description file (PDF, txt, ...): + +
Problem input file: + +
Problem correct output file: + +
Timelimit (in sec): + +(optional: use a , followed by the number of repetitions to run) +
+
+
+ + +
+ +
+ + + -- cgit v1.2.3