International Obfuscated C Code Contest
The International Obfuscated C Code Contest (abbr. IOCCC) is a programming contest for the most creatively obfuscated C code held annually since 1984. The goal is thus to create the most complex and complicated logic for a possibly simple execution!!
There are many winning entries each year, and each entry gets a category such as “Worst Abuse of the C preprocessor” or “Most Erratic Behavior”.
The IOCCC was started by Landon Curt Noll and Larry Bassel. They were talking together about the horrible code it was their jobs to maintain and this led to an idea. They decided to hold a contest for the worst possible C code!
Within the only limit being the code size to a few kilobytes, the contestants manage to do complicated things.A 2004 winner turned out an operating system.
Some quotes from 2004 winners include:
To keep things simple, I have avoided the C preprocessor and tricky statements such as “if”, “for”, “do”, “while”, “switch”, and “goto”.
We still aren’t sure whether or not this is a useful program, but it’s the first atomic fission we’ve seen in the IOCCC.
Why not use the program to hide another program in the program? It must have seemed reasonable at the time.
The program implements an 11-bit ALU in the C preprocessor.
I found that calculating prime numbers up to 1024 makes the program include itself over 6.8 million times.
Below is a 1988 entry which calculates pi by looking at its own area:
read the complete post :: Obfuscated c contest | TECHARRAZCode:#define _ -F<00||–F-OO–; int F=00,OO=00; main() { F_OO(); printf("%1.3f\n",4.*-F/OO/OO); } F_OO() { _-_-_-_ _-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_-_-_-_-_ _-_-_-_-_-_-_-_ _-_-_-_ }
God is real... unless declared an integermy blog :: http://techarraz.com/
Sounds like a neat contest!
Ya, you can participate, given your level of knowledge...
God is real... unless declared an integermy blog :: http://techarraz.com/
Personally I don't know any C... And I didn't understand much.
The obfuscated eiffel is held for a variety of otheer languages, python i know and many other...
God is real... unless declared an integermy blog :: http://techarraz.com/
C is the one I've heard about, mainly because it has so MANY methods of obfuscation available to it.
I've heard of the International Obfuscated C Code Contest - In fact, I mentioned to Jordan a while ago, that I would like CodeCall to hold an Obfuscuated Code contest.
that would be excellent! I love contests!
God is real... unless declared an integermy blog :: http://techarraz.com/
There are currently 1 users browsing this thread. (0 members and 1 guests)
Bookmarks