]>
Commit | Line | Data |
---|---|---|
9da2f495 MG |
1 | <div class="row"> |
2 | <div class="col-md-9"> | |
3b69df7a | 3 | <div id="statement"></div> |
9da2f495 MG |
4 | </div> |
5 | ||
6067709f | 6 | <div class="col-md-3" id="sidebar"> |
9da2f495 | 7 | <dl> |
3b69df7a MG |
8 | <dt>Author</dt> <dd id="author">author</dd> |
9 | <dt>Owner</dt> <dd id="owner">owner</dd> | |
6eb88ef9 | 10 | <dt>Level</dt> <dd id="level">Easy</dd> |
39c82ba0 | 11 | <dt>Time limit (seconds)</dt> <dd smap="timeout">1</dd> |
2d5a49fc MG |
12 | <dt class="rc reqjs">Score</dt> <dd id="score" class="timer reqjs rc" data-start="..." data-stop="..." data-value="100">50</dd> |
13 | <dt class="rc reqjs">Contest ends in</dt> <dd id="countdown" class="timer reqjs rc" data-stop="...">01:30</dd> | |
9da2f495 MG |
14 | </dl> |
15 | ||
0379949e | 16 | <a href="/log/?problem=problem_id" id="job_log">Job log</a><br> |
e4d5bdf5 | 17 | <a href="/sol/problem_id" id="solution" data-toggle="modal" data-target="#solution_modal">Solution</a> |
491e82eb | 18 | |
9da2f495 | 19 | <h1>Submit solution</h1> |
a221db10 MG |
20 | |
21 | <div id="nosubmit"> | |
22 | The contest has finished.<br> | |
23 | To submit solutions to this problem, please visit the problem <a href="/pb/id">outside the contest</a>. | |
24 | </div> | |
25 | ||
26 | <div id="submit"> | |
63b23993 | 27 | <form id="submitform" action="/action/submit" method="POST" enctype="multipart/form-data" role="form"> |
3b69df7a MG |
28 | <input type="hidden" name="problem" value="problem_id"> |
29 | <input type="hidden" name="contest" value="contest_id"> | |
9da2f495 MG |
30 | |
31 | <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div> | |
32 | <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div> | |
33 | <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required> | |
4fed165b MG |
34 | <option value="C">C11 (gcc 4.7.2)</option> |
35 | <option value="CPP" selected>C++11 (g++ 4.7.2)</option> | |
8b15d6d1 MG |
36 | <option value="GCCGO">Go (gccgo 4.7.2)</option> |
37 | <option value="GOLANG">Go (gc 1.0.2)</option> | |
38 | <option value="HASKELL">Haskell (ghc 7.4.1)</option> | |
9255a642 | 39 | <option value="JAVA">Java (openjdk 7u75)</option> |
8b15d6d1 MG |
40 | <option value="PASCAL">Pascal (fpc 2.6.0)</option> |
41 | <option value="PERL">Perl (perl 5.14.2)</option> | |
42 | <option value="PYTHON">Python (python 2.7.3)</option> | |
f52063ee | 43 | <option value="RUBY">Ruby (ruby 2.2.1)</option> |
ebee7576 | 44 | <option value="SBCL">Common Lisp (sbcl 1.0.57)</option> |
d3200993 | 45 | </select></div> |
9da2f495 MG |
46 | |
47 | <input type="submit" value="Submit job" class="btn btn-primary"> | |
48 | </form> | |
3b69df7a | 49 | </div> |
9da2f495 | 50 | </div> |
491e82eb | 51 | </div> |
e4d5bdf5 MG |
52 | |
53 | <div class="modal fade" id="solution_modal" role="dialog" aria-hidden="true" tabindex="-1"> | |
19e5c235 | 54 | <div class="modal-dialog modal-lg"> |
e4d5bdf5 MG |
55 | <div class="modal-content"> |
56 | <div class="modal-header"> | |
57 | <button type="button" class="close" data-dismiss="modal"><span aria-hidden="true">×</span><span class="sr-only">Close</span></button> | |
58 | <h4 class="modal-title">Solution</h4> | |
59 | </div> | |
60 | <div class="modal-body"></div> | |
61 | </div> | |
62 | </div> | |
63 | </div> |