We want you to write a text encoder. The program should read an input file and write the encoded content to an output file. The program call should look something like:
encoder input.txt output.txt
You should be able to guess the encoding with help of the input files in the directory input and the corresponding output files in output. The naming schema of these files is easy ;)
We will draw the winner of the iPad mini Wi-Fi + Cellular 16GB from all working submissions.
The submission using the most exotic programming language will win an Amazon gift card amounting 50 Euros. Furthermore we will reward the best submission (as seen by us) with a quadcopter assembly set.
Submissions are taken in to account until Midnight May, 5th 2013.
In order to submit your solution either send us a pull request here on Github or send us an email (with a single packaged tar or zip attachment) to fit2013@consistec.de.
You can download the example files and this readme from here.
Your solution should contain:
- the complete code needed to compile the encoder binary
- some kind of script used to automatically build the binary (like make, ant, maven, rake, etc.)
- the output from your encoder based on the lorem_ipsum.txt file
- all other code you wrote supporting the implementation (read tests)
- a readme on how to compile the binary with a way to contact you (email or something)
What we do not require:
- a certain programming language
- a compiled binary
Wir wollen, dass ihr einen Textkodierer schreibt. Das Programm sollte eine Eingabedatei einlesen und den kodierten Text in eine Ausgabedatei schreiben. Der Programmaufruf sollte so aussehen:
encoder input.txt output.txt
Ihr solltet in der Lage sein, die Kodierung anhand der Eingabedateien in input und der zugehörigen Ausgabedateien in output zu erraten. Das Namensschema der Dateien ist einfach gehalten ;)
Aus allen funktionierenden Einsendungen werden wir den Gewinner eines iPad mini Wi-Fi + Cellular 16GB ziehen.
Die Einsendung mit der exotischsten Programmiersprache gewinnt einen Amazon Gutschein in Höhe von 50 Euro. Und wir werden der (unserer Meinung nach) besten Einsendung einen Quadcopter Bausatz überreichen.
Einsendeschluss ist Mitternacht des 5. Mai 2013.
Um eine Lösung abzugeben, macht entweder hier auf Github einen Pull-Request auf oder schickt uns eine E-Mail (mit einem einzigen gepackten tar oder zip Anhang) an fit2013@consistec.de.
Die Beispieldateien und diese Readme-Datei findet ihr hier.
Eure Lösung muss enthalten:
- den kompletten Code um das Binary zu kompilieren
- eine Art Skript mit dem man das Binary automatisch bauen kann (sowas wie make, ant, maven, rake, etc.)
- die Ausgabedatei eures encoders aus der Eingabe lorem_ipsum.txt
- anderer Code der geschrieben wurde um die Implementierung zu unterstützen (sowas wie Tests)
- eine Readme-Datei in der steht wie der Code zu kompilieren ist und mit euren Kontaktinformationen (E-Mail oder so)
Was wir nicht fordern:
- eine bestimmte Programmiersprache
- ein kompiliertes Binary
