Read the original story on slashdot here
Some Canadian college offered a computer science scholarship to anyone who could crack a code (a more text friendly version can be found here). The first winner recieved a full ride, and the next 100 recieved placement in the computer science department. The code is laughable: the numbers are base 4 (and are kindly delimted by a '/'); if you convert each to decimal, you get a number corresponding to a letter of english alphabet. I managed to crack it with one line of not-very-complex perl:
Does this mean I can go to college now? :)perl -e 's/(\d)(\d)(\d)\//chr($1*16+$2*4+$3+64)/ge;print' CODE_HERE
P.S. : Further golfing welcome.
In reply to Canadian Cryptography Contest by jryan
| For: | Use: | ||
| & | & | ||
| < | < | ||
| > | > | ||
| [ | [ | ||
| ] | ] |