Obfuscate Code Contest

Talk about anything here...

Moderators: Darobat, RecursiveS, Dante Shamest, Bugdude, Wizard

Postby Darobat » Sat Sep 04, 2004 6:31 pm

What just happened? And yes, thats the song. Try to make a console progam that prints that in the most obscure way.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Guest » Sat Sep 04, 2004 7:59 pm

go home wrote:That is obviously Dave Sinkula so go back to http://cboard.cprogramming.com/index.php? and stay there.
Last edited by Guest on Thu Jan 06, 2005 12:12 am, edited 1 time in total.
Guest
 

Postby Beer Hunter » Sun Sep 05, 2004 2:13 am

I've written and submitted my entry. Now I wait ...
User avatar
Beer Hunter
 
Posts: 912
Joined: Sat Dec 13, 2003 7:12 pm
Location: Australia

Postby Corsix » Sun Sep 05, 2004 12:55 pm

Is there a deadline of this contest?
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Guest » Sun Sep 05, 2004 1:19 pm

go home wrote:That is obviously Dave Sinkula so go back to http://cboard.cprogramming.com/index.php? and stay there.
Last edited by Guest on Thu Jan 06, 2005 12:58 am, edited 1 time in total.
Guest
 

Postby Darobat » Sun Sep 05, 2004 2:08 pm

Wow! That does work. lol. Since I'm holding the contest, they kinda need to be able to compile on my comp, which has MSVC++ 6.0.
Corsix wrote:Is there a deadline of this contest?

I have to find out when the deadline for getting entries into the magazine is, because it will be the same day.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Darobat » Sun Sep 05, 2004 2:43 pm

I got your entry corsix except it wont quite work properly. It compiles, but the first verse prints

"On the first day of Christmas,
i shall win this
i win"

Hmmm... That don't look right. lol.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby tomcant » Sun Sep 05, 2004 2:45 pm

Ok.. mines submitted. Just to clarify, no one said anything about formatting the lyrics.
If it wasn't for C, we would be using BASI, PASAL and OBOL.
User avatar
tomcant
 
Posts: 3101
Joined: Tue Sep 23, 2003 1:56 am
Location: Colchester, UK

Postby Corsix » Sun Sep 05, 2004 2:58 pm

Darobat wrote:I got your entry corsix except it wont quite work properly. It compiles, but the first verse prints

"On the first day of Christmas,
i shall win this
i win"

Hmmm... That don't look right. lol.

"On the first day of Christmas,
i fixed it
and re-sent"

PS. thanks for telling me - ryan would never do such a nice thing
Code: Select all
#include <stdio.h>
char*_="XxTIHRCXCxTIHRXRCxTIHXHRCxTIXIHRCxTXTIHRCxXxTIHRCX";
int main(int l){for(l+=7;l!=putchar(010);++l);if(*(++_))main
(*_!=88?(putchar(*_^073)|putchar(33))&1:0xffff2a8b);}
User avatar
Corsix
 
Posts: 1181
Joined: Fri Jul 23, 2004 9:33 am
Location: Berkeley, UK

Postby Darobat » Sun Sep 05, 2004 3:14 pm

I'll tell ppl till the due date, and if the entry still has errors, they're out. Awaiting due date from gangsterG so it can go in with the magazine. I might just do one without putting it in the mag.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Ryan » Sun Sep 05, 2004 4:28 pm

Corsix wrote:PS. thanks for telling me - ryan would never do such a nice thing

Hey!
Ryan
Moderator
 
Posts: 323
Joined: Sat Jun 12, 2004 1:34 pm

Postby Darobat » Sun Sep 05, 2004 4:30 pm

It's true
Ryan wrote:Most of those that failed got the right answers but the output wrong (ie, missed a period on the end). Sorry to do that to you, but rules are rules.

As you can see, people in your contests never get second chances on tiny things.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

Postby Andy2005 » Sun Sep 05, 2004 5:12 pm

I'll tell ppl till the due date, and if the entry still has errors, they're out. Awaiting due date from gangsterG so it can go in with the magazine. I might just do one without putting it in the mag.


for the code contest ; Darobat you set the date am almost done so any time you want would be fine;

since this is the first one we would not have a due date on the magazine

yall could just email me the articles and reviews in .DOC format and i would use my sister laptop to convert it to PDF format
rember the way it looks in doc is the way it would look in pds so.....
i would upload all articles in web format .

email:~ andy2005@gmail.com
i would creat a gmail address for the mag as soon as someone comes up with a name any good name lol
subject:~ magazine month 1 // something like that
Step 1) Look at This
Step 2) Get True Combat
User avatar
Andy2005
 
Posts: 1057
Joined: Wed Sep 24, 2003 3:26 pm
Location: NewYork

Postby Kybo Ren » Sun Sep 05, 2004 5:52 pm

Kybo Ren
C++ Beginner
 
Posts: 2049
Joined: Wed Feb 11, 2004 9:28 pm

Postby Darobat » Sun Sep 05, 2004 7:19 pm

How about we aim for releasing the magazine on the 15th? If thats the case, entries are due for the contest on the 12th.
Code: Select all
#include <stdio.h>
struct W{char m,M[4??),w;void x(char
*W)??<w^=w;while(w[W]!=0)putchar(W[w
]^M[w++%5??));}W():m(040),w(0){char*
X="d@PLfAU\x05P)sHEMoTTPF""\31";for(
;w<5;w++[M??)=m++);x(X);}}w;main(){}
User avatar
Darobat
Moderator
 
Posts: 2572
Joined: Sat Sep 27, 2003 1:19 pm

PreviousNext

Return to Open Discussion

Who is online

Users browsing this forum: No registered users and 1 guest