]>
Commit | Line | Data |
---|---|---|
9da2f495 MG |
1 | <div class="row"> |
2 | <div class="col-md-9"> | |
3 | <tmpl_var ESCAPE=0 statement> | |
4 | </div> | |
5 | ||
6 | <div class="col-md-3"> | |
01c59698 MG |
7 | <div id="sidebar"></div> |
8 | ||
9 | <h3>Problem information</h3> | |
9da2f495 | 10 | <dl> |
c7c09ff9 | 11 | <dt>Time limit:</dt> <dd><tmpl_var timeout> s</dd> |
9da2f495 | 12 | <dt>Author</dt> <dd><tmpl_var author></dd> |
da1d7cda | 13 | <dt>Statement by</dt> <dd><tmpl_var writer></dd> |
1ad43ccc | 14 | <dt>Owner</dt> <dd><a href="/us/<tmpl_var owner>"><tmpl_if owner_name><tmpl_var owner_name><tmpl_else><tmpl_var owner></tmpl_if></a></dd> |
9da2f495 MG |
15 | </dl> |
16 | ||
491e82eb MG |
17 | <a href="/pb/<tmpl_var id>/log/">Job log</a> |
18 | ||
9da2f495 MG |
19 | <tmpl_if cansubmit> |
20 | <h1>Submit solution</h1> | |
21 | <form action="<tmpl_var id>/submit" method="POST" enctype="multipart/form-data" role="form"> | |
22 | <input type="hidden" name="problem" value="<tmpl_var id>"> | |
23 | <tmpl_if_defined contest><input type="hidden" name="contest" value="<tmpl_var contest>"></tmpl_if_defined> | |
24 | ||
25 | <div class="form-group"><label for="prog">File:</label><input id="prog" name="prog" type="file"></div> | |
26 | <div class="form-group"><label for="source_code">Source code:</label> <textarea class="form-control" id="source_code" name="source_code"></textarea></div> | |
27 | <div class="form-group"><label for="prog_format">File format:</label><select id="prog_format" name="prog_format" class="form-control" required> | |
d3200993 | 28 | <option value="C">C</option> |
def007ec | 29 | <option value="CPP" selected>C++</option> |
d3200993 MG |
30 | <option value="JAVA">Java</option> |
31 | <option value="PASCAL">Pascal</option> | |
32 | <option value="PERL">Perl</option> | |
33 | <option value="PYTHON">Python</option> | |
34 | </select></div> | |
9da2f495 MG |
35 | |
36 | <input type="submit" value="Submit job" class="btn btn-primary"> | |
37 | </form> | |
38 | </tmpl_if> | |
39 | </div> | |
e1f9d2ac | 40 | </div> |