|
|
|
|
![]() ![]() |
May 17 2005, 08:08 AM
Post
#11
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 351 Joined: 19-October 04 From: India Member No.: 1,824 |
hey, I did not know that bit about zip software, though I know a few compression algorithms and the most basic one being huffman coding...
btw I was going through the official website of the contest and found new program submissions which were amazing.. could not believe what people cound pack in a C program with less than 4K characters(that is the limit of program for submission).. QUOTE 2) The size of your program source must be <= 4096 bytes in length. The number of characters excluding whitespace (tab, space, newline, formfeed, return), and excluding any ; { or } immediately followed by whitespace or end of file, must be <= 2048. A few of the entries created graphics not easily made even in photoshop.... maybe comparing a bit too far.. but u need to see it to believe it... Also I suppose the contest is currently open, anyone interested...??? Their website as nagu gave is: www.ioccc.org Cheers. |
|
|
|
May 19 2005, 12:18 AM
Post
#12
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 399 Joined: 14-November 04 From: Elysium Member No.: 2,280 |
WOW, that was brilliant. Although it looks an awful lot like the linux source code... hmm... getting fishy. Cse-icons, you should try out for it (after all, aren't you the one always sending the C riddles?). Watch me cook up something in a week.
|
|
|
|
May 19 2005, 01:37 AM
Post
#13
|
|
|
Desperately seeking "any key" to continue... ![]() Group: Admin Posts: 3,489 Joined: 23-April 05 From: Trap17 storage box Member No.: 6,042 |
QUOTE(cse-icons @ May 17 2005, 04:08 AM) hey, I did not know that bit about zip software, though I know a few compression algorithms and the most basic one being huffman coding... Zip software is amazing riddles of numbering and sequencing. Now, I am not perfectly clear either but as I understand it, this is how the zip software works (and much like the code for 12 days of Christmas). Let’s take the following lyrics only: On the first day of Christmas my true love gave to me a partridge in a pear tree. On the second day of Christmas my true love gave to me two turtle doves and a partridge in a pear tree. I have color coordinated them to show you the ‘group sequence’ as I have explained in my post (read it here). As you can see, it becomes bit more clear what group sequence means. So then I would assign
So in a nut shell, this is how your zip software works—but faster and with better sequencing to reduce the size. This post has been edited by BuffaloHELP: May 19 2005, 01:41 AM |
|
|
|
May 19 2005, 09:28 AM
Post
#14
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 351 Joined: 19-October 04 From: India Member No.: 1,824 |
QUOTE(osknockout @ May 19 2005, 05:48 AM) WOW, that was brilliant. Although it looks an awful lot like the linux source code... hmm... getting fishy. Cse-icons, you should try out for it (after all, aren't you the one always sending the C riddles?). Watch me cook up something in a week. Thanks osknockout, I thought abt contesting but the competition is damn good.. Also dont have much time on my hands now.. may be next time... but even looking at the winning entries gives a lot of new ideas and understanding of the quality of brilliant people out there... Cheers. |
|
|
|
May 19 2005, 09:56 PM
Post
#15
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 399 Joined: 14-November 04 From: Elysium Member No.: 2,280 |
You're welcome cse-icons. Hey I have an idea for you. You should make a random C/C++ riddle program. That way we can be confused both ways and you'll probably get some real recognition. Looks like my dev. computer shut down... bummer. Make that week a month.
|
|
|
|
Jun 6 2005, 08:34 AM
Post
#16
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 351 Joined: 19-October 04 From: India Member No.: 1,824 |
QUOTE(osknockout @ May 20 2005, 03:26 AM) You're welcome cse-icons. Hey I have an idea for you. You should make a random C/C++ riddle program. That way we can be confused both ways and you'll probably get some real recognition. Looks like my dev. computer shut down... bummer. Make that week a month. hmmm... I did not understand what you meant by random C/C++ riddle?? but I sure would post anything interesting that I come across.. btw I am waiting for your riddle/puzzle??? nothing like a good C/C++ puzzle... Cheers. |
|
|
|
Jun 6 2005, 11:59 AM
Post
#17
|
|
|
Super Member ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() ![]() Group: Members Posts: 399 Joined: 14-November 04 From: Elysium Member No.: 2,280 |
QUOTE hmmm... I did not understand what you meant by random C/C++ riddle?? but I sure would post anything interesting that I come across.. btw I am waiting for your riddle/puzzle??? nothing like a good C/C++ puzzle... Pretty simple actually, make a C/C++ program in obfuscated code that tells riddles. Get it? user<->utter confusion<->source viewer - it'll be fun both ways ... oh yeah, make sure it compiles on Dev-C++ (then it should compile on anything) Yeah, you'll have to wait a little while. Apparently my bros. "accidently" reformatted my PC. So I decided since it was already blank, I might as well switch over to Linux and or the Operating System which I'm very slowly developing (still on Hello World, sadly enough). Since I've found it a pleasurable time installing Gentoo and understanding the intricated dependencies of compilers which criss-cross, it'll take some time getting everything figured out. |
|
|
|
Jul 3 2005, 03:40 PM
Post
#18
|
|
|
Newbie ![]() Group: Members Posts: 7 Joined: 3-July 05 Member No.: 8,951 |
Wow! This really hilights th eimportant of commenting your code.
|
|
|
|
Feb 27 2008, 06:17 PM
Post
#19
|
|
|
Newbie [Level 1] ![]() Group: Members Posts: 22 Joined: 20-February 08 Member No.: 58,158 |
how does that : QUOTE CODE #include <stdio.h> main(t,_,a) char *a; {return!0<t?t<3?main(-79,-13,a+main(-87,1-_, main(-86, 0, a+1 )+a)):1,t<_?main(t+1, _, a ):3,main ( -94, -27+t, a )&&t == 2 ?_<13 ?main ( 2, _+1, "%s %d %d\n" ):9:16:t<0?t<-72?main(_, t,"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%+,/w#q#n+,/#{l,+,/n{n+\ ,/+#n+,/#;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l q#'+d'K#!/\ +k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}rw' i;# ){n\ l]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#\ n'wk nw' iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \ ;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;\ #'rdq#w! nr'/ ') }+}{rl#'{n' ')# }'+}##(!!/") :t<-50?_==*a ?putchar(a[31]):main(-65,_,a+1):main((*a == '/')+t,_,a\ +1 ):0<t?main ( 2, 2 , "%s"):*a=='/'||main(0,main(-61,*a, |