Skip to content

Commit

Permalink
Merge pull request #1 from bnjf/master
Browse files Browse the repository at this point in the history
add 2013 and 2014 results
  • Loading branch information
c00kiemon5ter committed Jul 29, 2015
2 parents 9befe51 + 4c09062 commit 222420e
Show file tree
Hide file tree
Showing 175 changed files with 20,820 additions and 0 deletions.
109 changes: 109 additions & 0 deletions 2013/MANIFEST
Original file line number Diff line number Diff line change
@@ -0,0 +1,109 @@
2013/2013.tar.bz2
2013/MANIFEST
2013/Makefile
2013/README.html
2013/README.text
2013/birken/Makefile
2013/birken/birken.c
2013/birken/examples.tbz2
2013/birken/hint.html
2013/birken/hint.text
2013/birken/images.tbz2
2013/cable1/Makefile
2013/cable1/cable1.c
2013/cable1/hint.html
2013/cable1/hint.text
2013/cable2/Makefile
2013/cable2/cable2.c
2013/cable2/example-images.tbz2
2013/cable2/hint.html
2013/cable2/hint.text
2013/cable3/Makefile
2013/cable3/bios
2013/cable3/cable3.c
2013/cable3/fd.img
2013/cable3/hint.html
2013/cable3/hint.text
2013/cable3/runme
2013/cable3/sc-ioccc.terminal
2013/cable3/screenshot_autocad.png
2013/cable3/screenshot_flightsim4.png
2013/cable3/screenshot_lotus123.png
2013/cable3/screenshot_qbasic.png
2013/cable3/screenshot_simcity.png
2013/cable3/screenshot_win3_on_macosx.png
2013/dlowe/Makefile
2013/dlowe/dlowe.c
2013/dlowe/hint.html
2013/dlowe/hint.text
2013/endoh1/Makefile
2013/endoh1/echo.lazy
2013/endoh1/endoh1.c
2013/endoh1/hello.lazy
2013/endoh1/hint.html
2013/endoh1/hint.text
2013/endoh1/rot13.ed
2013/endoh1/tac.lazy
2013/endoh2/Makefile
2013/endoh2/endoh2.c
2013/endoh2/hint.html
2013/endoh2/hint.text
2013/endoh2/ocr.rb
2013/endoh3/Makefile
2013/endoh3/endoh3.c
2013/endoh3/flea-waltz.abc
2013/endoh3/hint.html
2013/endoh3/hint.text
2013/endoh3/menuet.abc
2013/endoh3/test.abc
2013/endoh3/twinkle.abc
2013/endoh3/wavify.rb
2013/endoh3/yankee.abc
2013/endoh4/Makefile
2013/endoh4/cube.txt
2013/endoh4/endoh4.c
2013/endoh4/hint.html
2013/endoh4/hint.text
2013/endoh4/solids.tbz2
2013/guidelines.txt
2013/hint.css
2013/hou/Makefile
2013/hou/doc/camera.png
2013/hou/doc/cosine.png
2013/hou/doc/draft.png
2013/hou/doc/example.markdown
2013/hou/hint.html
2013/hou/hint.text
2013/hou/hou.c
2013/hou/luna.jpg
2013/hou/old_default.jpg
2013/hou/old_default.scene
2013/hou/otherroom.jpg
2013/hou/otherroom.scene
2013/index.html
2013/iocccsize.c
2013/iocccsize.mk
2013/mills/Makefile
2013/mills/hint.html
2013/mills/hint.text
2013/mills/mills.c
2013/misaka/Makefile
2013/misaka/bf.pl
2013/misaka/hint.html
2013/misaka/hint.text
2013/misaka/misaka.c
2013/misaka/spoiler.html
2013/morgan1/Makefile
2013/morgan1/hint.html
2013/morgan1/hint.text
2013/morgan1/morgan1.c
2013/morgan2/Makefile
2013/morgan2/hint.html
2013/morgan2/hint.text
2013/morgan2/morgan2.c
2013/robison/Makefile
2013/robison/hint.html
2013/robison/hint.text
2013/robison/robison.c
2013/rules.txt
2013/whowon.html
146 changes: 146 additions & 0 deletions 2013/Makefile
Original file line number Diff line number Diff line change
@@ -0,0 +1,146 @@
#!/usr/bin/env make
#
# 2013 makefile
#
# This work by Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis
# is licensed under:
#
# Creative Commons Attribution-ShareAlike 3.0 Unported License.
#
# See: http://creativecommons.org/licenses/by-sa/3.0/


