chongo@nsc.UUCP (Landon C. Noll) (05/03/84)
some folks didn't get this, so here are the winning enties again. <dis>honorable mention: ------------------------------------------------------------------------------ int i;main(){for(;i["]<i;++i){--i;}"];read('-'-'-',i+++"hell\ o, world!\n",'/'/'/'));}read(j,i,p){write(j/p+p,i---j,i/i);} ----------------------------------------------------------------------------- anonymous entry (too embarassed that he/she could write such trash i guess) Third place: --------------------------------------------------------------------------- a[900]; b;c;d=1 ;e=1;f; g;h;O; main(k, l)char* *l;{g= atoi(* ++l); for(k= 0;k*k< g;b=k ++>>1) ;for(h= 0;h*h<= g;++h); --h;c=( (h+=g>h *(h+1)) -1)>>1; while(d <=g){ ++O;for (f=0;f< O&&d<=g ;++f)a[ b<<5|c] =d++,b+ =e;for( f=0;f<O &&d<=g; ++f)a[b <<5|c]= d++,c+= e;e= -e ;}for(c =0;c<h; ++c){ for(b=0 ;b<k;++ b){if(b <k/2)a[ b<<5|c] ^=a[(k -(b+1)) <<5|c]^ =a[b<<5 |c]^=a[ (k-(b+1 ))<<5|c] ;printf( a[b<<5|c ]?"%-4d" :" " ,a[b<<5 |c]);} putchar( '\n');}} /*Mike Laman*/ ---------------------------------------------------------------------------- Mike Laman UUCP: {ucbvax,philabs,sdccsu3,sdcsla}!sdcsvax!laman P.S. I hope you have the C beautifier! The program accepts ONE positive argument. Seeing is believing! Try something like "cmd 37" for an example. <ed: also try cmd 4; cmd 9; cmd 16; cmd 25; cmd 36; ...> Second place award: --------------------------------------------------------------------------- #define x = #define double(a,b) int #define char k['a'] #define union static struct extern int floor; double (x1, y1) b, char x {sizeof( double(%s,%D)(*)()) ,}; struct tag{int x0,*xO;} *main(i, dup, signal) { { for(signal=0;*k * x * __FILE__ *i;) do { (printf(&*"'\",x); /*\n\\", (*((double(tag,u)(*)())&floor))(i))); goto _0; _O: while (!(char <<x - dup)) { /*/*\*/ union tag u x{4}; } } while(b x 3, i); { char x b,i; _0:if(b&&k+ sin(signal) / * ((main) (b)-> xO));/*} ; } */}}} ------------------------------------------------------------------------------- By: Dave Decot hplabs!hpda!hpdsd!decot First place award goes to: ------------------------------------------------------------------------ /* Portable between VAX11 && PDP11 */ short main[] = { 277, 04735, -4129, 25, 0, 477, 1019, 0xbef, 0, 12800, -113, 21119, 0x52d7, -1006, -7151, 0, 0x4bc, 020004, 14880, 10541, 2056, 04010, 4548, 3044, -6716, 0x9, 4407, 6, 5568, 1, -30460, 0, 0x9, 5570, 512, -30419, 0x7e82, 0760, 6, 0, 4, 02400, 15, 0, 4, 1280, 4, 0, 4, 0, 0, 0, 0x8, 0, 4, 0, ',', 0, 12, 0, 4, 0, '#', 0, 020, 0, 4, 0, 30, 0, 026, 0, 0x6176, 120, 25712, 'p', 072163, 'r', 29303, 29801, 'e' }; ------------------------------------------------------------------------------ Sjoerd Mullender Robbert van Renesse Both @ Vrije Universiteit, Amsterdam, the Netherlands. ..!decvax!mcvax!vu44!{sjoerd,cogito} <ed: try this on your local VAX or pdp-11>
chongo@nsc.UUCP (Landon Noll) (06/10/85)
The results of the contest may be a little late this time due to USENIX and so on... But do not fear, they should be posted no later than say: the 19th chongo <> /\../\ -- no comment is a comment.
libes@nbs-amrf.UUCP (Don Libes) (08/02/85)
Micro/Systems Journal has a regular column on intermediate-level C programming (called "The C Forum"). Next month's (9/85) column will be devoted to the results of nsc!chongo's 1984 Obfuscated C Code Contest. While most people on the net are already aware of the contest and have seen the most recent results, publishing it will gain more exposure, both for the contest and for the winners. I encourage more people to enter the contest in the future. At the very least, if your program is selected, your name will be emblazoned forever in a free copy of the journal, sent to you in a plain brown paper wrapper. (Next time you give up reading your coworker's code, suggest that they too, enter the contest!) The magazine plans to continue publishing the results of future Obfuscated C Code contests as well as other articles of overwhelming importance to the C hackers of the world. Micro/Systems Journal can be found at all better bookstores as well as most Silicon Valley company toilet stalls. For more information, contact: Micro/Systems Journal P.O. Box 1192 Mountainside, NJ 07092 (201) 522-9347 Don Libes {seismo,umcp-cs}!nbs-amrf!libes