ojudge

A competitive programming judging platform written in OCaml
git clone git://git.laack.co/ojudge.git
Log | Files | Refs | README

problems (214B)


      1 #!/bin/sh
      2 
      3 echo "Content-Type: text/html"
      4 echo
      5 
      6 id=${PATH_INFO##*/}
      7 
      8 echo "<h1>Problem: $id</h1>"
      9 cat "/var/lib/ojudge/problems/$id/problem.html"
     10 echo "<p><a href=\"/cgi-bin/submit/$id\">Submit a solution</a></p>"