################
# tool locations
################
#
SHELL= /bin/bash
CP= cp
CPP= cpp
GUNZIP= gunzip
LD= ld
MAKE= make
RM= rm
SED= sed
TAR= tar
TRUE= true

# Set X11_LIBDIR to the directory where the X11 library resides
#
X11_LIBDIR= /usr/X11R6/lib

# Set X11_INCLUDEDIR to the directory where the X11 include files reside
#
X11_INCDIR= /usr/X11R6/include

# ANSI compiler
#
# Set CC to the name of your ANSI compiler.
#
CC= cc


###############
# IOCCC winners
###############
#
WINNERS= birken cable1 cable2 cable3 dlowe endoh1 endoh2 endoh3 endoh4 \
hou mills misaka morgan1 morgan2 robison

###################
# build all entries
###################
#
all:
@for i in ${WINNERS} ; do \
echo "(cd $$i && $(MAKE) X11_LIBDIR=${X11_LIBDIR} X11_INCDIR=${X11_INCDIR} $@)"; \
(cd $$i && $(MAKE) "X11_LIBDIR=${X11_LIBDIR}" "X11_INCDIR=${X11_INCDIR}" $@); \
done

# alternative executable
#
alt:
@for i in ${WINNERS} ; do \
echo "(cd $$i && $(MAKE) X11_LIBDIR=${X11_LIBDIR} X11_INCDIR=${X11_INCDIR} $@)"; \
(cd $$i && $(MAKE) "X11_LIBDIR=${X11_LIBDIR}" "X11_INCDIR=${X11_INCDIR}" $@); \
done


###############
# utility rules
###############
#
everything: all alt

clean:
@for i in ${WINNERS} ; do \
echo "(cd $$i && $(MAKE) $@)"; \
(cd $$i && $(MAKE) $@); \
done

clobber:
@for i in ${WINNERS} ; do \
echo "(cd $$i && $(MAKE) $@)"; \
(cd $$i && $(MAKE) $@); \
done

nuke: clobber
@for i in ${WINNERS} ; do \
echo "(cd $$i && $(MAKE) $@)"; \
(cd $$i && $(MAKE) $@); \
done

install:
@for i in ${WINNERS} ; do \
echo "(cd $$i && $(MAKE) $@)"; \
(cd $$i && $(MAKE) $@); \
done


##################
# 133t hacker rulz
##################
#
love:
@echo 'not war?'

haste:
$(MAKE) waste

waste:
@echo 'waste'

easter_egg:
@echo you expected to mis-understand this $${RANDOM} magic
@echo chongo '<was here>' "/\\oo/\\"
@echo Readers shall be disallowed from not being unable to partly misunderstand this partocular final echo.
@${TRUE}

# These rules are written in the sytle of "I Am the Walrus"
# and in particular John Lennon's take on deep analysis of art. :-)
#
# See also the sub-directory Makefiles for non-propaganda.
#
supernova: nuke
@-if [ -r .code_anal ]; then \
${RM} -f .code_anal_v3; \
else \
echo "You are not expected to understand this"; \
fi
@${TRUE}

deep_magic:
@-if [ -r .code_anal ]; then \
ccode_analysis --deep_magic 1c2c85c7a02c55d1add91967eca491d53c101dc1 --FNV1a_hash 256-bit -R ."; \
else \
echo "Understand different"; \
fi
@${TRUE}

magic: deep_magic
@-if [ -r .code_anal ]; then \
ccode_analysis --mode 391581 --level 216193 --FNV1a_hash 256-bit -R ."; \
else \
echo "These aren't the droids you're looking for Mr. Spock!"; \
fi
@${TRUE}
130 changes: 130 additions & 0 deletions 2013/README.html
Original file line number Diff line number Diff line change
@@ -0,0 +1,130 @@
<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd">
<html>
<head>
<meta name="GENERATOR" content="mkd2html 2.1.5a DL=DISCOUNT">
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
<link rel="stylesheet"
type="text/css"
href="hint.css">
<title>README</title>
</head>
<body>
<h1>2013 marked the &ldquo;The Twenty Second International Obfuscated C Code Contest&rdquo;</h1>

<p>Copyright &copy; 2013, Landon Curt Noll, Simon Cooper, and Leonid A.
Broukhis. All Rights Reserved. Permission for personal, educational
or non-profit use is granted provided this copyright and notice are
included in its entirety and remains unaltered. All other uses
must receive prior permission from the contest judges.</p>

<h2>Standard IOCCC stuff</h2>

