]>
Commit | Line | Data |
---|---|---|
3b69df7a | 1 | <div id="statement"></div> |
9da2f495 | 2 | |
e8147a94 | 3 | <aside id="sidebar"> |
9da2f495 | 4 | <dl> |
3b69df7a MG |
5 | <dt>Author</dt> <dd id="author">author</dd> |
6 | <dt>Owner</dt> <dd id="owner">owner</dd> | |
6eb88ef9 | 7 | <dt>Level</dt> <dd id="level">Easy</dd> |
39c82ba0 | 8 | <dt>Time limit (seconds)</dt> <dd smap="timeout">1</dd> |
2d5a49fc MG |
9 | <dt class="rc reqjs">Score</dt> <dd id="score" class="timer reqjs rc" data-start="..." data-stop="..." data-value="100">50</dd> |
10 | <dt class="rc reqjs">Contest ends in</dt> <dd id="countdown" class="timer reqjs rc" data-stop="...">01:30</dd> | |
9da2f495 MG |
11 | </dl> |
12 | ||
0379949e | 13 | <a href="/log/?problem=problem_id" id="job_log">Job log</a><br> |
0f578ab0 | 14 | <a href="/sol/problem_id" id="solution">Solution</a> |
491e82eb | 15 | |
928a611f | 16 | <h1>Submit solution</h1> |
a221db10 | 17 | |
928a611f | 18 | <div id="submit"> |
63b23993 | 19 | <form id="submitform" action="/action/submit" method="POST" enctype="multipart/form-data" role="form"> |
3b69df7a MG |
20 | <input type="hidden" name="problem" value="problem_id"> |
21 | <input type="hidden" name="contest" value="contest_id"> | |
9da2f495 MG |
22 | |
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> | |
3b69df7a | 26 | <option value="C">C (gcc)</option> |
f947d5cb | 27 | <option value="CPP" selected>C++ (g++)</option> |
3b69df7a MG |
28 | <option value="GCCGO">Go (gccgo)</option> |
29 | <option value="GOLANG">Go (gc)</option> | |
d39978bf | 30 | <option value="GOLFSCRIPT">Golfscript (golfscript.rb)</option> |
3b69df7a MG |
31 | <option value="HASKELL">Haskell (ghc)</option> |
32 | <option value="JAVA">Java (javac)</option> | |
33 | <option value="PASCAL">Pascal (fpc)</option> | |
34 | <option value="PERL">Perl (perl)</option> | |
35 | <option value="PYTHON">Python (python)</option> | |
137c1af1 | 36 | <option value="RUBY">Ruby (ruby)</option> |
e6d1bcd4 | 37 | <option value="SBCL">Common Lisp (sbcl)</option> |
d3200993 | 38 | </select></div> |
9da2f495 MG |
39 | |
40 | <input type="submit" value="Submit job" class="btn btn-primary"> | |
41 | </form> | |
3b69df7a | 42 | </div> |
e8147a94 | 43 | </aside> |
e4d5bdf5 | 44 | |
03720101 | 45 | <div class="hidden backdrop"></div> |
0f578ab0 | 46 | <div id="solution_modal" class="hidden modal"></div> |