-
Notifications
You must be signed in to change notification settings - Fork 0
Expand file tree
/
Copy pathtask.html
More file actions
117 lines (99 loc) · 6.77 KB
/
task.html
File metadata and controls
117 lines (99 loc) · 6.77 KB
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
37
38
39
40
41
42
43
44
45
46
47
48
49
50
51
52
53
54
55
56
57
58
59
60
61
62
63
64
65
66
67
68
69
70
71
72
73
74
75
76
77
78
79
80
81
82
83
84
85
86
87
88
89
90
91
92
93
94
95
96
97
98
99
100
101
102
103
104
105
106
107
108
109
110
111
112
113
114
115
116
117
<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Transitional//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-transitional.dtd">
<html xmlns="http://www.w3.org/1999/xhtml" xml:lang="en" lang="en">
<head>
<title>Helvetic Coding Contest</title>
<meta http-equiv="Content-Type" content="text/html; charset=utf-8" />
<meta name="generator" content="gedit" />
<meta name="author" content="Titus Cieslewski" />
<link rel="stylesheet" type="text/css" href="style254a7.css?20160213" />
<LINK REL="SHORTCUT ICON" HREF="res/favicon3ba2.png?20150204">
<script type="text/javascript" src="js/js23ba2.js?20150204"></script>
<script type="text/javascript" src="../ajax.googleapis.com/ajax/libs/jquery/1.10.2/jquery.min.js"></script>
<script type="text/javascript" src="../ajax.googleapis.com/ajax/libs/jqueryui/1.10.3/jquery-ui.min.js"></script>
<script type="text/javascript" src="../apis.google.com/js/plusone.js"></script>
<!-- GOOGLE ANALYTICS -->
<script type="text/javascript">
var _gaq = _gaq || [];
_gaq.push(['_setAccount', 'UA-37610977-1']);
_gaq.push(['_trackPageview']);
(function() {
var ga = document.createElement('script'); ga.type = 'text/javascript'; ga.async = true;
ga.src = ('https:' == document.location.protocol ? 'https://ssl' : 'http://www') + '.google-analytics.com/ga.js';
var s = document.getElementsByTagName('script')[0]; s.parentNode.insertBefore(ga, s);
})();
</script>
</head>
<body>
<div style="margin:20px auto 0px auto; width:1150px; position:relative;">
<div id="main3">
<div id="main2">
<div id="main">
<!--<img src="img/logo.png" style="position:absolute; bottom:-40px; left:-30px;" alt="logo" />-->
<!-- Some seldomly accessed links & infos here -->
<table width="100%" style="padding:0 10px; margin:3px auto 0px auto;">
<tr>
<td style="padding:0; margin:0;">
<a href="../external.html?link=http://twitter.com/share" class="twitter-share-button" data-count="none">Tweet</a><script type="text/javascript" src="../platform.twitter.com/widgets.js"></script></td><td style="padding:0; margin:0;">
<iframe src="../external.html?link=http://www.facebook.com/plugins/like.php?href=http%3A%2F%2Fwww.facebook.com%2Fpages%2FHelvetic-Coding-Contest%2F309821316193&layout=button_count&show_faces=false&width=450&action=like&colorscheme=light&height=21" scrolling="no" frameborder="0" style="border:none; overflow:hidden; width:200px; height:21px;" allowTransparency="true"></iframe>
</td><td style="padding:0; margin:0;"><g:plusone size="small" annotation="inline" width="200"></g:plusone>
</td>
<td align="right" style="padding:0; margin:0;">
<form action="../external.html?link=http://2016.hc2.ch/task.php?" method="get" style="display:inline;">
<!--<select id="language" name="lang">
<option value="En" selected>English</option>
<option value="De" >Deutsch</option>
<option value="Fr" >Français</option>
</select>
<script language="javascript">
$(function(){
$("#language").change(function(){
location.href = ("?lang="+$("#language").val());
});
});
</script>-->
<noscript>
<input type="Submit"/>
</noscript>
</form>
Last update: 08.10.2016 </td>
</tr>
</table>
<!-- The menu -->
<div id="menu">
<span ><a href='index-2.html'>Home</a></span><span ><a href='info.html'>Infos</a></span><span ><a href='gallery.html'>Gallery</a></span><span class='selected'><a href='register_frame.html'>Registration</a></span><span ><a href='links.html'>Sponsors</a></span>
<div align="left" id="submenu">
<span ><a href='register_frame.html'>Registration</a></span><span class='selected'><a href='task.html'>Qualification task</a></span><span ><a href='regstatus.html'>Registration status</a></span> </div>
</div>
<!-- Finally, the content -->
<div id="content">
<div class="alert">Each team will receive a slightly different task, therefore you will need to register before being able to see the input your team should use.</div><div class="alert">Use the link in your registration confirmation e-mail to view the correct input.</div><p style='font-weight: bold;'>You are too late to solve the task.</p><p>Welcome to HC<sup>2</sup> 2016, happy zombie-party!</p><p>To help you overcome waves and waves of zombies coming right at you, you decided to build a killer robot! Still fighting the brain-eaters, using just one hand, you managed to build a brilliant, gigantic machine, able to feed on brains! You used it for a few days, greatly helping you with all this zombie-killing.</p><p>But there seems to be a pattern emerging from the robot itself... Each time it kills a zombie, a character appears, and some actions the robot does seem to modify the latest character!</p><p>You decide to take note of the actions you witness:</p><ul><li><tt>kill zombies -> c</tt> means that the robot killed a zombie and that the character '<tt>c</tt>' appeared.</li><li><tt>grab brain</tt> increments the letter by 2, e.g. <tt>a -> c</tt>, <tt>f -> h</tt>, <tt>w -> y</tt>.</li><li><tt>clean chainsaw</tt> decrements the character by 3, e.g. <tt>d -> a</tt>, <tt>f -> c</tt>, <tt>w -> t</tt>.</li><li><tt>wander here and there</tt> helps to find new zombies, but doesn't alter the character.</li></ul><p>To make sense of this, you decide to write a program to gather all characters and the resulting sentence.</p><p>Please login to see your recorded actions.</p><h2>Sample</h2><p>After an hour of following your dedicated kill-machine, you took note of the following operations:</p><pre>kill zombie -> B
kill zombie -> u
clean chainsaw
wander here and there
kill zombie -> a
grab brain
grab brain
clean chainsaw
wander here and there
clean chainsaw
grab brain
kill zombie -> e
grab brain
wander here and there
grab brain
wander here and there
kill zombie -> n</pre><p>Which returned:</p><pre>Brain</pre><p><a href="regtask2016/sample.txt" >Download the example as a text file!</a></p> </div>
<br style="clear:both;" />
<div id="foot" align="center">
<a href="../external.html?link=http://www.epfl.ch/" target="_blank" ><img src="img/logo140/epfl.png" alt="logo epfl" align="middle"/></a>
<a href="../external.html?link=http://www.open.ch/" target="_blank" ><img src="img/logo140/open.png" alt="logo open systems" align="middle" /></a>
<a href="../external.html?link=http://www.adnovum.ch/" target="_blank" ><img src="img/logo140/adnovum.png" alt="logo adnovum" align="middle"/></a>
<a href="../external.html?link=http://polyprog.epfl.ch/" target="_blank" ><img src="img/logo140/polyprog.png" alt="logo polyprog" align="middle" /></a>
</div>
</div>
</div>
</div>
</div>
</body>
</html>