Path: utzoo!attcan!uunet!wyse!vsi1!ames!mailrus!tut.cis.ohio-state.edu!cwjcc!hal!ncoast!allbery From: tromp@cwi.nl.UUCP (John Tromp) Newsgroups: comp.sources.misc Subject: v04i110: An amazingly small C-program Message-ID: <7656@boring.cwi.nl> Date: 30 Sep 88 23:32:22 GMT Sender: allbery@ncoast.UUCP Reply-To: tromp@cwi.nl.UUCP (John Tromp) Organization: CWI, Amsterdam Lines: 16 Approved: allbery@ncoast.UUCP Posting-number: Volume 4, Issue 110 Submitted-by: "John Tromp" Archive-name: mazemaze [This one should have been entered in the Obfusticated C contest. ++bsa] Run this C-program and enter a number. Ain't that amazing ? John Tromp (tromp@piring.cwi.nl) char*M,A,Z,E=40,J[40],T[40];main(C){for(*J=A=scanf(M="%d",&C); -- E; J[ E] =T [E ]= E) printf("._"); for(;(A-=Z=!Z) || (printf("\n|" ) , A = 39 ,C -- ) ; Z || printf (M ))M[Z]=Z[A-(E =A[J-Z])&&!C & A == T[ A] |6<<27