forked from domen111/UVa-Easy-Viewer
-
Notifications
You must be signed in to change notification settings - Fork 1
/
submit.html
36 lines (33 loc) · 1.27 KB
/
submit.html
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
35
36
<!DOCTYPE html>
<html>
<head>
<meta http-equiv="content-type" content="text/html; charset=utf-8">
<title>Submit UVA</title>
<script src="http://code.jquery.com/jquery-1.8.3.min.js"></script>
<script>
window.onload = function() {
var probdata = window.location.search.substring(1).split("&");
$("#probnum").val( probdata[0] );
$("#title").text( probdata[0] + " - " + decodeURI(probdata[1]) );
}
</script>
</head>
<body>
<h3 id="title"></h3>
<form id="submitForm" action="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&Itemid=25&page=save_submission" method="post" enctype="multipart/form-data">
<input id="probnum" type="hidden" name="localid" size="6" />
<input type="radio" name="language" value="1" /> ANSI C
<input type="radio" name="language" value="2" /> JAVA
<input type="radio" name="language" value="3" checked="true" /> C++
<input type="radio" name="language" value="4" /> PASCAL
<input type="radio" name="language" value="5" checked="true" /> C++11
<br/>
<textarea name="code" rows="20" cols='80' placeholder="Paste your code here..."></textarea>
<br/>
<input type="submit" value="Submit"/>
<input type="reset" value="Reset"/>
</form>
<br>
Note: 請確認您已登入UVA,如果還沒登入請使用上方UVA連結
</body>
</html>