-
Notifications
You must be signed in to change notification settings - Fork 3
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
Merge pull request #36 from WISVCH/fpc2023-teaser
- Loading branch information
Showing
15 changed files
with
694 additions
and
0 deletions.
There are no files selected for viewing
3 changes: 3 additions & 0 deletions
3
...c/0000111000100001010000010100010100110111000011000111100000110000/alcatraz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
192 changes: 192 additions & 0 deletions
192
static/fpc/0000111000100001010000010100010100110111000011000111100000110000/cases.txt
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,192 @@ | ||
7 4 5 | ||
2 7 6 | ||
6 5 2 | ||
3 1 1 | ||
9 9 1 | ||
2 4 3 | ||
3 5 1 | ||
6 8 1 | ||
7 5 4 | ||
8 9 2 | ||
6 5 2 | ||
1 9 5 | ||
8 9 1 | ||
4 4 3 | ||
1 4 3 | ||
6 2 6 | ||
4 9 1 | ||
6 9 3 | ||
1 9 8 | ||
4 8 6 | ||
7 5 5 | ||
3 5 1 | ||
5 2 4 | ||
8 3 2 | ||
9 2 8 | ||
3 7 6 | ||
9 3 2 | ||
1 3 2 | ||
4 1 3 | ||
6 2 1 | ||
4 6 2 | ||
7 5 3 | ||
2 2 2 | ||
7 7 1 | ||
6 1 6 | ||
5 6 5 | ||
3 3 1 | ||
5 3 3 | ||
3 5 4 | ||
9 8 2 | ||
4 3 3 | ||
3 5 5 | ||
4 8 1 | ||
3 9 3 | ||
7 2 5 | ||
4 4 5 | ||
6 7 2 | ||
7 3 7 | ||
4 8 2 | ||
6 2 4 | ||
9 4 3 | ||
9 9 1 | ||
6 5 1 | ||
4 7 6 | ||
4 4 4 | ||
9 6 3 | ||
7 6 1 | ||
3 2 2 | ||
7 3 5 | ||
3 6 4 | ||
7 6 3 | ||
4 4 5 | ||
6 1 2 | ||
6 6 3 | ||
4 1 4 | ||
2 1 1 | ||
5 9 4 | ||
8 1 8 | ||
3 4 2 | ||
9 8 1 | ||
7 1 2 | ||
3 9 7 | ||
1 3 2 | ||
2 2 2 | ||
5 8 5 | ||
2 3 2 | ||
6 9 2 | ||
8 6 3 | ||
1 8 5 | ||
2 6 5 | ||
8 6 1 | ||
2 5 1 | ||
1 3 3 | ||
5 6 2 | ||
7 2 1 | ||
6 7 5 | ||
6 8 2 | ||
6 1 3 | ||
4 9 6 | ||
3 6 3 | ||
5 5 3 | ||
3 7 6 | ||
7 3 1 | ||
7 8 1 | ||
9 3 3 | ||
2 8 3 | ||
4 1 3 | ||
5 8 3 | ||
9 2 5 | ||
4 1 3 | ||
6 1 5 | ||
7 2 3 | ||
5 2 4 | ||
2 8 3 | ||
1 8 2 | ||
4 1 3 | ||
1 8 8 | ||
5 1 2 | ||
6 4 5 | ||
9 6 4 | ||
1 2 2 | ||
9 2 7 | ||
5 6 6 | ||
9 1 3 | ||
1 7 4 | ||
4 4 4 | ||
2 2 2 | ||
9 4 6 | ||
2 4 3 | ||
9 2 4 | ||
8 9 1 | ||
1 8 1 | ||
3 2 1 | ||
8 3 4 | ||
9 1 2 | ||
4 5 2 | ||
2 2 2 | ||
2 4 2 | ||
2 7 3 | ||
4 1 4 | ||
9 3 3 | ||
5 9 5 | ||
8 5 1 | ||
6 7 1 | ||
2 3 1 | ||
6 8 3 | ||
3 2 2 | ||
2 9 7 | ||
3 4 2 | ||
9 2 6 | ||
1 6 6 | ||
7 7 4 | ||
4 4 4 | ||
7 3 3 | ||
2 6 1 | ||
1 9 9 | ||
8 8 2 | ||
6 1 2 | ||
6 6 2 | ||
2 9 2 | ||
5 6 5 | ||
2 2 2 | ||
8 3 6 | ||
7 6 1 | ||
3 6 5 | ||
8 7 2 | ||
9 8 1 | ||
7 1 3 | ||
8 8 1 | ||
6 6 5 | ||
8 6 1 | ||
2 9 1 | ||
7 1 1 | ||
2 9 1 | ||
5 7 1 | ||
7 9 1 | ||
2 1 2 | ||
4 6 3 | ||
5 2 3 | ||
4 7 1 | ||
1 9 7 | ||
3 6 2 | ||
7 1 3 | ||
1 3 1 | ||
7 3 5 | ||
6 9 2 | ||
9 8 1 | ||
2 1 1 | ||
1 5 2 | ||
9 7 2 | ||
5 9 3 | ||
3 3 1 | ||
3 4 2 | ||
2 1 2 | ||
7 1 3 | ||
8 1 1 | ||
6 3 6 | ||
8 9 1 | ||
3 8 4 | ||
8 7 2 | ||
7 3 7 | ||
5 6 1 |
3 changes: 3 additions & 0 deletions
3
.../0000111000100001010000010100010100110111000011000111100000110000/ialcatraz.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
115 changes: 115 additions & 0 deletions
115
static/fpc/0000111000100001010000010100010100110111000011000111100000110000/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,115 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<table class="title"> | ||
<tr> | ||
<td> | ||
<img src="../fpc-logo.png" class="logo"> | ||
</td> | ||
<td style="width: 70%"> | ||
<h1>3. Alcatraz</h1> | ||
<h4>FPC 2023 Final Teaser Puzzle</h2> | ||
</td> | ||
</tr> | ||
</table> | ||
|
||
<div class="rainbow" style="margin: 40px 10% 40px 10%"> | ||
<div class="black" style="padding: 5px"> | ||
<div class="rainbow"> | ||
<div class="black" style="padding: 25px; overflow: hidden;"> | ||
<img src="ialcatraz.png" class="problemicon"> | ||
<p> | ||
After breaking into the database of the TU Delft and releasing sensitive information to | ||
the public, Anton the cyber criminal got the CIA looking for him. After being arrested, | ||
Anton was transported to the heavily guarded prison Alcatraz. Disabling the security | ||
system was a piece of cake, so he could easily get outside of the prison walls. However, | ||
behind these walls a number of guards are positioned and they will immediately sound | ||
the alarm if they spot any escaped prisoner. | ||
<br><br> | ||
To escape, Anton needs to cross a field with width | ||
10 and height 10 that is being guarded by 3 guards. | ||
He starts | ||
at position (0, 0) and can only escape if he reaches | ||
position (10, 10) without being spotted. Some | ||
guards have better views than others, so every of | ||
the three guards has an associated range of view. | ||
If the distance between Anton and a guard is less | ||
than that guard's view range, | ||
then the guard will sound the alarm and Anton | ||
will return to his cell. | ||
<br><br> | ||
Your job is now to find out whether Anton can | ||
escape Alcatraz or if he cannot escape without being | ||
spotted. | ||
</p> | ||
|
||
<h2>Input</h2> | ||
<p> | ||
A file containing multiple setups of initial positions for the | ||
three guards. One setup consists of three lines with | ||
each line containing a guard's X, Y, and view radius R as | ||
integers from 1-9. | ||
</p> | ||
<h2>Output</h2> | ||
<p> | ||
A string containing a character 0 or 1 for each setup. If | ||
it is possible to escape the setup, then the | ||
character is a 1, else 0. Your output should contain | ||
lines/3 characters. | ||
</p> | ||
|
||
<h2>Samples</h2> | ||
<table class="code"> | ||
<tr> | ||
<th>Sample Input</th> | ||
<th>Sample Output<th> | ||
</tr> | ||
<tr> | ||
<td class="code"> | ||
8 2 7<br> | ||
5 3 2<br> | ||
4 5 1<br> | ||
</td> | ||
<td class="code"> | ||
1 | ||
</td> | ||
</tr> | ||
<tr> | ||
<td class="code"> | ||
5 7 2<br> | ||
2 8 5<br> | ||
6 1 2<br> | ||
5 8 3<br> | ||
5 9 3<br> | ||
8 9 1<br> | ||
</td> | ||
<td class="code"> | ||
11 | ||
</td> | ||
</tr> | ||
</table> | ||
<h2>Final Test</h2> | ||
<table class="code"> | ||
<tr> | ||
<th>Input</th> | ||
<th>Next Puzzle</th> | ||
</tr> | ||
<tr> | ||
<td class="code" style="text-align: center"> | ||
<a href="cases.txt">cases.txt</a> | ||
</td> | ||
<td class="code" style="text-align: center"> | ||
<span | ||
class="finaloutput">https://chipcie.wisv.ch/fpc/<OUTPUT></span> | ||
</td> | ||
</tr> | ||
</table> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
...pc/0010100100000010100000000010001101000000110010000100101001011000/glitch2.png
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
32 changes: 32 additions & 0 deletions
32
static/fpc/0010100100000010100000000010001101000000110010000100101001011000/index.html
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -0,0 +1,32 @@ | ||
<!DOCTYPE html> | ||
<html> | ||
<head> | ||
<link rel="stylesheet" href="../style.css"> | ||
</head> | ||
<body> | ||
<div class="rainbow" style="margin: 40px 10% 40px 10%"> | ||
<div class="black" style="padding: 5px"> | ||
<div class="rainbow"> | ||
<div class="black" style="padding: 25px; overflow: hidden;"> | ||
<p> | ||
<h1> | ||
Will we see you at the FPC? | ||
</h1> | ||
<p> | ||
Congratulations on passing all the FPC teaser | ||
puzzles! If you enjoyed these puzzles, dont forget | ||
to rally your friends and register for FPC | ||
2023! The FPC will feature many more creative | ||
puzzles for you to solve and learn from! | ||
<a | ||
href="https://wisv.ch/fpcregistration">https://wisv.ch/fpcregistration</a> | ||
</p> | ||
<img src="solving.jpg" style="margin: auto; | ||
width:80%; margin: 30px 30px 30px 30px"> | ||
</p> | ||
</div> | ||
</div> | ||
</div> | ||
</div> | ||
</body> | ||
</html> |
3 changes: 3 additions & 0 deletions
3
...pc/0010100100000010100000000010001101000000110010000100101001011000/solving.jpg
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Binary file not shown.
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
Oops, something went wrong.