-
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 #54 from WISVCH/teaser-fpc24-update
FPC teaser landing page
- Loading branch information
Showing
8 changed files
with
121 additions
and
62 deletions.
There are no files selected for viewing
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
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
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,83 @@ | ||
<!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>1. Glass Reflection</h1> | ||
<h4>FPC 2024 First Teaser Puzzle</h4> | ||
<!-- Source: FPC 2022, https://chipcie.wisv.ch/archive/fpc/, CC BY-SA 4.0 --> | ||
</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="neon.png" class="problemicon"> | ||
<p> | ||
Late in the evening, you are sitting at the Funky Punk Café | ||
and feeling a bit bored because you have not done any programming all day. You stare out of the window and see that | ||
the text on the neon signs gets reflected in a funny way: the | ||
letters are partially overlapping, because the window is made | ||
of double-paned glass. Would it be possible to automatically | ||
read the text of the sign, just by looking at this mangled reflection? With a burst of sudden inspiration, you grab your laptop | ||
and OCR camera from your bag, and start programming. | ||
<br><br> | ||
Your OCR camera appears to correctly recognize the letters in | ||
the reflection when it accounts for the mirroring, except that all the letters are duplicated. | ||
Moreover, if the text on the sign contains double (or more) letters, their reflection partially | ||
overlaps, resulting in only one more letter than there would be in the original word. For | ||
example, the word “beer” is reflected as “bbeeerr”, and the word “ooo” is reflected as | ||
“oooo”. All that is left for you to do, is to write a program that converts these reflected | ||
words back to their original form. | ||
</p> | ||
|
||
<h2>Samples</h2> | ||
<table class="code"> | ||
<tr> | ||
<th>Sample Input</th> | ||
<th>Sample Output</th> | ||
</tr> | ||
<tr> | ||
<td class="code">bbeeerr</td> | ||
<td class="code">beer</td> | ||
</tr> | ||
<tr> | ||
<td class="code">sskkiilllleesssnneesss</td> | ||
<td class="code">skilllessness</td> | ||
</tr> | ||
<tr> | ||
<td class="code">bbaalllooonnnoookkkeeeppeerr </td> | ||
<td class="code">balloonnookkeeper</td> | ||
</tr> | ||
</table> | ||
|
||
<h2>Final Test</h2> | ||
<table class="code"> | ||
<tr> | ||
<th>Input</th> | ||
<th>Next Puzzle</th> | ||
</tr> | ||
<tr> | ||
<td class="code">yyoouuuuuaarreennoowwoonnneesstteeppccllooosseerriinntthhiisssseerriieesssooffpprroommoottiioonnaallppuuzzzzlleessffoorrtthheeffrreesshhmmeeennpprrooggrrraaammmmiinnggccoonntteessstt | ||
</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> |
File renamed without changes
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
Loading
Sorry, something went wrong. Reload?
Sorry, we cannot display this file.
Sorry, this file is invalid so it cannot be displayed.
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
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