git-contest 0.0.1

Sign up to get free protection for your applications and to get access to all the features.
Files changed (61) hide show
  1. checksums.yaml +7 -0
  2. data/.gitignore +17 -0
  3. data/.rspec +2 -0
  4. data/.travis.yml +15 -0
  5. data/Gemfile +5 -0
  6. data/LICENSE.txt +24 -0
  7. data/README.md +217 -0
  8. data/Rakefile +4 -0
  9. data/bin/git-contest +43 -0
  10. data/bin/git-contest-finish +163 -0
  11. data/bin/git-contest-init +77 -0
  12. data/bin/git-contest-rebase +76 -0
  13. data/bin/git-contest-start +68 -0
  14. data/bin/git-contest-submit +188 -0
  15. data/git-contest.gemspec +34 -0
  16. data/lib/contest/driver.rb +15 -0
  17. data/lib/contest/driver/aizu_online_judge.rb +159 -0
  18. data/lib/contest/driver/base.rb +103 -0
  19. data/lib/contest/driver/codeforces.rb +196 -0
  20. data/lib/contest/driver/common.rb +72 -0
  21. data/lib/contest/driver/driver_event.rb +30 -0
  22. data/lib/contest/driver/uva_online_judge.rb +131 -0
  23. data/lib/git/contest.rb +14 -0
  24. data/lib/git/contest/common.rb +48 -0
  25. data/lib/git/contest/git.rb +189 -0
  26. data/lib/git/contest/test.rb +10 -0
  27. data/lib/git/contest/version.rb +12 -0
  28. data/spec/bin/t004_git_contest_submit_spec.rb +143 -0
  29. data/spec/bin/t005_git_contest_branching_spec.rb +83 -0
  30. data/spec/bin/t007_git_contest_start_spec.rb +121 -0
  31. data/spec/bin/t008_git_contest_finish_spec.rb +229 -0
  32. data/spec/bin/t009_git_contest_init_spec.rb +82 -0
  33. data/spec/lib/contest/driver/t001_aizu_online_judge_spec.rb +177 -0
  34. data/spec/lib/contest/driver/t002_codeforces_spec.rb +34 -0
  35. data/spec/lib/contest/driver/t003_uva_online_judge_spec.rb +33 -0
  36. data/spec/mock/default_config/config.yml +0 -0
  37. data/spec/mock/default_config/plugins/driver_dummy.rb +113 -0
  38. data/spec/mock/t001/002.status_log.xml +55 -0
  39. data/spec/mock/t001/config.yml +5 -0
  40. data/spec/mock/t001/description.html +48 -0
  41. data/spec/mock/t001/status.html +49 -0
  42. data/spec/mock/t001/status_log.xml +29 -0
  43. data/spec/mock/t002/my_submissions.html +58 -0
  44. data/spec/mock/t003/after_submit.html +28 -0
  45. data/spec/mock/t003/my_submissions.compile_error.html +160 -0
  46. data/spec/mock/t003/my_submissions.sent_to_judge.html +358 -0
  47. data/spec/mock/t004/config.yml +17 -0
  48. data/spec/mock/t005/001/config.yml +5 -0
  49. data/spec/mock/t006/001/001/001/config.yml +8 -0
  50. data/spec/mock/t006/001/001/002/config.yml +8 -0
  51. data/spec/mock/t006/001/001/003/config.yml +8 -0
  52. data/spec/mock/t006/001/002/001/config.yml +8 -0
  53. data/spec/mock/t006/001/002/002/config.yml +8 -0
  54. data/spec/mock/t006/001/002/003/config.yml +8 -0
  55. data/spec/mock/t006/001/003/001/config.yml +9 -0
  56. data/spec/mock/t006/001/003/002/config.yml +9 -0
  57. data/spec/mock/t006/001/003/003/config.yml +9 -0
  58. data/spec/spec_helper.rb +45 -0
  59. data/spec/spec_list.txt +1 -0
  60. data/spec/t006_config_spec.rb +168 -0
  61. metadata +269 -0
