Add preview of 1984-2019

The 2020 winners are hinted it, but the source code is not there,
nor are the hints. Someone could look into the HTML and
see what was commented out, but that is not a problem because
WHO won is known and the name of their AWARD is known already.
Moreover a number of the winners have talked about what their
entirs do, so the commented out spoiler text is not a bit problem.

One will find HTML commented out with:

    <!-- XXX remove when 2020 is ready
    2020 links here
    XXX remove when 2020 is ready -->

The "XXX remove when 2020 is ready" string is found at the
start and end comment blocks.  Again, soneone could read
what was commented out, but that is OK since most of that
information is known or can be known.  The following files
have such HTML comment blocks in them.

    ./winners.html
    ./years-spoiler.html
    ./years.html

In addition, ./all/summary.txt was modified to not
include the 2020 entries for the momemt.

The 2020 winner code AND write-ups are NOT part of this set.

p.s. The all/all.tar.bz2 does not contain the 2020 source code (yet?).
This commit is contained in:
Landon Curt Noll committed 2020-12-30 16:57:03 -08:00
1 parent 28efc67f5d
commit c0663537cb
1683 files changed
+220064

No files matched your search

+281
View File
@@ -0,0 +1,281 @@
#!/usr/bin/env make
#
# 2015 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
BUNZIP2= bunzip2
LD= ld
MAKE= make
RM= rm
SED= sed
TAR= tar
TRUE= true
MKDIR= mkdir
MV= mv
TR= tr
GREP= grep
SORT= sort
UNIQ= uniq
# Set X11_LIBDIR to the directory where the X11 library resides
#
#X11_LIBDIR= /usr/X11R6/lib
#X11_LIBDIR= /usr/X11/lib
X11_LIBDIR= /opt/X11/lib
# Set X11_INCLUDEDIR to the directory where the X11 include files reside
#
#X11_INCDIR= /usr/X11R6/include
#X11_INCDIR= /usr/X11/include
X11_INCDIR= /opt/X11/include
# Compiler warnings
#
#CWARN=
#CWARN= -Wall
#CWARN= -Wall -Wextra
CWARN= -Wall -Wextra -pedantic ${CSILENCE}
#CWARN= -Wall -Wextra -Weverything
#CWARN= -Wall -Wextra -Weverything -pedantic
#CWARN= -Wall -Wextra -Weverything -pedantic ${CSILENCE}
# Silence warnings that ${CWARN} would normally complain about
#
CSILENCE=
#CSILENCE= -Wno-c++98-compat -Wno-c99-compat -Wno-conversion \
# -Wno-float-conversion -Wno-missing-prototypes \
# -Wno-missing-variable-declarations -Wno-old-style-cast \
# -Wno-unreachable-code
# compiler standard
#
#CSTD=
#CSTD= -ansi
#CSTD= -std=c11
CSTD= -std=c90
# compiler bit architecture
#
# Some entries require 32-bitness:
# ARCH= -m32
#
# Some entries require 64-bitess:
# ARCH= -m64
#
# By default we assume nothing:
#
ARCH=
# defines that are needed to compile
#
CDEFINE=
# include files that are needed to compile
#
CINCLUDE=
# optimization
#
# Most compiles will safely use -O2. Some can use only -O1 or -O.
# A few compilers have broken optimizers or this entry make break
# under those buggy optimizers and thus you may not want anything.
# Reasonable compilers will allow for -O3.
#
#OPT=
#OPT= -O
#OPT= -O1
#OPT= -O2
OPT= -O3
# default flags for ANSI C compilation
#
CFLAGS= ${CWARN} ${CSTD} ${ARCH} ${CDEFINE} ${CINCLUDE} ${OPT}
# Libraries needed to build
#
LIBS= -lm
# ANSI compiler
#
# Set CC to the name of your ANSI compiler.
#
# Some entries seem to need gcc. If you have gcc, set
# both CC and MAY_NEED_GCC to gcc.
#
# If you do not have gcc, set CC to the name of your ANSI compiler, and
# set MAY_NEED_GCC to either ${CC} (and hope for the best) or to just :
# to disable such programs.
#
CC= cc
#CC=clang
MAY_NEED_GCC= gcc
CPLUSPLUS= clang++
MAY_NEED_GPLUSPLUS= g++
##############################
# Special flags for this entry
##############################
#
ENTRY= prog
CSRC= ${ENTRY}.c
CPLUSPLUSSRC= ${ENTRY}.cc
OBJ= ${ENTRY}.o
DATA=
ALT_OBJ=
ALT_ENTRY=
TARGET= ${ENTRY} ${ENTRY}_c90 ${ENTRY}_c99 ${ENTRY}_c11 ${CPLUSPLUSSRC} \
${ENTRY}_cpp98 ${ENTRY}_cpp11 ${DATA}
#################
# build the entry
#################
#
all: ${TARGET} ${DATA}
@${TRUE}
${ENTRY}: ${CSRC}
${CC} ${CFLAGS} ${CSRC} -o $@ ${LIBS}
${ENTRY}_c90: ${CSRC}
${CC} ${CWARN} ${ARCH} ${OPT} -std=c90 ${CSRC} -o $@ ${LIBS}
${ENTRY}_c99: ${CSRC}
${CC} ${CWARN} ${ARCH} ${OPT} -std=c99 ${CSRC} -o $@ ${LIBS}
${ENTRY}_c11: ${CSRC}
${CC} ${CWARN} ${ARCH} ${OPT} -std=c11 ${CSRC} -o $@ ${LIBS}
${CPLUSPLUSSRC}: ${CSRC}
${RM} -f $@
${CP} -f -p ${CSRC} $@
${ENTRY}_cpp98: ${CPLUSPLUSSRC}
${CPLUSPLUS} ${CWARN} ${ARCH} ${OPT} -std=c++98 ${CPLUSPLUSSRC} -o $@ ${LIBS}
${ENTRY}_cpp11: ${CPLUSPLUSSRC}
${CPLUSPLUS} ${CWARN} ${ARCH} ${OPT} -std=c++11 ${CPLUSPLUSSRC} -o $@ ${LIBS}
# alternative executable
#
alt: ${ALT_ENTRY}
@${TRUE}
# data files
#
data: ${DATA}
@${TRUE}
###############
# utility rules
###############
#
everything: all alt
clean:
${RM} -f ${OBJ} ${ALT_OBJ}
clobber: clean
${RM} -f ${TARGET} ${ALT_ENTRY}
nuke: clobber
@${TRUE}
dist_clean: nuke
@${TRUE}
install:
@echo "Surely we are joking Dr. May!"
@${TRUE}
# backwards compatibility
#
build: all
@${TRUE}
##################
# 133t hacker rulz
##################
#
love:
@echo 'not war?'
@${TRUE}
haste:
$(MAKE) waste
@${TRUE}
waste:
@echo 'haste'
@${TRUE}
make:
@echo 'Attend a maker faire'
@${TRUE}
easter_egg:
@echo you expected to sometimes mis-understand this $${RANDOM} magic
@echo chongo '<was here>' "/\\oo/\\"
@echo Readers shall not be disallowed from not failing to be unable to not partly misunderstand this partocular final echo.
# Understand the history of the Homebrew Computer Club
# as well as the West Coast Computer Faire and
# you might be confused different. :-)
#
supernova: nuke
@-if [ -r .code_anal ]; then \
${RM} -f .code_anal_v5; \
else \
echo "planet deniers, like the IAU, are amusing"; \
fi
@echo A $@ helps ${MAKE} the elements that help form planets
@${TRUE}
deep_magic:
@-if [ -r .code_anal ]; then \
ccode_analysis --deep_magic 2ed3582ec5c094a093fea2a6bcb9f19439892873c9cc45ed1ceaafe08b7d52e1b2c7cd524be3b0b2 --FNV1a_hash_512_bit "${ENTRY}"; \
else \
echo "You are holding it wrong!"; \
fi
@${TRUE}
magic: deep_magic
@-if [ -r .code_anal ]; then \
ccode_analysis --mode 216091 --level 216193 --FNV1a_hash_512_bit "${ENTRY}"; \
else \
echo "These aren't the primes you're looking for Pauline!"; \
fi
@${TRUE}
# The IOCCC resident astronomer states
#
charon: supernova
@echo $@ is a dwarf planet
@echo dwarf is a type of planet
@echo $@ is a planet
pluto: supernova
${MAKE} charon
@echo $@ is a dwarf planet
@echo dwarf is a type of planet
@echo $@ is a planet
@echo get used to having lots of planets because a $< can ${MAKE} a lot of them
+152
View File
@@ -0,0 +1,152 @@
<!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>Most Pointed Reaction</title>
</head>
<body>
<h1>Most Pointed Reaction</h1>
<p>Don Yang<br>
<a href="http://uguu.org/">http://uguu.org/</a></p>
<h2>Judges' comments:</h2>
<h3>To use:</h3>
<pre><code>make
echo Some text | ./prog
</code></pre>
<h3>Try:</h3>
<pre><code>echo IOCCC 2015 | ./prog | tee output.c
make output
./output
echo IOCCC 2015 | ./prog_c11 | tee output.c
make output
./output
echo IOCCC 2015 | ./prog_c++98 | tee output.c
make output
./output
</code></pre>
<h3>Selected Judges Remarks:</h3>
<p>Before analysing the code in detail we were able to guess two out of four tests
this entry uses to tell the 5 languages/flavors apart. Can you find all four?</p>
<p>The way the text is encoded in the output doesn&rsquo;t cease to amaze. Can you tell
why an array of 512 elements is needed?</p>
<h2>Author&rsquo;s comments:</h2>
<p>Fuuko is a sea star generator. Feed her some input through stdin to
get lots of sea star patterns in stdout.</p>
<pre><code>gcc -O3 -std=c90 fuuko.c -lm -o fuuko_c90
echo IOCCC | ./fuuko_c90 &gt; output_c90.c
</code></pre>
<p>If you compile with a C99 compiler instead of C90, the sea stars will
have eyes.</p>
<pre><code>gcc -O3 -std=c99 fuuko.c -lm -o fuuko_c99
echo IOCCC | ./fuuko_c99 &gt; output_c99.c
</code></pre>
<p>Don&rsquo;t like sea stars? Use a C++98 compiler to get dango instead.</p>
<pre><code>g++ -O3 -std=c++98 fuuko.c -lm -o fuuko_cpp98
echo IOCCC | ./fuuko_cpp98 &gt; output_cpp98.c
</code></pre>
<p>Don&rsquo;t like dango either? Use a C++11 compiler to get just circles (or
swiss cheese, if you prefer that).</p>
<pre><code>g++ -O3 -std=c++11 fuuko.c -lm -o fuuko_cpp11
echo IOCCC | ./fuuko_cpp11 &gt; output_cpp11.c
</code></pre>
<p>Don&rsquo;t like any of these patterns? Use a C11 compiler and there will be
no extra patterns.</p>
<pre><code>gcc -O3 -std=c11 fuuko.c -lm -o fuuko_c11
echo IOCCC | ./fuuko_c11 &gt; output_c11.c
</code></pre>
<p>Regardless of which of these C/C++ dialects you choose, the output
will all be valid C90 code that reproduces original input on stdout,
filled with pointer dereferences (C stars).</p>
<p>Next time people ask you for a few pointers on C, you can run their
question through Fuuko and give them pointers all day long.</p>
<h3>Compatibility</h3>
<p>Fuuko has been tested under these environments:</p>
<ul>
<li>gcc 4.9.3 on Cygwin</li>
<li>gcc 4.9.2 on Linux</li>
<li>gcc 4.8.4 on Linux</li>
<li>gcc 4.6.3 on Linux (doesn&rsquo;t support C11 nor C++11)</li>
<li>gcc 4.3.5 on JS/Linux</li>
<li>clang 3.5.2 on Cygwin (doesn&rsquo;t work with optimization enabled,
probably cygwin bug)</li>
<li>clang 3.5.0 on Linux</li>
<li>clang 3.4.1 on Linux</li>
<li>tcc 0.9.25 on JS/Linux (C99 only)</li>
</ul>
<h3>Features</h3>
<p>The most obscure parts are in detecting the subtle differences in
different dialects. The standard committees put a lot of effort into
avoiding &ldquo;quiet changes&rdquo;, but Fuuko is still able exploit a few of
those. It should be an interesting exercise for the reader to figure
how she did it.</p>
<p>Output patterns are usually random (except for C11). The built-in
random number generator is seeded using ASLR. On systems where ASLR
is not so random (such as cygwin), you can introduce randomness by
changing number of command line arguments to Fuuko.</p>
<p>Output is somewhat robust: corruption on most of the lines will
usually result in a compiler warning. This is because the output is
vastly redundant: For ~1K of input, expect output to be on the order
of ~1MB, and take ~500MB of RAM to compile.</p>
<p>CRC32 of source code is embedded in the source code itself.</p>
<p>Process of writing this program is included in spoiler.html</p>
<p>Code layout is inspired by Ibuki Fuuko, for her love of sea stars.</p>
<hr />
<!--
(c) Copyright 1984-2016, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->
<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-2016,
<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>
+121
View File
@@ -0,0 +1,121 @@
# Most Pointed Reaction
Don Yang
<http://uguu.org/>
## Judges' comments:
### To use:
make
echo Some text | ./prog
### Try:
echo IOCCC 2015 | ./prog | tee output.c
make output
./output
echo IOCCC 2015 | ./prog_c11 | tee output.c
make output
./output
echo IOCCC 2015 | ./prog_c++98 | tee output.c
make output
./output
### Selected Judges Remarks:
Before analysing the code in detail we were able to guess two out of four tests
this entry uses to tell the 5 languages/flavors apart. Can you find all four?
The way the text is encoded in the output doesn't cease to amaze. Can you tell
why an array of 512 elements is needed?
## Author's comments:
Fuuko is a sea star generator. Feed her some input through stdin to
get lots of sea star patterns in stdout.
gcc -O3 -std=c90 fuuko.c -lm -o fuuko_c90
echo IOCCC | ./fuuko_c90 > output_c90.c
If you compile with a C99 compiler instead of C90, the sea stars will
have eyes.
gcc -O3 -std=c99 fuuko.c -lm -o fuuko_c99
echo IOCCC | ./fuuko_c99 > output_c99.c
Don't like sea stars? Use a C++98 compiler to get dango instead.
g++ -O3 -std=c++98 fuuko.c -lm -o fuuko_cpp98
echo IOCCC | ./fuuko_cpp98 > output_cpp98.c
Don't like dango either? Use a C++11 compiler to get just circles (or
swiss cheese, if you prefer that).
g++ -O3 -std=c++11 fuuko.c -lm -o fuuko_cpp11
echo IOCCC | ./fuuko_cpp11 > output_cpp11.c
Don't like any of these patterns? Use a C11 compiler and there will be
no extra patterns.
gcc -O3 -std=c11 fuuko.c -lm -o fuuko_c11
echo IOCCC | ./fuuko_c11 > output_c11.c
Regardless of which of these C/C++ dialects you choose, the output
will all be valid C90 code that reproduces original input on stdout,
filled with pointer dereferences (C stars).
Next time people ask you for a few pointers on C, you can run their
question through Fuuko and give them pointers all day long.
### Compatibility
Fuuko has been tested under these environments:
- gcc 4.9.3 on Cygwin
- gcc 4.9.2 on Linux
- gcc 4.8.4 on Linux
- gcc 4.6.3 on Linux (doesn't support C11 nor C++11)
- gcc 4.3.5 on JS/Linux
- clang 3.5.2 on Cygwin (doesn't work with optimization enabled,
probably cygwin bug)
- clang 3.5.0 on Linux
- clang 3.4.1 on Linux
- tcc 0.9.25 on JS/Linux (C99 only)
### Features
The most obscure parts are in detecting the subtle differences in
different dialects. The standard committees put a lot of effort into
avoiding "quiet changes", but Fuuko is still able exploit a few of
those. It should be an interesting exercise for the reader to figure
how she did it.
Output patterns are usually random (except for C11). The built-in
random number generator is seeded using ASLR. On systems where ASLR
is not so random (such as cygwin), you can introduce randomness by
changing number of command line arguments to Fuuko.
Output is somewhat robust: corruption on most of the lines will
usually result in a compiler warning. This is because the output is
vastly redundant: For ~1K of input, expect output to be on the order
of ~1MB, and take ~500MB of RAM to compile.
CRC32 of source code is embedded in the source code itself.
Process of writing this program is included in spoiler.html
Code layout is inspired by Ibuki Fuuko, for her love of sea stars.
--------------------------------------------------------------------------------
<!--
(c) Copyright 1984-2016, [Leo Broukhis, Simon Cooper, Landon Curt Noll][judges] - All rights reserved
This work is licensed under a [Creative Commons Attribution-ShareAlike 3.0 Unported License][cc].
[judges]: http://www.ioccc.org/judges.html
[cc]: http://creativecommons.org/licenses/by-sa/3.0/
-->
+36
View File
@@ -0,0 +1,36 @@
#define r(R) R"()"
/*[*/#include /**/<stdio.h>
#include<math.h>/*!![crc=0f527cd2]*/
float I,bu,k,i,F,u,U,K,O;char o[5200];int
#define R(U) (sizeof('U')==1||sizeof(U"1"[0])==1)
h=0,t=-1,m=80,n=26,d,g,p=0,q=0,v=0,y=112,x=40; float
N(float/*x*/_){g=1<<30;d=-~d*1103515245&--g;return d*_
/g;}void/**/w(int/**/_){if(t<0){for(g=0;g<5200;o[g++ ]=
0);for(;g;o[g+79]=10)g-=80;for(t=37;g<62;o[80+g++]=32) ;
}if(m&&o[h*80+m-1]==10){for(g=0;g<79;o[t*80+g++]=0){}o[t
++*80+g]=10;t%=64;n+=2;I=N(70)+5;if(n>30&&(I-x)*(I-x)+n*
n>1600&&R()){O=0;F=(x=0x1!=sizeof(' '))?k=1+N(2),i=12-k+N(
8),N(4):(k=17+N(5),i=0,r()[0]?O=.1: 0);for(u=U=-.05;u<32;
U=k+i+i*.5*sin((u+=.05)+F))for( K=0 ;K< U;K+=.1)if((bu=K*
sin(u/5),g=I+cos( u/5) *K)>=0&&g < 79 )o[g+(int)(t+44+
bu*(.5-(bu>0?3*O: O) ) )%64* 80 ] =32;x*=02//* */2
-1;n=O+x?n=I+(x?0 :N (k)- k /2),g=(t+42 )%
64,m=-~g%64,x?g=m =-~ m%64:0 ,n>5?o[g*80 +
n-3]=o[m*80+n-3]= 0: 0 ,n <75?o[g*80+n
+2]=o[m*80+n+2]=0 :0:0; x=I;}h=-~h%64
;m=0;}putchar((g=o [h* 80+m++])?g:_);
if(g){w(_);}}void W (const char*_
){for(;*_;w(*_++));} int main(int a
,char**_){while(a--)d +=_[a ]-(char*)0;W( \
"#include<stdio.h>typed" "e" "f\40int\40O;v"
"oid o(O _){putchar(_);}O" "\40main(){O" ""
"*_[512],**p=_,**d,b,q;for(b=0;b" "++<512;p=_+q)_[q" \
"=(p-_+1)*9%512]=(O*)p;") ; for(;(g= getchar())-EOF;p=
q){q=p;for(v=512;p-q-g&&q-p- g; v--)q=-~q*9%512
;W("o(");if(p>q)w(y),w(45);w( 40);w(y^=20
);w(075);for(a=0;a<v;a++)w(42); for(W("(O**"
);a--;w(42)){}w(41);w(y^024);w( 41);if(p<=q)w(
45),w(y^20);W(");");}for(a=7;a-6 ;W(a<6?"{;}":""
))for(a =0;a <6 && !o[h*80+m +a];a++){}W("r"
"etu" /*J */ "rn+0;}\n" );return
/* "#*/0 ;}
+34
View File
@@ -0,0 +1,34 @@
<!DOCTYPE html>
<html><head>
<title>Replay text</title>
<meta http-equiv="Content-Type" content="text/html;charset=UTF-8">
<style type="text/css">
.tmp{color:#00f}.final{color:#000}</style>
</head><body>
<noscript><span style="color:red">JavaScript required</span></noscript>
<script type="text/javascript">
var realtime_step=80;var fps=1000/realtime_step;var current_event=0;var current_time;var step=0;var slots=new Array(324);var update_slots=new Array(slots.length);var max_time=7630000;var max_file_size=208;var timer=null;var follow=1;var fast_scroll=1;var opacity=100;var opacity_timer=null;var string_table=
[" );","i = buffer[head * 80 + line_cursor++]","t++ * 80 ] = 10;",";W(\"o(\");if(p&gt;q)w(y),w(45);w( 40);w(y^=20",") % 64,","extTemplateChar","(","r","a--; ","= k + i + i * .5 * sin((u += .05) + F))","ursor","f cx, size0, size1, phase, ta, r, tr, v0, dy;","schar op, oq;","p = 0, q, steps, parity = 0;","n &gt; 1600 &amp;&amp; R() )","0 ;}","char buffer[ * 80];","op, oq;","1","\'","+ 2] =","last_x = 40,","h = 0,","double cx, distance, size0, size1, phase, ta, r, tr, x, y, v0, v1, dy;","\"#include&lt;stdio.h&gt;\"","*",", char **_)","{}","[","]","buffer[80 + i++] = \' \';","x *= 1 - 2//**/2","}","&lt;","2","X","-","OutputChar(*s++);","y","/#include&lt;stdio.h&gt;","_","q){q = p;","C","z","5","8","&gt; 1600 &amp;&amp; R() )","R","%",".5 - (bu &gt; 0 ? 3 * O : O)) * bu) % 64","\\","&amp;","v GetNextTemplateChar()","#define R(U) (sizeof(\'U\') == 1 || sizeof(U\"1\"[0]) == 1)","7","?","j","m","9",":"," {"," }void w(int _){","3","U"," OutputChar(\'*\');"," a &lt; 6 &amp;&amp; !o[h * 80 + m + a]; a++);"," OutputChaR(o"," OutputChar();"," for(k = 0; k &lt; steps; k++)"," printf(\" (\");","!o[h*80+m ","45),","64,","g","w(42)){}w(41);w(y^20);"," h=0,t=-1,m=80,n=26,d,g,p=0,q,v,y=112,x=40;/*float N(float _)"," OUtput"," OutputChar(\')\');"," OutputString(\"(O**\");"," OutputChar();"," OutuptCh"," for(W(\"(O**\"); a--; w(42));","N(float _)","S","static void Outpout"," buffer[i * 80 + ix - 3] = \'X\';"," y = tail + 108 + (dy &gt; 0 ? v0 *&amp;"," (\'*\');"," O(\'*\');"," h=0,t=-1,m=80,n=26,d,g,p=0,q,v,y=112,x=40;/**float N(float _)"," v0 = 0.2;"," OutputChar(),"," OutputChar(op);"," for(j = 0; j &lt; 79; buffer[i * 80 + j++] = );"," for(ta = 0; ta &lt; 10 * M_PI; ta += 0.05)"," t++*80]=10;t%=64; n += 2;"," }if( m &amp;&amp; o[h * 80 + m - 1] == 10 )"," }if(m&amp;&amp;o[h*80+m-1]==10){for(g=0;g&lt;79;o[t*80+g++]=0); o[t++ * 80 + g] = 10;"," OutputChar(41);"," +2]=o[m*80+n+2]=0 :0:0; x=I;}h = -~h % 64;"," for(a = 7; a - 6; W(a &lt; 6 ? \"{;}\" : \"\"))"," if(g)w(_);}void W(const char *_)"," puts(\"#ionc"," ){for(;*_;w(*_++));} int main(int a, char **_)","D","E","static void OutuptS","|"," );return"," w(41 );"," #include&lt;math.h&gt;/*!!XXXXXXXXXXXXXX*/"," float I,bu,k,i,F,u,U,K,O;char o[5200];int h = 0,"," buffer[(int)(tail + 108 + (dy &gt; 0 ? v0 * dy : v1 * dy)) % 128 * 80 + i] = 32;"," \"typedef int O;n\""," buffer[i * 80 + ix + 2] = \'X\';"," buffer[j * 80 + last_y + 2] = \'X\';"," v1 = 0.4;"," /*XX*/0 ;}"," Ou(\'*\');"," Out(\'*\');"," Outp(\'*\');"," Outpu(\'*\');"," Output(\'*\');"," OutputC(\'*\');"," OutputCh(\'*\');"," OutputCha(\'*\');"," last_y = cx + Rand(size0) - size0 / 2;"," opu"," putchar(\'*\');"," r = size0 + size1 + size1 * 0.5 * sin((ta += 0.05) + phase);"," size0 = 1 + Rand(2);"," size0 = 17 + Rand(5);"," size1 = 12 - size0 + Rand(8);"," N(float _){g = 1 &lt;&lt; 30;"," (I - x) * (I - x) + n * n &gt; 1600 &amp;&amp; R() )"," /g;}void/**/w(int/**/_){if(t&lt;0){for(g = 0; g &lt; 65 * 80; o[g++] = 0);"," }void w(int _){"," Output(\"(O**\");"," for(i = 0; i &lt; steps; i++)"," last_y = (sizeof(\'X\') == 1)"," last_y = size1 &lt;"," phase = (lasizeof(\' \') - 1"," printf(\"%"," size1 = 12 - size0 + Rand(8);"," sizeof(\'X\') == 1 )"," t++ * 80 ] = 10;"," t++*80]=10; t %= 64;"," t++*80]=10;t%=64;n+=2; I = N(70) + 5;"," t++*80]=10;t%=64;n+=2;I=N(70)+5; if( n &gt; 30 &amp;&amp;"," t++*80]=10;t%=64;n+=2;I=N(70)+5;if(n&gt;30&amp;&amp; (I - x) * (I - x) + n * n &gt; 1600 &amp;&amp; R() )"," }if(m&amp;&amp;o[h*80+m-1]==10){for(g = 0; g &lt; 79; o[t * 80 + g++] = 0);"," }if(m&amp;&amp;o[h*80+m-1]==10){for(g=0;g&lt;79;o[t*80+g++]=0);o[g+t++ * 80 g] = 10;"," ),N(4): (k = 17 + N(5),"," ),N(4):(k=17+N(5),i=0,r()[0]?O=.1: 0);for(u=U=-.05;u&lt;32;U = k + i + i * .5 * sin((u += .05) + F))"," 8),N(4):(k=17+N(5),i=0,r()[0]?O=.1: 0);for(u=U=-.05;u&lt;32;U"," for(a =0;a &lt;6 &amp;&amp; !o[h*80+m +a];a++){}W(\"r\""," for(a =0;a &lt;6 &amp;&amp; !o[h*80+m +a];a++){}W(\"r\""," for(a =0;a &lt;6 &amp;&amp; Line truncated
var events=
[0,500,0,0,0,0,0,1000,1,1,0,0,500,500,0,0,0,0,500,500,0,0,0,0,0,4996666,1,1,53,1,500,500,0,0,0,1,0,4996166,2,1,1,1,500,100,0,0,0,2,0,4995666,2,1,14,1,100,100,0,0,0,3,0,4995566,2,1,16,1,100,100,0,0,0,4,0,4995466,2,1,21,1,100,100,0,0,0,5,0,4995366,2,1,10,1,100,100,0,0,0,6,0,4995266,2,1,23,1,100,100,0,0,0,7,0,4995166,2,1,5,1,100,100,0,0,0,8,0,4995066,2,1,33,4,100,100,0,0,0,9,0,4994966,2,1,12,1,100,100,0,0,0,10,0,4994866,2,1,2,1,100,100,0,0,0,11,0,4994766,2,1,23,1,100,142,0,0,0,12,0,4994666,2,1,1,1,142,143,0,0,0,13,0,4994524,2,1,17,1,143,143,0,0,0,14,0,4994381,2,1,49,1,143,143,0,0,0,15,0,4994238,2,1,22,1,143,143,0,0,0,16,0,4994095,2,1,46,4,143,143,0,0,0,17,0,125376,1,2,0,0,143,143,0,0,1,0,0,143,1,197,0,0,143,111,0,0,2,0,0,4202000,1,197,1,1,111,111,0,0,2,1,0,4201889,2,197,14,1,111,111,0,0,2,2,0,4201778,2,197,2,1,111,111,0,0,2,3,0,4201667,2,197,0,1,111,111,0,0,2,4,0,4201556,2,197,57,1,111,111,0,0,2,5,0,4201445,2,197,8,1,111,111,0,0,2,6,0,4201334,2,197,1,1,111,111,0,0,2,7,0,4201223,2,197,14,1,111,112,0,0,2,8,0,4201112,2,197,6,1,112,333,0,0,2,9,0,4201000,2,197,4,1,333,333,0,0,2,10,0,333,1,198,0,0,333,334,0,0,3,0,0,7210334,1,198,27,1,334,142,0,0,3,1,0,142,1,323,0,0,142,143,0,0,4,0,0,3651358,1,323,32,1,143,143,0,0,4,0,143,143,0,0,4,0,143,143,0,0,4,0,0,143,1,322,0,0,143,143,0,0,4,0,0,3650786,1,322,0,3,143,143,0,0,4,3,0,3650643,2,322,7,1,143,111,0,0,4,4,0,3650500,2,322,5,1,111,111,0,0,4,5,0,3650389,2,322,2,1,111,111,0,0,4,6,0,3650278,2,322,10,1,111,111,0,0,4,7,0,3650167,2,322,7,1,111,111,0,0,4,8,0,3650056,2,322,14,1,111,111,0,0,4,9,0,3649945,2,322,0,1,111,111,0,0,4,10,0,3649834,2,322,15,1,111,111,0,0,4,11,0,3649723,2,322,3,1,111,112,0,0,4,11,112,166,0,0,4,11,166,167,0,0,3,0,167,167,0,0,4,0,0,167,1,206,0,0,167,166,0,0,4,0,0,2052300,1,206,0,3,166,167,0,0,4,3,0,2052134,2,206,39,1,167,167,0,0,4,4,0,2051967,2,206,25,1,167,166,0,0,4,5,0,2051800,2,206,0,1,166,167,0,0,4,6,0,2051634,2,206,104,1,167,167,0,0,4,7,0,2051467,2,206,5,1,167,166,0,0,4,8,0,2051300,2,206,16,1,166,167,0,0,4,9,0,2051134,2,206,17,1,167,167,0,0,4,10,0,2050967,2,206,23,1,167,90,0,0,4,11,0,2050800,2,206,5,1,90,91,0,0,4,12,0,2050710,2,206,7,1,91,91,0,0,4,13,0,2050619,2,206,0,1,91,91,0,0,4,14,0,2050528,2,206,22,1,91,91,0,0,4,15,0,2050437,2,206,5,1,91,91,0,0,4,16,0,2050346,2,206,8,1,91,91,0,0,4,17,0,2050255,2,206,23,1,91,91,0,0,4,18,0,2050164,2,206,5,1,91,91,0,0,4,19,0,2050073,2,206,7,1,91,91,0,0,4,20,0,2049982,2,206,0,1,91,91,0,0,4,21,0,2049891,2,206,25,1,91,500,0,0,4,22,0,2049800,2,206,39,1,500,500,0,0,4,23,0,2125,1,207,0,3,500,142,0,0,5,3,0,1625,2,207,13,1,142,143,0,0,5,4,0,1483,2,207,10,1,143,143,0,0,5,5,0,1340,2,207,2,1,143,143,0,0,5,6,0,1197,2,207,12,1,143,143,0,0,5,7,0,1054,2,207,6,1,143,143,0,0,5,8,0,911,2,207,24,1,143,143,0,0,5,9,0,768,2,207,53,1,143,125,0,0,5,10,0,625,2,207,1,1,125,125,0,0,5,11,0,500,2,207,17,1,125,125,0,0,5,12,0,375,2,207,14,1,125,125,0,0,5,13,0,250,2,207,16,1,125,125,0,0,5,14,0,125,2,207,21,1,125,125,0,0,5,15,0,125,1,207,102,14,125,125,0,0,5,14,0,125,1,207,102,13,125,125,0,0,5,13,0,125,1,207,102,12,125,125,0,0,5,12,0,476000,1,207,102,11,125,125,0,0,5,11,0,475875,2,207,14,1,125,125,0,0,5,12,0,475750,2,207,16,1,125,125,0,0,5,13,0,475625,2,207,21,1,125,125,0,0,5,14,0,475500,2,207,10,1,125,125,0,0,5,15,0,475375,2,207,23,1,125,125,0,0,5,16,0,475250,2,207,5,1,125,125,0,0,5,17,0,475125,2,207,33,4,125,111,0,0,5,18,0,475000,2,207,12,1,111,111,0,0,5,19,0,474889,2,207,2,1,111,111,0,0,5,20,0,474778,2,207,23,1,111,111,0,0,5,21,0,474667,2,207,1,1,111,111,0,0,5,22,0,474556,2,207,17,1,111,111,0,0,5,23,0,474445,2,207,49,1,111,111,0,0,5,24,0,474334,2,207,22,1,111,111,0,0,5,25,0,474223,2,207,46,4,111,112,0,0,5,26,0,474112,2,207,50,1,112,200,0,0,5,27,0,474000,2,207,14,1,200,200,0,0,5,28,0,473800,2,207,24,1,200,200,0,0,5,29,0,374600,1,210,0,3,200,200,0,0,6,3,0,374400,2,210,0,1,200,200,0,0,6,4,0,374200,2,210,0,1,200,200,0,0,6,5,0,374000,2,210,0,1,200,200,0,0,6,6,0,373800,2,210,0,1,200,200,0,0,6,7,0,373600,2,210,0,1,200,200,0,0,6,8,0,373400,2,210,24,1,200,200,0,0,6,9,0,373200,2,210,1,1,200,125,0,0,6,10,0,373000,2,210,14,1,125,125,0,0,6,11,0,372875,2,210,2,1,125,125,0,0,6,12,0,372750,2,210,0,1,125,125,0,0,6,13,0,372625,2,210,57,1,125,125,0,0,6,14,0,372500,2,210,8,1,125,125,0,0,6,15,0,372375,2,210,1,1,125,125,0,0,6,16,0,372250,2,210,14,1,125,125,0,0,6,17,0,372125,2,210,6,1,125,166,0,0,6,18,0,372000,2,210,4,1,166,167,0,0,6,19,0,371834,2,210,50,1,167,167,0,0,6,20,0,371667,2,210,14,1,167,166,0,0,6,21,0,371500,2,210,24,1,166,167,0,0,6,22,0,478152,1,211,0,8,167,167,0,0,7,8,0,477985,2,211,24,1,167,500,0,0,7,9,0,477818,2,211,27,1,500,500,0,0,7,10,0,477318,2,211,50,1,500,200,0,0,7,11,0,476818,2,211,14,1,200,200,0,0,7,12,0,476618,2,211,24,1,200,200,0,0,7,13,0,11600,1,212,0,8,200,200,0,0,8,8,0,11400,2,212,24,1,200,200,0,0,8,9,0,11200,2,212,0,1,200,250,0,0,8,10,0,11000,2,212,0,1,250,250,0,0,8,11,0,10750,2,212,1,1,250,250,0,0,8,12,0,10500,2,212,14,1,250,250,0,0,8,13,0,10250,2,212,2,1,250,125,0,0,8,14,0,10000,2,212,0,1,125,125,0,0,8,15,0,9875,2,212,25,1,125,125,0,0,8,16,Line truncated
events.push(1);events.push(0);function e(id){return document.getElementById(id);}function Init(){var t0=0;for(var i=0;i<events.length;i+=6){events[i]+=t0;t0=events[i];if(events[i+1]==0) events[i+1]=max_time+1;else events[i+1]+=events[i];}var background='<pre style="margin:0px">\n';for(var i=0;i<max_file_size;i++)
background+="\n";background+="<\57pre>";var layer_style="position:absolute;top:0px;left:0px;margin:0px;";document.write(
'<div style="position:fixed;top:0px;right:0px;padding:2px;background-color:#fff;border:1px solid #00f;z-index:3" onmouseover="ForegroundControl()" onmouseout="BackgroundControl()" id=control><input type=button value="play 1x" onclick="Play(1)"> <input type=button value="play 3x" onclick="Play(3)"> <input type=button value="play 10x" onclick="Play(10)"> <input type=button value="play 30x" onclick="Play(30)"> <input type=button value="play 60x" onclick="Play(60)"> <input type=button value="pause" onclick="Pause()"> <input type=button value="rewind" onclick="Rewind()"><br><input type=checkbox id=follow name=follow onclick="Follow(this.checked)" checked> <label for=follow>Follow cursor (<span id=cursor_text><\57span>)<\57label> <input type=checkbox id=fast name=fast onclick="FastScroll(this.checked)" checked> <label for=fast>Fast scroll<\57label> <input type=checkbox id=tmp name=tmp onclick="Highlight(this.checked)" checked> <label for=tmp>Highlight transient lines<\57label><br><input type=range name=position id=position min=0 max='+max_time+' step=1 value=0 style="width:400px" onchange="InputSeek(this.value)"> <span id=time><\57span><\57div><div style="position:relative;border:1px solid">'+background+
'<pre style="'+layer_style+'background-color:#fff;color:#fff;z-index:1" id=cursor><\57pre><pre style="'+layer_style+'color:#000;z-index:2" id=text><\57pre><\57div>');var output=e("text");for(var i=0;i<slots.length;i++){var span=document.createElement("span");span.id="slot"+i;output.appendChild(span);}Rewind();}function Animate(){Seek(current_time+step);UpdateProgress();}function Play(speed){step=realtime_step*speed;if(timer)
clearTimeout(timer);timer=setTimeout("Animate()",realtime_step);}function Pause(){if(step!=0){step=0;Seek(current_time);UpdateProgress();}else{Play(1);}}function Reset(){for(var i=0;i<slots.length;i++){slots[i]=null;update_slots[i]="";var x=e("slot"+i);x.innerHTML="";x.className="tmp";x.style.display="none";}current_event=0;}function Scroll(){var c=e("cursor_block");if(c){var y=c.offsetTop;y-=64;if(y<0) y=0;var delta=y-window.scrollY;if(!fast_scroll||(delta>-80 && delta<window.innerHeight-64))
delta/=fps;if(Math.abs(delta)>0){window.scrollTo(window.scrollX,window.scrollY+delta);return true;}}return false;}function ResetScroll(){if(Scroll())
timer=setTimeout("ResetScroll()",realtime_step);}function Rewind(){Reset();step=0;Seek(0);UpdateProgress();if(follow)
ResetScroll();}function NextFrame(){if(step>0){if(timer)
clearTimeout(timer);timer=setTimeout("Animate()",realtime_step);}if(follow)
Scroll();}function Seek(position){current_time=position;if(current_time<0)
current_time=0;if(current_time>=max_time){current_time=max_time;step=0;}var t=Math.floor(current_time/1000);var s=t%60;var m=Math.floor(t/60);t=m+(s>9?":":":0")+s;e("time").innerHTML=t;if(events[current_event]>current_time){if(current_event>0 && events[current_event-6]<current_time){NextFrame();return;}Reset();}var min_slot=slots.length;var max_slot=0;var cursor_event=-1;for(;events[current_event]<=current_time;current_event+=6){var end_time=events[current_event+1];if(end_time<=current_time)
continue;var type=events[current_event+2];if(type==0||type>3){cursor_event=current_event;}else{var i=events[current_event+3];if(type==3){slots[i]=null;}else{var text=string_table[events[current_event+4]].substr(
0,events[current_event+5]);if(type==1||slots[i]==null) slots[i]=text;else slots[i]+=text;}if(min_slot>i) min_slot=i;if(max_slot<i) max_slot=i;update_slots[i]=(end_time>=max_time?2:1);}}for(var i=min_slot;i<=max_slot;i++){if(update_slots[i]){var span=e("slot"+i);if(slots[i]!=null){span.innerHTML=slots[i]+"\n";span.style.display="inline";span.className=(update_slots[i]==1?"tmp":"final");}else{span.innerHTML="";span.style.display="none";}update_slots[i]=0;}}if(cursor_event>=0){var text="";var y;var x=events[cursor_event+5];if(events[cursor_event+2]==0){y=events[cursor_event+4];for(var i=0;i<y;i++)
text+="\n";for(var i=0;i<x;i++)
text+=" ";text+='<span style="background-color:#0f0" id=cursor_block> <\57span>';}else{var s=events[cursor_event+3];for(var i=y=0;i<s;i++){if(slots[i]!=null){y++;text+="\n";}}var line=slots[s]||"";var offset=events[cursor_event+4];while(line.length<=offset)
line+=" ";text+=line.substr(0,offset)+
'<span style="background-color:#0f0;color:#0f0" id=cursor_block>'+
line.substr(offset,events[cursor_event+2]-3)+
'<\57span>';}e("cursor").innerHTML=text;e("cursor_text").innerHTML=(y+1)+','+(x+1);}NextFrame();}function InputSeek(position){var t=parseInt(position);if(t>=0)
Seek(t);}function UpdateProgress(){e("position").value=current_time;}function Follow(state){follow=state;}function FastScroll(state){fast_scroll=state;}function Highlight(state){var x=document.styleSheets;for(var i=0;i<x.length;i++){var y=x[i].cssRules;for(var j=0;j<y.length;y++){if(y[j].selectorText==".tmp"){y[j].style.color=state?"#00f":"#000";return;}}}}function ForegroundControl(){e("control").style.opacity="1.0";opacity=100;if(opacity_timer){clearTimeout(opacity_timer);opacity_timer=null;}}function BackgroundControl(){e("control").style.opacity=opacity/100;if(opacity>35){opacity-=5;opacity_timer=setTimeout("BackgroundControl()",100);}}Init();</script>
</body></html>