Sock puppetry has finally made this forum almost totally useless as a discussion platform. Welcome!

### I need some help with this line of code

My boss is bugging me to document it.

http://www0.us.ioccc.org/2004/kopczynski.c
Vineet Reynolds
January 31st, 2006 11:18am
try this:
//main(O){int I,Q,l=O;if(I=l*4){l=6;if(l>5)l+=Q-8?l-(Q=getchar()-2)%2:l;if(Q*=2)O+="has dirtiest IF"[(I/-Q&12)-l/Q%4];}printf("%d\n",8+O%4);}
John Haren
January 31st, 2006 11:19am
main(O){
int I, Q, l=O;

if(I=l*4){
l=6;
if(l>5){
l+=Q-8?l-(Q=getchar()-2)%2:l;
}
if(Q*=2){
7O+="has dirtiest IF"[(I/-Q&12)-l/Q%4];
}
}
printf("%d\n",8+O%4);
}

What the hell is that supposed to do? Its giberish?
Zoot
January 31st, 2006 11:29am
Optimized:

printf("8");
Zoot
January 31st, 2006 11:35am
Ummm.. I dont know what to say. This topic ended quite fast.
Anyway I congratulate Zoot on being capable of reading the code written at the International Obfuscated C Code contest.
Vineet Reynolds
January 31st, 2006 11:39am
kopncyski? isn't that the unabomber. don't run this code! it will explode.
bring out da punk
January 31st, 2006 11:40am
That's Kaczynski.
http://en.wikipedia.org/wiki/Theodore_Kaczynski
Vineet Reynolds
January 31st, 2006 11:43am
Why is your boss bugging you to document code from IOCCC? Were you being bad?
-tim
a2800276
January 31st, 2006 11:53am
Nah, I was tickling his mustache.
Vineet Reynolds
January 31st, 2006 11:56am
Another fine example of idiomatic language that can be misconstrued.
Simon Lucy
January 31st, 2006 11:58am
Oh, I can't read it very well. its just the zero mod four is zero, so all the other rap doesn't matter.

I didn't know you could do this though:

char x = "ABCD"[3];

..and x will now contain the code for "D"
Zoot
January 31st, 2006 12:05pm
Seems like Simon wants me to be specific.
So let me restate it - I was tickling his mustache on his face (I cant be more specific; no, I wasnt tickling the mustaches present elsewhere).
Vineet Reynolds
January 31st, 2006 12:05pm
Which face?
a2800276
January 31st, 2006 12:22pm
That's not a zero, that's an O.
bring out da punk
January 31st, 2006 12:26pm
Vineet, with what were you tickling his mustache on his face?  Your finger?
AllanL5
January 31st, 2006 2:04pm
Let him keep his secrets.
Rick Tang
January 31st, 2006 2:12pm
What did it feel like?
hairless
January 31st, 2006 2:56pm
> x will now contain the code for "D"

How HTML-ey of you.
Mr. Powers
January 31st, 2006 8:21pm