<p>The IOCCC has a web site and now has a number of international mirrors.
The primary site can be found at,</p>

<blockquote><p> <a href="http://www.ioccc.org/">http://www.ioccc.org/</a></p></blockquote>

<p>Use make to compile entries. It is possible that on non-Un*x / non-Linux
systems the makefile needs to be changed. See the Makefile for details.</p>

<p>Look at the source and try to figure out what the programs do, and run
them with various inputs. If you want to, look at the hints files for
spoilers - this year we included most of the information included
by the submitter.</p>

<p>Read over the makefile for compile/build issues. Your system may require
certain changes (add or remove a library, add or remove a #define).</p>

<p>Some ANSI C compilers are not quite as good as they should be. If
yours is lacking, you may need to compile using gcc instead of your
local compiler.</p>

<h2>Remarks on some of the entries</h2>

<p>We believe you will again be impressed with this year&rsquo;s winners.</p>

<p>This year, several 8 people won 9 people won 15 awards. For the
first time in the history of the contest, one person, Yusuke Endoh,
won 4 times while Adrian Cable won 3 times! It is also worth noting
that Chris Mills previous win was in 1993. Welcome back Chris!</p>

<p>We, the judges, were very surprised by this as many of the multiple
winners submitted very different styles of entries.</p>

<p>This year was the first time the IOCCC size tool was used. Entries
had to print a value 2053 or less when the -i flag was used.</p>

<p>Several people discovered an undocumented feature in that
certain comments such as:</p>

<pre><code>///*
</code></pre>

<p>or:</p>

<pre><code>*\
/
</code></pre>

<p>were not correctly parsed by the tool. The guidelines stated:</p>

<pre><code>In cases where the above summary and the algorithm implemented by
the IOCCC size tool source code conflict, the algorithm implemented
by the IOCCC size tool source code is preferred by the judges.
</code></pre>

<p>so this abuse was allowed (and encouraged). The judges hope that
the IOCCC size tool author will patch the tool to block this kind
of size abuse in future contests.</p>

<p>There were some outstanding entries that did not win. Unfortunately
some very good entries lost because they:</p>

<ul>
<li><p>were way way oversize and didn&rsquo;t even attempt to justify their
excess by a clever abuse of the rules</p></li>
<li><p>depend on a single obfuscation trick</p></li>
<li><p>could only be run on a particular vendor&rsquo;s platform</p></li>
<li><p>were very similar to previous winners</p></li>
<li><p>didn&rsquo;t work as documented</p></li>
</ul>


<p>We hope the authors of some of those entries will fix and re-submit
them for the next IOCCC.</p>

<p>There is a risk in submitting an entry that is similar to a well
used theme by previous winners. Previous winners set a very high
bar. A new winner must not only compete against other submissions
from the current year, they must also excel over similar winners
in some particularly impressive way.</p>

<h2>Final Comments</h2>

<p>Please feel free to send us comments and suggestions about the
competition, this README or anything else that you would like to see in
future contests.</p>

<p>If you use, distribute or publish these entries in some way, please drop
us a line. We enjoy seeing who, where and how the contest is used.</p>

<p>If you have problems with any of the entries, AND YOU HAVE A FIX, please
send us the fix (patch file or the entire changed file).</p>

<p>For the latest information on how to contact the IOCCC Judges please visit</p>

<blockquote><p> <a href="http://www.ioccc.org/contact.html">http://www.ioccc.org/contact.html</a></p></blockquote>

<p>For news of the next contest watch:</p>

<blockquote><p> <a href="http://www.ioccc.org/">http://www.ioccc.org/</a></p></blockquote>
<TABLE><TR>
<TD><a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/"><img alt="Creative Commons License" style="border-width:0" src="http://i.creativecommons.org/l/by-sa/3.0/88x31.png" /></a></TD>
<TD><P>&copy; Copyright 1984-2013,
<A HREF="/judges.html">Leo Broukhis, Simon Cooper, Landon Curt Noll</A>
- All rights reserved<BR>
This work is licensed under a <a rel="license" href="http://creativecommons.org/licenses/by-sa/3.0/">Creative Commons Attribution-ShareAlike 3.0 Unported License</a>.</P></TD>
<TD>&nbsp;<!--<a href="http://validator.w3.org/check?uri=referer"><img src="http://www.w3.org/Icons/valid-html401" alt="Valid HTML 4.01 Transitional" height="31" width="88"></a>--></TD>
</TR></TABLE>
</body>
</html>
Loading

0 comments on commit 222420e

Please sign in to comment.