Cambridge University Computing and Technology Society | ||||||||||
Home · About · Events · Puzzlehunt · Committee · Constitution · Partners · Contact | ||||||||||
Empty ThreatProblem Bodypublic class Puzzle { public static void main(String[] args) { System.out.print(" \t\t \t\n"); System.out.print(" \t\t \t\n"); System.out.print(" \n\t"); System.out.print("\t \t\t"); System.out.print("\n\n\n"); } } AuthorSunoo Park (sp590) DescriptionAt first glance, we see that this puzzle consists of a Java program. By running or inspecting this, we see that it simply outputs several lines of whitespace. Using the powers of google or our own obscure compsci knowledge, possibly with a nudge from the suggestive title, we realise that their exists a programming language that consists solely of Whitespace (and is aptly named as such) Simply running a whitespace interpreter on the program produces no output. However, if we compare the program to the whitespace tutorial, we see that the first two lines each push a number to the stack (13, then 25). The third line swaps these around. The fourth line if a modulo operation, which computes 25%13 = 12 (the solution to the puzzle), and places the result onto the top of the stack. The final line indicates the end of the program. Solution12 Correct submissions
| ||||||||||
"Share" font family by Ralph Oliver du Carrois
Hoodies and stash provided to CUCaTS by Ideasbynet.com. |