@@ -0,0 +1,5 @@
1
+ sites:
2
+ aoj:
3
+ driver: aizu_online_judge
4
+ user: dummy
5
+ password: dummy
@@ -0,0 +1,48 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <!-- need for problem description -->
3
+ <html xmlns="http://www.w3.org/1999/xhtml">
4
+ <head>
5
+ </head>
6
+ <body id="niceBody" class="goodStyle">
7
+ <FORM id="sform" ACTION="/onlinejudge/servlet/Submit" METHOD="POST">
8
+ <fieldset class="form">
9
+ <TABLE class="form" width="740" border="0" cellspacing="0" cellpadding="0">
10
+ <TR>
11
+ <TD width="100"><label>User ID:</label></TD>
12
+ <TD><INPUT TYPE="TEXT" NAME="userID" VALUE=""></TD>
13
+ </TR>
14
+ <TR>
15
+ <TD width="100"><label>Password:</label></TD>
16
+ <TD><INPUT TYPE="PASSWORD" NAME="password" VALUE=""></TD>
17
+ </TR>
18
+ <TR>
19
+ <TD width="100"><label>Problem NO:</label></TD>
20
+ <TD><INPUT TYPE="TEXT" NAME="problemNO" VALUE="10000"></TD>
21
+ </TR>
22
+ <TR>
23
+ <TD width="100"><label>Language:</label></TD>
24
+ <TD>
25
+ <SELECT NAME="language">
26
+ <OPTION VALUE="C">C
27
+ <OPTION VALUE="C++" selected="selected">C++
28
+ <OPTION VALUE="JAVA">JAVA
29
+ <OPTION VALUE="C++11">C++11
30
+ <OPTION VALUE="C#">C#
31
+ <OPTION VALUE="D">D
32
+ <OPTION VALUE="Ruby">Ruby
33
+ <OPTION VALUE="Python">Python
34
+ <OPTION VALUE="PHP">PHP
35
+ <OPTION VALUE="JavaScript">JavaScript
36
+ </SELECT>
37
+ <font color="#aaa">&nbsp; *&nbsp;It depends on the problem</font>
38
+ </TD>
39
+ </tr>
40
+ <TR>
41
+ <TD width="100"><label>Source Code:</label></TD>
42
+ <TD><TEXTAREA id="source" NAME="sourceCode" ROWS="16" COLS="62"></TEXTAREA></TD>
43
+ </TR>
44
+ </TABLE>
45
+ </fieldset>
46
+ </FORM>
47
+ </body>
48
+ </html>
@@ -0,0 +1,49 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
2
+ <html xmlns="http://www.w3.org/1999/xhtml">
3
+ <head></head>
4
+ <body id="niceBody" class="goodStyle">
5
+ <div id="contents" class="thread">
6
+ <div id="page">
7
+ <div id="middle">
8
+ <div class="wrapper" style="width:876px;margin-left:20px;margin-top:0px;margin-bottom:0px">
9
+ <p class="date">per-page :<span class="padding6">&nbsp;</span><span class="per-page setPer" data-num="10">10</span><span class="padding6">&nbsp;</span><span class="per-page" data-num="20">20</span><span class="padding6">&nbsp;</span><span class="per-page" data-num="30">30</span><span class="padding6">&nbsp;</span><span class="per-page" data-num="50">50</span><span class="padding6">&nbsp;</span><span class="per-page" data-num="100">100</span><!--<span class="per-page" data-num="65536">ALL</span>--></p>
10
+ <div class="pagenavi"><a href="javascript:void(0)" class="pagePrev">&lt; prev</a><span class="padding12">|</span><input class="pageNow" value="1" /><span class="padding6">/</span><span class="pageTotal">1</span><span class="padding12">|</span><a href="javascript:void(0)" class="pageNext">next &gt;</a></div>
11
+ <div class="spacer6">&nbsp;</div>
12
+ <div class="border" style="width:876px">&nbsp;</div>
13
+ <table width="876" border="0" cellspacing="0" cellpadding="0" id="tableRanking" class="tablewrapper">
14
+ <tr class="label">
15
+ <td>Run#</td>
16
+ <td>Author</td>
17
+ <td width="180">Problem</td>
18
+ <!--<td>Title</td>-->
19
+ <td width="120">Status</td>
20
+ <td width="35">%</td>
21
+ <td width="50">Lang</td>
22
+ <!--<td>Version</td>-->
23
+ <td width="50">Time</td>
24
+ <td width="55">Memory</td>
25
+ <td width="50">Code</td>
26
+ <!--<td>#</td>-->
27
+ <td width="125">Submission Date</td>
28
+ </tr>
29
+ <tr class="dat">
30
+ <td class="text-left"><a href="review.jsp?rid=77777&tab=1">77777</a></td>
31
+ <td class="text-left"><a href="user.jsp?id=test_user#1">test_user</a></td>
32
+ <td class="text-left" style="line-height:12pt; padding-bottom:4px"><a href="description.jsp?id=1111">1111: Test</a></td>
33
+ <td class="detail_link" href="verdict.jsp?runID=77777" title="77777"><span class="status iconACPT">: <a>Accepted</a></span></td>
34
+ <td class="text-center"><a href="review.jsp?rid=77777&tab=2">1/1</a></td>
35
+ <td class="text-left"><a href="status_note.jsp?tab=2">Ruby</a></td>
36
+ <td class="text-center">00.00 s</td>
37
+ <td class="text-right" style="line-height:12pt; padding-bottom:4px">1000 KB</td>
38
+ <td class="text-right" style="line-height:12pt; padding-bottom:4px">700 B</td>
39
+ <td class="text-center" style="line-height:12pt; padding-bottom:4px">2000-01-01 01:01</td>
40
+ </tr>
41
+ </table>
42
+ <div class="pagenavi"><a href="javascript:void(0)" class="pagePrev">&lt; prev</a><span class="padding12">|</span><input class="pageNow" id="pageNow" value="1" /><span class="padding6">/</span><span class="pageTotal">1</span><span class="padding12">|</span><a href="javascript:void(0)" class="pageNext">next &gt;</a></div>
43
+ </div>
44
+ </div> <!-- middle-->
45
+ </div>
46
+ </div>
47
+ </div>
48
+ </body>
49
+ </html>
@@ -0,0 +1,29 @@
1
+ <?xml version="1.0"?>
2
+ <status_list>
3
+ <status>
4
+ <run_id>
5
+ 111
6
+ </run_id>
7
+ <user_id>
8
+ test_user
9
+ </user_id>
10
+ <problem_id>
11
+ 222
12
+ </problem_id>
13
+ <status>
14
+ Wrong Answer
15
+ </status>
16
+ <language>
17
+ Ruby
18
+ </language>
19
+ <cputime>
20
+ 333
21
+ </cputime>
22
+ <memory>
23
+ 444
24
+ </memory>
25
+ <code_size>
26
+ 555
27
+ </code_size>
28
+ </status>
29
+ </status_list>
@@ -0,0 +1,58 @@
1
+ <!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01//EN">
2
+ <html>
3
+ <body>
4
+ <div id="body">
5
+ <div id="content" class="content-with-sidebar">
6
+ <div class="second-level-menu">
7
+ <ul class="second-level-menu-list">
8
+ <li><a href="/contest/11111">Problems</a></li>
9
+ <li><a href="/contest/11111/submit">Submit</a></li>
10
+ <li class="current"><a href="/contest/11111/my">My submissions</a></li>
11
+ <li><a href="/contest/11111/status">Status</a></li>
12
+ <li><a href="/contest/11111/hacks">Hacks</a></li>
13
+ <li><a href="/contest/11111/room/0">Room</a></li>
14
+ <li><a target="blank" href="/contest/11111/standings">Standings</a></li>
15
+ <li><a href="/contest/11111/customtest">Custom test</a></li>
16
+ </ul>
17
+ </div>
18
+ <div class="datatable" style="background-color: #E1E1E1;padding-bottom:3px;">
19
+ <div style="background-color: white;margin:0.3em 3px 0 3px;position:relative;">
20
+ <table class="status-frame-datatable">
21
+ <tr class="first-row">
22
+ <th style="width:6em;">#</th>
23
+ <th>When</th>
24
+ <th style="text-align:left;">Who</th>
25
+ <th>Problem</th>
26
+ <th>Lang</th>
27
+ <th>Verdict</th>
28
+ <th>Time</th>
29
+ <th>Memory</th>
30
+ </tr>
31
+ <tr data-submission-id="22223">
32
+ <td><a class="view-source" title="Source" href="#" submissionId="22223">22223</a></td>
33
+ <td class="status-small">Sep 1, 2001 10:00:00 AM</td>
34
+ <td class="status-party-cell" data-participantId="33333">
35
+ <td class="status-small" data-problemId="2235"><a href="/contest/11111/problem/A">A - Buggy Sorting</a></td>
36
+ <td>Ruby</td>
37
+ <td class="status-cell status-small status-verdict-cell" submissionId="22223" waiting="false"><span class='verdict-accepted'>Wrong Answer</span></td>
38
+ <td class="time-consumed-cell">10 ms</td>
39
+ <td class="memory-consumed-cell">10 KB</td>
40
+ </tr>
41
+ <tr data-submission-id="22222">
42
+ <td><a class="view-source" title="Source" href="#" submissionId="22222">22222</a></td>
43
+ <td class="status-small">Sep 1, 2001 10:00:00 AM</td>
44
+ <td class="status-party-cell" data-participantId="33333">
45
+ <td class="status-small" data-problemId="2235"><a href="/contest/11111/problem/A">A - Buggy Sorting</a></td>
46
+ <td>Ruby</td>
47
+ <td class="status-cell status-small status-verdict-cell" submissionId="22222" waiting="false"><span class='verdict-accepted'>Accepted</span></td>
48
+ <td class="time-consumed-cell">10 ms</td>
49
+ <td class="memory-consumed-cell">10 KB</td>
50
+ </tr>
51
+ </table>
52
+ </div>
53
+ </div>
54
+ </div>
55
+ </div>
56
+ </div>
57
+ </body>
58
+ </html>
@@ -0,0 +1,28 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <body>
5
+
6
+ <!-- #main: Content Start -->
7
+ <div id="main">
8
+
9
+ <!-- #col3: Main Content -->
10
+ <div id="col3">
11
+ <div id="col3_content" class="clearfix">
12
+ <div id="col3_content_wrapper" class="floatbox">
13
+ <a id="content" name="content"></a>
14
+
15
+ <div class="message">Submission received with ID 99999</div>
16
+ <div class="componentheading">Quick Submit</div>
17
+ <h1></h1>
18
+
19
+ </div>
20
+ </div>
21
+ </div>
22
+ <!-- #main: Content End -->
23
+
24
+ </div>
25
+
26
+ </body>
27
+ </html>
28
+ <!-- 1381755844 -->
@@ -0,0 +1,160 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <body>
5
+
6
+
7
+
8
+ <div id="overDiv" style="position:absolute; visibility:hidden; z-index:10000;"></div>
9
+ <!-- <script type="text/javascript">if (efa_fontSize) efa_fontSize.efaInit();</script> -->
10
+ <a id="start" name="start"></a>
11
+
12
+ <div id="page_margins">
13
+
14
+ <!-- #main: Content Start -->
15
+ <div id="main">
16
+
17
+ <!-- #col3: Main Content -->
18
+ <div id="col3">
19
+ <div id="col3_content" class="clearfix">
20
+ <div id="col3_content_wrapper" class="floatbox">
21
+ <a id="content" name="content"></a>
22
+
23
+ <div class="componentheading" style="margin-bottom:20px;">My Submissions</div>
24
+
25
+ <!-- <div class="contentheading"/>-->
26
+
27
+ <table cellpadding="4" cellspacing="0" border="0" width="100%">
28
+ <tr class="sectiontableheader">
29
+ <td width="2%" class="title">#</td>
30
+ <td width="2%" class="title"/>
31
+ <td width="20%" class="title">Problem</td>
32
+ <td width="5%" class="title">Verdict</td>
33
+ <td width="5%" class="title">Language</td>
34
+ <td width="5%" class="title">Run Time</td>
35
+ <!-- <td width="5%" class="title">Memory Used</td> -->
36
+ <td width="10%" class="title">Submission Date</td>
37
+ </tr>
38
+ <tr class="sectiontableentry1">
39
+ <td>300000</td>
40
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=940">999</a></td>
41
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=940">Book signatures</a></td>
42
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12500129">Compilation error</a> </td>
43
+ <td>C++</td>
44
+ <td>0.000</td>
45
+ <!-- <td></td>-->
46
+ <td>2013-10-14 13:20:45</td>
47
+ </tr>
48
+ <tr class="sectiontableentry2">
49
+ <td>12500118</td>
50
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=829">888</a></td>
51
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=829">Donkey</a></td>
52
+ <td>Sent to judge</td>
53
+ <td>C++</td>
54
+ <td>0.000</td>
55
+ <!-- <td></td>-->
56
+ <td>2013-10-14 13:19:50</td>
57
+ </tr>
58
+ <tr class="sectiontableentry1">
59
+ <td>99999</td>
60
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=940">999</a></td>
61
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=940">Book signatures</a></td>
62
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12500108">Compilation error</a> </td>
63
+ <td>C++</td>
64
+ <td>0.000</td>
65
+ <!-- <td></td>-->
66
+ <td>2013-10-14 13:18:15</td>
67
+ </tr>
68
+ <tr class="sectiontableentry2">
69
+ <td>12500010</td>
70
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=41">105</a></td>
71
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=41">The Skyline Problem</a></td>
72
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12500010">Compilation error</a> </td>
73
+ <td>ANSI C</td>
74
+ <td>0.000</td>
75
+ <!-- <td></td>-->
76
+ <td>2013-10-14 13:03:48</td>
77
+ </tr>
78
+ <tr class="sectiontableentry1">
79
+ <td>12499991</td>
80
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=39">103</a></td>
81
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=39">Stacking Boxes</a></td>
82
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12499991">Compilation error</a> </td>
83
+ <td>C++</td>
84
+ <td>0.000</td>
85
+ <!-- <td></td>-->
86
+ <td>2013-10-14 13:01:15</td>
87
+ </tr>
88
+ <tr class="sectiontableentry2">
89
+ <td>12499981</td>
90
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=37">101</a></td>
91
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=37">The Blocks Problem</a></td>
92
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12499981">Compilation error</a> </td>
93
+ <td>C++</td>
94
+ <td>0.000</td>
95
+ <!-- <td></td>-->
96
+ <td>2013-10-14 13:00:21</td>
97
+ </tr>
98
+ <tr class="sectiontableentry1">
99
+ <td>12499921</td>
100
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">100</a></td>
101
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">The 3n + 1 problem</a></td>
102
+ <td>Wrong answer</td>
103
+ <td>C++</td>
104
+ <td>0.019</td>
105
+ <!-- <td></td>-->
106
+ <td>2013-10-14 12:50:50</td>
107
+ </tr>
108
+ <tr class="sectiontableentry2">
109
+ <td>12499691</td>
110
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">100</a></td>
111
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">The 3n + 1 problem</a></td>
112
+ <td>Wrong answer</td>
113
+ <td>C++</td>
114
+ <td>0.016</td>
115
+ <!-- <td></td>-->
116
+ <td>2013-10-14 12:01:08</td>
117
+ </tr>
118
+ </table>
119
+
120
+ <table cellpadding="4" cellspacing="0" border="0" width="100%">
121
+ <tr class="sectiontableheader">
122
+ <td colspan="3" align="center">
123
+ <span class="pagenav">&lt;&lt;&nbsp;Start</span> <span class="pagenav">&lt;&nbsp;Prev</span> <span class="pagenav">1</span> <span class="pagenav">Next&nbsp;&gt;</span> <span class="pagenav">End&nbsp;&gt;&gt;</span> </td>
124
+ </tr>
125
+ <tr class="sectiontableentry">
126
+ <td align="right" width="48%">Display #</td>
127
+ <td align="center" width="4%">
128
+
129
+ <select name="limit" class="inputbox" size="1" onchange="document.location.href='http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=9&amp;limit=' + this.options[selectedIndex].value + '&amp;limitstart=0';">
130
+ <option value="5">5</option>
131
+ <option value="10">10</option>
132
+ <option value="15">15</option>
133
+ <option value="20">20</option>
134
+ <option value="25">25</option>
135
+ <option value="30" selected="selected">30</option>
136
+ <option value="50">50</option>
137
+ </select>
138
+ </td>
139
+ <td align="left" width="48%">
140
+ Results 1 - 8 of 8 </td>
141
+ </tr>
142
+ </table>
143
+
144
+ </div>
145
+ </div>
146
+
147
+ <!-- IE Column Clearing -->
148
+ <div id="ie_clearing">&nbsp;</div>
149
+ <!-- Ende: IE Column Clearing -->
150
+ </div>
151
+ <!-- #main: Content End -->
152
+
153
+ </div>
154
+
155
+ </div>
156
+ </div>
157
+
158
+ </body>
159
+ </html>
160
+ <!-- 1381756856 -->
@@ -0,0 +1,358 @@
1
+ <!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN"
2
+ "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
3
+ <html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
4
+ <head>
5
+ <!-- EfA Scripts -->
6
+ <script type="text/javascript" src="http://uva.onlinejudge.org/templates/hm_yaml_2_5/js/efa/cookies.js"></script>
7
+ <!-- // -->
8
+ <title>UVa Online Judge</title>
9
+ <meta name="description" content="UVa Online Judge" />
10
+ <meta name="keywords" content="uva, universidad, valladolid, university, baylor, programming, contest, online, judge, problemset" />
11
+ <meta name="Generator" content="Joomla! - Copyright (C) 2005 - 2007 Open Source Matters. All rights reserved." />
12
+ <meta name="robots" content="index, follow" />
13
+ <link rel="stylesheet" href="components/com_onlinejudge/css/onlinejudge.css" type="text/css" />
14
+ <link rel="stylesheet" href="components/com_onlinejudge/css/tabber.css" type="text/css" />
15
+ <link href="http://uva.onlinejudge.org/templates/hm_yaml_2_5/css/layout_2col_left_vlines.css" rel="stylesheet" type="text/css" />
16
+ <!--[if lte IE 7]>
17
+ <link href="http://uva.onlinejudge.org/templates/hm_yaml_2_5/css/explorer/iehacks_2col_left_vlines.css" rel="stylesheet" type="text/css" />
18
+ <![endif]-->
19
+ <style type="text/css">
20
+ #page_margins {min-width: 756px; max-width: 90em; }
21
+ </style>
22
+
23
+ <!--[if lt IE 7]>
24
+ <script defer type="text/javascript" src="http://uva.onlinejudge.org/templates/hm_yaml_2_5/js/pngfix.js"></script>
25
+ <![endif]-->
26
+
27
+
28
+ <style type="text/css">
29
+ #page_margins {
30
+ margin:auto;
31
+ }
32
+ </style>
33
+
34
+ <link href="http://uva.onlinejudge.org/templates/hm_yaml_2_5/css/navigation/nav_vlist.css" rel="stylesheet" type="text/css" />
35
+ <script src="http://uva.onlinejudge.org/includes/js/joomla.javascript.js" type="text/javascript"></script>
36
+ <link rel="shortcut icon" href="http://uva.onlinejudge.org/images/favicon.ico" />
37
+ <meta http-equiv="Content-Type" content="text/html; charset=utf-8"/>
38
+ <meta name="audience" content="All"/>
39
+ <meta name="revisit-after" content="1 Day"/>
40
+ </head>
41
+
42
+ <body>
43
+
44
+
45
+
46
+ <div id="overDiv" style="position:absolute; visibility:hidden; z-index:10000;"></div>
47
+ <!-- <script type="text/javascript">if (efa_fontSize) efa_fontSize.efaInit();</script> -->
48
+ <a id="start" name="start"></a>
49
+
50
+ <div id="page_margins">
51
+ <div id="page" class="hold_floats">
52
+
53
+ <!-- #header: Start -->
54
+ <div id="header">
55
+ <div id="topnav">
56
+ <a class="skip" href="#navigation" title="Direkt zur Navigation springen">Zur Navigation springen</a>
57
+ <a class="skip" href="#content" title="Direkt zum Content springen">Zum Content springen</a>
58
+ </div>
59
+ <img src="http://uva.onlinejudge.org/templates/hm_yaml_2_5/./img/onlinejudgelogo2.png" alt="The ACM-ICPC Live Archive"/>
60
+ <div id="headbanner" style="width:728px;height:90px;position:absolute;right:25px;top:25px;">
61
+ <script type="text/javascript"><!--
62
+ google_ad_client = "ca-pub-2439032012840386";
63
+ google_ad_slot = "8272437788";
64
+ google_ad_width = 728;
65
+ google_ad_height = 90;
66
+ //-->
67
+ </script>
68
+ <script type="text/javascript"
69
+ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
70
+ </script>
71
+ </div>
72
+ </div>
73
+ <!-- #header: End -->
74
+
75
+ <!-- #nav: Start -->
76
+ <div id="nav">
77
+ <a id="navigation" name="navigation"></a>
78
+ <div id="nav_main" >
79
+ </div>
80
+ </div>
81
+ <!-- #nav: End -->
82
+
83
+ <!-- #toolbar_box: Start -->
84
+ <div class="clearfix" id="toolbar_box">
85
+ <div class="tool_pathway">
86
+ <span class="pathway"><a href="http://uva.onlinejudge.org/index.php" class="pathway">Home</a> <img src="http://uva.onlinejudge.org/templates/hm_yaml_2_5/images/arrow.png" border="0" alt="arrow" /> My Submissions </span> </div>
87
+ <!-- <div class="tool_searchbox">
88
+ <form action="index.php" method="get">
89
+ <input class="inputbox" type="text" name="searchword" size="25" value="search..." onblur="if(this.value=='') this.value='search...';" onfocus="if(this.value=='search...') this.value='';" />
90
+ <input type="hidden" name="option" value="com_search" />
91
+ </form>
92
+ </div>-->
93
+ <div class="tool_fontsize">
94
+ <script type="text/javascript">
95
+ <!-- if (efa_fontSize) document.write(efa_fontSize.allLinks); -->
96
+ </script>
97
+ </div>
98
+ </div>
99
+ <!-- #toolbar_box: End -->
100
+
101
+ <!-- #main: Content Start -->
102
+ <div id="main">
103
+
104
+
105
+ <!-- #col1: Left Column of Content -->
106
+ <div id="col1">
107
+ <div id="col1_content" class="clearfix">
108
+ <!-- <div style="width:100%;text-align:center;">
109
+ <iframe src="http://www.indiegogo.com/project/361690/widget/2710044" width="224px" height="486px" frameborder="0" scrolling="no"></iframe></div> -->
110
+ <div class="moduletable">
111
+ <!-- SiteSearch Google -->
112
+
113
+ <form action="http://www.google.com/cse" id="cse-search-box" target="_blank">
114
+ <div>
115
+ <input type="hidden" name="cx" value="partner-pub-2439032012840386:3416984485" />
116
+ <input type="hidden" name="ie" value="UTF-8" />
117
+ <input type="text" name="q" size="19" />
118
+ <input type="submit" name="sa" value="Search" />
119
+ </div>
120
+ </form>
121
+ <script type="text/javascript" src="http://www.google.com/cse/brand?form=cse-search-box&amp;lang=en"></script>
122
+
123
+ <!-- SiteSearch Google -->
124
+ </div>
125
+ <div class="moduletable">
126
+ <h3>
127
+ Main Menu </h3>
128
+
129
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
130
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_frontpage&amp;Itemid=1" class="mainlevel" >Home</a></td></tr>
131
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_comprofiler&amp;Itemid=3" class="mainlevel" >My Account</a></td></tr>
132
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_contact&amp;Itemid=4" class="mainlevel" >Contact Us</a></td></tr>
133
+ <tr align="left"><td><a href="http://acm.uva.es/problemset/" target="_blank" class="mainlevel" >TOOLS on the Old UVa OJ Site</a></td></tr>
134
+ <tr align="left"><td><a href="http://livearchive.onlinejudge.org" target="_blank" class="mainlevel" >ACM-ICPC Live Archive</a></td></tr>
135
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_login&amp;Itemid=5" class="mainlevel" >Logout</a></td></tr>
136
+ </table> </div>
137
+ <div class="moduletable">
138
+ <h3>
139
+ Online Judge </h3>
140
+
141
+ <table width="100%" border="0" cellpadding="0" cellspacing="0">
142
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=25" class="mainlevel" >Quick Submit</a></td></tr>
143
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=16" class="mainlevel" >Migrate submissions</a></td></tr>
144
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=9" class="mainlevel" id="active_menu">My Submissions</a></td></tr>
145
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=15" class="mainlevel" >My Statistics</a></td></tr>
146
+ <tr align="left"><td><a href="http://uhunt.felix-halim.net/id/334636" target="_blank" class="mainlevel" >My uHunt with Virtual Contest Service</a></td></tr>
147
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=8" class="mainlevel" >Browse Problems</a></td></tr>
148
+ <tr align="left"><td><a href="http://acm.uva.es/local/online_judge/search_uva.html" target="_blank" class="mainlevel" >Quick access, info and search</a></td></tr>
149
+ <tr align="left"><td><a href="http://acm.uva.es/local/online_judge/authors_credit.php" target="_blank" class="mainlevel" >Problemsetters' Credits</a></td></tr>
150
+ <tr align="left"><td><a href="http://acm.uva.es/local/online_judge/public_uva.html" target="_blank" class="mainlevel" >Live Rankings</a></td></tr>
151
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_content&amp;task=view&amp;id=5&amp;Itemid=18" class="mainlevel" >Site Statistics</a></td></tr>
152
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_content&amp;task=view&amp;id=2&amp;Itemid=10" class="mainlevel" >Contests</a></td></tr>
153
+ <tr align="left"><td><a href="http://online-judge.uva.es/board/" class="mainlevel" >Electronic Board</a></td></tr>
154
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_content&amp;task=view&amp;id=14&amp;Itemid=29" class="mainlevel" >Additional Information</a></td></tr>
155
+ <tr align="left"><td><a href="http://uva.onlinejudge.org/index.php?option=com_content&amp;task=view&amp;id=17&amp;Itemid=32" class="mainlevel" >Other Links</a></td></tr>
156
+ </table> </div>
157
+ <div style="border-width:1px;border-style:solid;border-color:#000088;width=100%;text-align:center;margin-top:30px;">
158
+ <div style="background-color:#000088;color:white;text-align:left;">With the collaboration of</div>
159
+ <a href="http://www.relint.uva.es" target="_new"><img src="http://uva.onlinejudge.org/images/collaborators_uva.jpg" alt="UVa" style="padding-top:10px;padding-bottom:10px;"/></a>
160
+ <a href="http://icpc.baylor.edu" target="_new"><img src="http://uva.onlinejudge.org/images/collaborators_icpc.jpg" alt="ICPC" style="padding-top:10px;padding-bottom:10px;"/></a>
161
+ <a href="http://www.parquecientificouva.es" target="_new"><img src="http://uva.onlinejudge.org/images/collaborators_parque.jpg" alt="Parque Cient&iacute;fico UVa" style="padding-top:10px;padding-bottom:10px;"/></a>
162
+ <a href="http://www.funge.uva.es" target="_new"><img src="http://uva.onlinejudge.org/images/collaborators_funge.jpg" alt="Funge" style="padding-top:10px;padding-bottom:10px;"/></a>
163
+ <a href="http://www.edujudge.eu" target="_new"><img src="http://uva.onlinejudge.org/images/logoedujudge.png" alt="EduJudge" style="padding-top:10px;padding-bottom:10px;"/></a>
164
+ </div>
165
+ </div>
166
+ </div>
167
+ <!-- #col1: End -->
168
+
169
+ <!-- #col2: Right Column of Content -->
170
+ <div id="col2">
171
+ <div id="col2_content" class="clearfix">
172
+ </div>
173
+ </div>
174
+ <!-- #col2: End -->
175
+
176
+ <!-- #col3: Main Content -->
177
+ <div id="col3">
178
+ <div id="col3_content" class="clearfix">
179
+ <div id="col3_content_wrapper" class="floatbox">
180
+ <a id="content" name="content"></a>
181
+
182
+ <div class="componentheading" style="margin-bottom:20px;">My Submissions</div>
183
+
184
+ <!-- <div class="contentheading"/>-->
185
+
186
+ <table cellpadding="4" cellspacing="0" border="0" width="100%">
187
+ <tr class="sectiontableheader">
188
+ <td width="2%" class="title">#</td>
189
+ <td width="2%" class="title"/>
190
+ <td width="20%" class="title">Problem</td>
191
+ <td width="5%" class="title">Verdict</td>
192
+ <td width="5%" class="title">Language</td>
193
+ <td width="5%" class="title">Run Time</td>
194
+ <!-- <td width="5%" class="title">Memory Used</td> -->
195
+ <td width="10%" class="title">Submission Date</td>
196
+ </tr>
197
+ <tr class="sectiontableentry1">
198
+ <td>99999</td>
199
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=829">888</a></td>
200
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=829">Donkey</a></td>
201
+ <td>Sent to judge</td>
202
+ <td>C++</td>
203
+ <td>0.000</td>
204
+ <!-- <td></td>-->
205
+ <td>2013-10-14 13:19:50</td>
206
+ </tr>
207
+ <tr class="sectiontableentry2">
208
+ <td>12500108</td>
209
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=940">999</a></td>
210
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=940">Book signatures</a></td>
211
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12500108">Compilation error</a> </td>
212
+ <td>C++</td>
213
+ <td>0.000</td>
214
+ <!-- <td></td>-->
215
+ <td>2013-10-14 13:18:15</td>
216
+ </tr>
217
+ <tr class="sectiontableentry1">
218
+ <td>12500010</td>
219
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=41">105</a></td>
220
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=41">The Skyline Problem</a></td>
221
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12500010">Compilation error</a> </td>
222
+ <td>ANSI C</td>
223
+ <td>0.000</td>
224
+ <!-- <td></td>-->
225
+ <td>2013-10-14 13:03:48</td>
226
+ </tr>
227
+ <tr class="sectiontableentry2">
228
+ <td>12499991</td>
229
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=39">103</a></td>
230
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=39">Stacking Boxes</a></td>
231
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12499991">Compilation error</a> </td>
232
+ <td>C++</td>
233
+ <td>0.000</td>
234
+ <!-- <td></td>-->
235
+ <td>2013-10-14 13:01:15</td>
236
+ </tr>
237
+ <tr class="sectiontableentry1">
238
+ <td>12499981</td>
239
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=37">101</a></td>
240
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=37">The Blocks Problem</a></td>
241
+ <td> <a href="index.php?option=com_onlinejudge&amp;Itemid=9&amp;page=show_compilationerror&submission=12499981">Compilation error</a> </td>
242
+ <td>C++</td>
243
+ <td>0.000</td>
244
+ <!-- <td></td>-->
245
+ <td>2013-10-14 13:00:21</td>
246
+ </tr>
247
+ <tr class="sectiontableentry2">
248
+ <td>12499921</td>
249
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">100</a></td>
250
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">The 3n + 1 problem</a></td>
251
+ <td>Wrong answer</td>
252
+ <td>C++</td>
253
+ <td>0.019</td>
254
+ <!-- <td></td>-->
255
+ <td>2013-10-14 12:50:50</td>
256
+ </tr>
257
+ <tr class="sectiontableentry1">
258
+ <td>12499691</td>
259
+ <td align="right"><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">100</a></td>
260
+ <td><a href="index.php?option=com_onlinejudge&amp;Itemid=8&amp;page=show_problem&amp;problem=36">The 3n + 1 problem</a></td>
261
+ <td>Wrong answer</td>
262
+ <td>C++</td>
263
+ <td>0.016</td>
264
+ <!-- <td></td>-->
265
+ <td>2013-10-14 12:01:08</td>
266
+ </tr>
267
+ </table>
268
+
269
+ <table cellpadding="4" cellspacing="0" border="0" width="100%">
270
+ <tr class="sectiontableheader">
271
+ <td colspan="3" align="center">
272
+ <span class="pagenav">&lt;&lt;&nbsp;Start</span> <span class="pagenav">&lt;&nbsp;Prev</span> <span class="pagenav">1</span> <span class="pagenav">Next&nbsp;&gt;</span> <span class="pagenav">End&nbsp;&gt;&gt;</span> </td>
273
+ </tr>
274
+ <tr class="sectiontableentry">
275
+ <td align="right" width="48%">Display #</td>
276
+ <td align="center" width="4%">
277
+
278
+ <select name="limit" class="inputbox" size="1" onchange="document.location.href='http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=9&amp;limit=' + this.options[selectedIndex].value + '&amp;limitstart=0';">
279
+ <option value="5">5</option>
280
+ <option value="10">10</option>
281
+ <option value="15">15</option>
282
+ <option value="20">20</option>
283
+ <option value="25">25</option>
284
+ <option value="30" selected="selected">30</option>
285
+ <option value="50">50</option>
286
+ </select>
287
+ </td>
288
+ <td align="left" width="48%">
289
+ Results 1 - 7 of 7 </td>
290
+ </tr>
291
+ </table>
292
+
293
+ </div>
294
+ </div>
295
+
296
+ <!-- IE Column Clearing -->
297
+ <div id="ie_clearing">&nbsp;</div>
298
+ <!-- Ende: IE Column Clearing -->
299
+ </div>
300
+ <!-- #main: Content End -->
301
+
302
+ </div>
303
+
304
+ <!-- #footer: Start -->
305
+ <div id="footer" style="text-align:center;">
306
+ <!-- <a href="http://www.hieblmedia.de"><img src="http://uva.onlinejudge.org/templates/hm_yaml_2_5/img/hieblmedia_logo.jpg" border="0" alt="HieblMedia WebSolutions"/></a><br />
307
+ -->
308
+ <!-- <a href="http://yaml.to-joomla.de" target="_blank">YAML to Joomla Template</a> &copy; 2006 - 2013 by Reinhard Hiebl [ <a href="http://www.hieblmedia.de">HieblMedia</a> ]<br />
309
+ -->
310
+
311
+ <!-- <a href="http://validator.w3.org/check?uri=referer" target="_blank"><img
312
+ src="http://www.w3.org/Icons/valid-xhtml10"
313
+ alt="Valid XHTML 1.0 Transitional" height="31" width="88" /></a>
314
+
315
+ <a href="http://www.spreadfirefox.com/?q=affiliates&amp;id=207390&amp;t=209" target="_new"><img border="0" alt="Firefox 2" title="Firefox 2" src="http://sfx-images.mozilla.org/affiliates/Buttons/firefox2/firefox-spread-btn-1.png"/></a> -->
316
+
317
+ <script type="text/javascript"><!--
318
+ google_ad_client = "ca-pub-2439032012840386";
319
+ google_ad_slot = "7763957826";
320
+ google_ad_width = 728;
321
+ google_ad_height = 90;
322
+ //-->
323
+ </script>
324
+ <script type="text/javascript"
325
+ src="http://pagead2.googlesyndication.com/pagead/show_ads.js">
326
+ </script>
327
+
328
+
329
+
330
+
331
+ <!-- <a href="http://validator.w3.org/check?uri=http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=9" target="_blank">XHTML</a> | <a href="http://jigsaw.w3.org/css-validator/validator?uri=http://uva.onlinejudge.org/index.php?option=com_onlinejudge&amp;Itemid=9" target="_blank">CSS</a> | -->
332
+
333
+
334
+ <!-- <hr /> <div align="center">
335
+ &copy; 2013 UVa Online Judge</div>
336
+
337
+ <div align="center">
338
+ <a href="http://www.joomla.org">Joomla!</a> is Free Software released under the GNU/GPL License.</div> -->
339
+ <!-- <br /><div id="loading_template_time">Load Total: 0,085 sec. </div>-->
340
+ </div>
341
+ <!-- #footer: End -->
342
+
343
+ </div>
344
+ </div>
345
+
346
+ <script type="text/javascript">
347
+ var gaJsHost = (("https:" == document.location.protocol) ? "https://ssl." : "http://www.");
348
+ document.write(unescape("%3Cscript src='" + gaJsHost + "google-analytics.com/ga.js' type='text/javascript'%3E%3C/script%3E"));
349
+ </script>
350
+ <script type="text/javascript">
351
+ try {
352
+ var pageTracker = _gat._getTracker("UA-9887308-1");
353
+ pageTracker._trackPageview();
354
+ } catch(err) {}</script>
355
+
356
+ </body>
357
+ </html>
358
+ <!-- 1381756791 -->