1 <div id="statement"></div>
5 <dt>Author</dt> <dd id="author">author</dd>
6 <dt>Owner</dt> <dd id="owner">owner</dd>
7 <dt>Level</dt> <dd id="level">Easy</dd>
8 <dt>Time limit (seconds)</dt> <dd smap="timeout">1</dd>
9 <dt class="rc reqjs">Score</dt> <dd id="score" class="rc">50</dd>
10 <dt class="rc reqjs">Contest ends in</dt> <dd id="countdown" class="timer reqjs rc" data-stop="...">01:30</dd>
13 <a href="/log/?problem=problem_id" id="job_log">Job log</a><br>
14 <a href="/sol/problem_id" id="solution">Solution</a>
16 <h1>Submit solution</h1>
19 <form id="submitform" action="/action/submit" method="POST" enctype="multipart/form-data" role="form">
20 <input type="hidden" name="problem" value="problem_id">
21 <input type="hidden" name="contest" value="contest_id">
23 <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div>
24 <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div>
25 <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required>
26 <option value="C">C11 (gcc 4.9.2)</option>
27 <option value="CPP" selected>C++11 (g++ 4.9.2)</option>
28 <option value="GCCGO">Go (gccgo 4.9.2)</option>
29 <option value="GOLANG">Go (gc 1.3.3)</option>
30 <!-- <option value="GOLFSCRIPT">Golfscript (golfscript.rb)</option> -->
31 <option value="HASKELL">Haskell (ghc 7.6.3)</option>
32 <option value="JAVA">Java (openjdk 7u75)</option>
33 <option value="PASCAL">Pascal (fpc 2.6.4)</option>
34 <option value="PERL">Perl (perl 5.20.2)</option>
35 <option value="PYTHON">Python (python 2.7.9)</option>
36 <option value="RUBY">Ruby (ruby 2.1.5)</option>
37 <option value="SBCL">Common Lisp (sbcl 1.2.4)</option>
40 <input type="submit" value="Submit job" class="btn btn-primary">
45 <div class="hidden backdrop"></div>
46 <div id="solution_modal" class="hidden modal"></div>