Death Of The Obfuscated C Code Contest?
slashdot-me asks: "The International Obfuscated C Code Contest that we all know and love seems to be stalled. The judging phase of the contest began six months ago in April. Since then all the judges except Leonid Broukis have abandoned the project.
Has this 16-year-old programming tradition died?"
main() {double a,b,c;if(a,b,c,1){printf("frist psot\n");}}
While they've been having their merry contests, the rest of the world has utterly failed to learn the lesson they were trying to promote and now calls what they do "programming".
I will give 10 karma to whomever can tell me exactly how this code works.
for(b=c;d+=f[b]*a,f[b]=d%--g,d/=g--,--b;d*=b)
;
#include
int a=10000,b,c=2800,d,e,f[2801],g;
void main(){
for(;b-c;)
f[b++]=a/5;
for(;d=0,g=c*2;c-=14,printf("%.4d",e+d/a),e=d%a)
}
Think I could have be a contender?
-----
If my facts are wrong then tell me. I don't mind.
now that C# has been announced.
Or Even better.... Perl Poetry.
Check out some of the winners, they are quite impressive. Where else can you find code for a flight simulator that looks like a plane?
http://www.ioccc.org/years.html#1998
http://www.ioccc.org/1998/banks.c
http://www.ioccc.org/1998/banks.hint
Last time I tried, it wouldn't compile, but I guess you can't expect too much portability from something like this.
You don't initialize b before using it in the condition of the for loop. An ANSI "main" must have return type int.
Also, you didn't write this code.
From the IOCCC page (www.ioccc.org): What's New? 13 Oct 2000: Good news! The main judge (Landon Curt Noll) is back! We hope that the judging will go faster now. I suspect the number of entries each year is growing exponentially. Patience, folks! There's a big workload, and the judges are doing on a strictly voluntary basis.
I object to that article, and to the next reply.