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:
1 parent
28efc67f5d
commit
c0663537cb
1683 files changed
+220064
No files matched your search
@@ -0,0 +1,118 @@
|
||||
#!/usr/bin/env make
|
||||
#
|
||||
# 2011 makefile
|
||||
#
|
||||
# Copyright (C) 2011, Landon Curt Noll, Simon Cooper, and Leonid A. Broukhis.
|
||||
#
|
||||
# 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
|
||||
|
||||
# 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.
|
||||
#
|
||||
OPT= -O2
|
||||
|
||||
# bitness
|
||||
#
|
||||
# Some entries require 32-bitness,
|
||||
# other entries require 64-bitess.
|
||||
# By default we assume nothing.
|
||||
#
|
||||
ARCH=
|
||||
|
||||
# default flags for ANSI C compilation
|
||||
#
|
||||
CFLAGS= -Wall -W -ansi ${ARCH} ${OPT}
|
||||
|
||||
# ANSI compiler
|
||||
#
|
||||
# Set CC to the name of your ANSI compiler.
|
||||
#
|
||||
CC= cc
|
||||
|
||||
|
||||
##############################
|
||||
# Special flags for this entry
|
||||
##############################
|
||||
#
|
||||
ENTRY= vik
|
||||
DATA= imaginal_state.mod mad_world.mod
|
||||
|
||||
|
||||
#################
|
||||
# build the entry
|
||||
#################
|
||||
#
|
||||
all: ${ENTRY} ${DATA}
|
||||
@${TRUE}
|
||||
|
||||
${ENTRY}: ${ENTRY}.c
|
||||
@echo This next compile may take a while ...
|
||||
${CC} ${CFLAGS} ${ENTRY}.c -o ${ENTRY}
|
||||
|
||||
# alternative executable
|
||||
#
|
||||
alt:
|
||||
@${TRUE}
|
||||
|
||||
|
||||
###############
|
||||
# utility rules
|
||||
###############
|
||||
#
|
||||
everything: all alt
|
||||
|
||||
clean:
|
||||
${RM} -f ${ENTRY}.o
|
||||
|
||||
clobber: clean
|
||||
${RM} -f ${ENTRY}
|
||||
|
||||
nuke: clobber
|
||||
@echo gnab gib!
|
||||
|
||||
install:
|
||||
@echo "Surely you're joking Mr. Feynman!"
|
||||
|
||||
# backwards compatibility
|
||||
#
|
||||
build: all
|
||||
|
||||
|
||||
##################
|
||||
# 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 not be disallowed from being unable to partly misunderstand this final echo.
|
||||
@${TRUE}
|
||||
@@ -0,0 +1,195 @@
|
||||
<!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.3 DL=DISCOUNT">
|
||||
<META HTTP-EQUIV="Content-Type" CONTENT="text/html; charset=utf-8">
|
||||
<link rel="stylesheet"
|
||||
type="text/css"
|
||||
href="../hint.css">
|
||||
<title>Most sound</title>
|
||||
</head>
|
||||
<body>
|
||||
<h1>Most sound</h1>
|
||||
|
||||
<p>Daniel Vik<br>
|
||||
802 Durshire Way<br>
|
||||
Sunnyvale, Ca 94087<br>
|
||||
<a href="mailto:daniel@vik.cc">daniel@vik.cc</a><br>
|
||||
<a href="http://www.danielvik.com">http://www.danielvik.com</a></p>
|
||||
|
||||
<h2>Judges' comments:</h2>
|
||||
|
||||
<h3>To build:</h3>
|
||||
|
||||
<pre><code>make vik
|
||||
</code></pre>
|
||||
|
||||
<h3>To run:</h3>
|
||||
|
||||
<pre><code>./vik file.mod > audio_file.raw
|
||||
</code></pre>
|
||||
|
||||
<h3>Try:</h3>
|
||||
|
||||
<pre><code>./vik randowan.mod | mplayer -demuxer rawaudio -
|
||||
./vik mad_world.mod | mplayer -demuxer rawaudio -
|
||||
</code></pre>
|
||||
|
||||
<p>Alternatively, you can use</p>
|
||||
|
||||
<pre><code>./vik file.mod > file.raw; ./raw2wav file.raw > file.wav
|
||||
</code></pre>
|
||||
|
||||
<p>It is possible to download a number of Mod files from <a href="http://modarchive.org">The Mod Archive</a>.</p>
|
||||
|
||||
<p>The randowan.mod and mad_world.mod files were created by
|
||||
<a href="http://www.translucentboy.com">Henrik Bertilsson</a> and
|
||||
are included with his permission.</p>
|
||||
|
||||
<h3>Selected Judges Remarks:</h3>
|
||||
|
||||
<p>This entry converts .MOD audio files to a playable stream
|
||||
in a most pleasing manner if you don’t like tremolo or vibrato.</p>
|
||||
|
||||
<p>Also it abuses the C compiler and/or assembler with a partially
|
||||
initialized 32 MByte array. Can you tell what is that partial
|
||||
initilzation for?</p>
|
||||
|
||||
<p>Does it take your system a long time to compile? You may want to do try:</p>
|
||||
|
||||
<pre><code> cc -S vik.c
|
||||
</code></pre>
|
||||
|
||||
<p>and to examine the resulting assembly file vik.s. On some platforms
|
||||
the assembly file is about 128 MBytes in size!</p>
|
||||
|
||||
<h2>Author’s comments:</h2>
|
||||
|
||||
<h1>Introduction</h1>
|
||||
|
||||
<p>In 1987, Karsten Obarski changed the way music was handled in games and
|
||||
demos with the introducton of the MOD file format on Commodore Amiga.</p>
|
||||
|
||||
<p>A MOD file contains a set of samples, a number of patterns indicating
|
||||
how and when the samples are to be played, a list of what patterns to
|
||||
play in what order, and a number of effects.</p>
|
||||
|
||||
<h1>Features</h1>
|
||||
|
||||
<p>This program converts MOD files created with the standard trackers for
|
||||
Amiga, e.g. Pro Tracker, Noise Tracker and Sound Tracker to raw 16 bit
|
||||
44.1kHz stereo audio. The program supports MOD music with 4, 6, and 8
|
||||
channels MOD files with up to 31 samples.</p>
|
||||
|
||||
<p>The MOD format includes many effects for each audio channel and this
|
||||
program supports most of them, including:</p>
|
||||
|
||||
<ul>
|
||||
<li>Arpeggio</li>
|
||||
<li>Slide and fine slide up/down/to note</li>
|
||||
<li>Set sample offset</li>
|
||||
<li>Volume slide</li>
|
||||
<li>Pattern break</li>
|
||||
<li>Filter on/off</li>
|
||||
<li>Set volume</li>
|
||||
<li>Cut sample</li>
|
||||
<li>Delay sample</li>
|
||||
<li>Delay pattern</li>
|
||||
<li>Set speed</li>
|
||||
</ul>
|
||||
|
||||
|
||||
<p>Due to size constraints tremolo and vibrato is not supported. Also, to
|
||||
avoid infinite long songs, the position jump feature is ignored.</p>
|
||||
|
||||
<h1>Songs</h1>
|
||||
|
||||
<p>With his permission, the package incldues two songs composed by Henrik
|
||||
Bertilsson, also known as Deelite:</p>
|
||||
|
||||
<ol>
|
||||
<li> Mad World</li>
|
||||
<li> Randowan</li>
|
||||
</ol>
|
||||
|
||||
|
||||
<h1>Build</h1>
|
||||
|
||||
<p>Compiling for *nix systems (including cygwin) is straight forward:</p>
|
||||
|
||||
<pre><code>$ gcc -o vik vik.c
|
||||
</code></pre>
|
||||
|
||||
<h1>Usage</h1>
|
||||
|
||||
<h3>Convert MOD file to raw 44.1kHz stereo audio file</h3>
|
||||
|
||||
<pre><code>$ ./vik mad_world.mod > audio_file.raw
|
||||
</code></pre>
|
||||
|
||||
<h3>Listen to the MOD file (streaming to mplayer)</h3>
|
||||
|
||||
<pre><code>$ ./vik randowan.mod | mplayer -demuxer rawaudio -
|
||||
</code></pre>
|
||||
|
||||
<p>(Don’t forget the last ‘-’ as it makes mplayer read from stdin.)</p>
|
||||
|
||||
<h1>Obfuscation</h1>
|
||||
|
||||
<p>The IOCCC rules did not put a limit on the entropy of the source code,
|
||||
and it appears that the general entropy rules doesn’t apply. An estimate
|
||||
is that the code density entropy of this entry is ~1.2 which means that
|
||||
there are around 2500 characters of code carrying information, yet there
|
||||
are only 2037 IOCCC characters of actual code. Most of the additional
|
||||
characters are encoded with non-counting characters in the frequency
|
||||
table. But there are also ~50 or so white space characters spread out
|
||||
through the source code that carry information.</p>
|
||||
|
||||
<p>The use of macros certainly adds to the obfuscation but the reason for
|
||||
using them is mainly to fit as many features as possible within the size
|
||||
limits. So please excuse the use of them.</p>
|
||||
|
||||
<p>Once the preprocessor is run, the code gets more interesting. The MOD
|
||||
player is basically a register based state machine and all the magic is
|
||||
hidden in a fog of short statements. Many of the register updates are
|
||||
conditional and the program uses the ? operator (sigh) mainly to save
|
||||
space, but also to leverage the comma operator and precedence more
|
||||
efficiently.</p>
|
||||
|
||||
<h1>Portability</h1>
|
||||
|
||||
<p>The progam is portable to most platforms. The only system dependency is
|
||||
that the program relies on writing binary data to stdout.</p>
|
||||
|
||||
<p>Microsoft compilers adds a carriges return to newlines, and to compile
|
||||
the program with this platform, the following line can be added after
|
||||
the main declaration in order for the program to run correctly:</p>
|
||||
|
||||
<pre><code>_setmode(_fileno(stdout), 0x8000);
|
||||
</code></pre>
|
||||
|
||||
<h1>Limitations</h1>
|
||||
|
||||
<p>The program only runs when a valid MOD file is passed as argument. If
|
||||
no argument is passed, the program crashes.</p>
|
||||
|
||||
<hr />
|
||||
|
||||
<!--
|
||||
(c) Copyright 1984-2012, [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>© Copyright 1984-2012,
|
||||
<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> <!--<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>
|
||||
@@ -0,0 +1,171 @@
|
||||
# Most sound
|
||||
|
||||
Daniel Vik
|
||||
802 Durshire Way
|
||||
Sunnyvale, Ca 94087
|
||||
<daniel@vik.cc>
|
||||
<http://www.danielvik.com>
|
||||
|
||||
|
||||
## Judges' comments:
|
||||
### To build:
|
||||
|
||||
make vik
|
||||
|
||||
### To run:
|
||||
|
||||
./vik file.mod > audio_file.raw
|
||||
|
||||
### Try:
|
||||
|
||||
./vik randowan.mod | mplayer -demuxer rawaudio -
|
||||
./vik mad_world.mod | mplayer -demuxer rawaudio -
|
||||
|
||||
Alternatively, you can use
|
||||
|
||||
./vik file.mod > file.raw; ./raw2wav file.raw > file.wav
|
||||
|
||||
It is possible to download a number of Mod files from [The Mod Archive](http://modarchive.org).
|
||||
|
||||
The randowan.mod and mad_world.mod files were created by
|
||||
[Henrik Bertilsson](http://www.translucentboy.com) and
|
||||
are included with his permission.
|
||||
|
||||
### Selected Judges Remarks:
|
||||
|
||||
This entry converts .MOD audio files to a playable stream
|
||||
in a most pleasing manner if you don't like tremolo or vibrato.
|
||||
|
||||
Also it abuses the C compiler and/or assembler with a partially
|
||||
initialized 32 MByte array. Can you tell what is that partial
|
||||
initilzation for?
|
||||
|
||||
Does it take your system a long time to compile? You may want to do try:
|
||||
|
||||
cc -S vik.c
|
||||
|
||||
and to examine the resulting assembly file vik.s. On some platforms
|
||||
the assembly file is about 128 MBytes in size!
|
||||
|
||||
## Author's comments:
|
||||
Introduction
|
||||
============
|
||||
|
||||
In 1987, Karsten Obarski changed the way music was handled in games and
|
||||
demos with the introducton of the MOD file format on Commodore Amiga.
|
||||
|
||||
A MOD file contains a set of samples, a number of patterns indicating
|
||||
how and when the samples are to be played, a list of what patterns to
|
||||
play in what order, and a number of effects.
|
||||
|
||||
|
||||
Features
|
||||
========
|
||||
|
||||
This program converts MOD files created with the standard trackers for
|
||||
Amiga, e.g. Pro Tracker, Noise Tracker and Sound Tracker to raw 16 bit
|
||||
44.1kHz stereo audio. The program supports MOD music with 4, 6, and 8
|
||||
channels MOD files with up to 31 samples.
|
||||
|
||||
The MOD format includes many effects for each audio channel and this
|
||||
program supports most of them, including:
|
||||
|
||||
* Arpeggio
|
||||
* Slide and fine slide up/down/to note
|
||||
* Set sample offset
|
||||
* Volume slide
|
||||
* Pattern break
|
||||
* Filter on/off
|
||||
* Set volume
|
||||
* Cut sample
|
||||
* Delay sample
|
||||
* Delay pattern
|
||||
* Set speed
|
||||
|
||||
Due to size constraints tremolo and vibrato is not supported. Also, to
|
||||
avoid infinite long songs, the position jump feature is ignored.
|
||||
|
||||
|
||||
Songs
|
||||
=====
|
||||
|
||||
With his permission, the package incldues two songs composed by Henrik
|
||||
Bertilsson, also known as Deelite:
|
||||
|
||||
1. Mad World
|
||||
2. Randowan
|
||||
|
||||
|
||||
Build
|
||||
=====
|
||||
|
||||
Compiling for *nix systems (including cygwin) is straight forward:
|
||||
|
||||
$ gcc -o vik vik.c
|
||||
|
||||
|
||||
Usage
|
||||
=====
|
||||
|
||||
### Convert MOD file to raw 44.1kHz stereo audio file
|
||||
|
||||
$ ./vik mad_world.mod > audio_file.raw
|
||||
|
||||
### Listen to the MOD file (streaming to mplayer)
|
||||
|
||||
$ ./vik randowan.mod | mplayer -demuxer rawaudio -
|
||||
|
||||
(Don't forget the last '-' as it makes mplayer read from stdin.)
|
||||
|
||||
|
||||
Obfuscation
|
||||
===========
|
||||
|
||||
The IOCCC rules did not put a limit on the entropy of the source code,
|
||||
and it appears that the general entropy rules doesn't apply. An estimate
|
||||
is that the code density entropy of this entry is ~1.2 which means that
|
||||
there are around 2500 characters of code carrying information, yet there
|
||||
are only 2037 IOCCC characters of actual code. Most of the additional
|
||||
characters are encoded with non-counting characters in the frequency
|
||||
table. But there are also ~50 or so white space characters spread out
|
||||
through the source code that carry information.
|
||||
|
||||
The use of macros certainly adds to the obfuscation but the reason for
|
||||
using them is mainly to fit as many features as possible within the size
|
||||
limits. So please excuse the use of them.
|
||||
|
||||
Once the preprocessor is run, the code gets more interesting. The MOD
|
||||
player is basically a register based state machine and all the magic is
|
||||
hidden in a fog of short statements. Many of the register updates are
|
||||
conditional and the program uses the ? operator (sigh) mainly to save
|
||||
space, but also to leverage the comma operator and precedence more
|
||||
efficiently.
|
||||
|
||||
|
||||
Portability
|
||||
===========
|
||||
|
||||
The progam is portable to most platforms. The only system dependency is
|
||||
that the program relies on writing binary data to stdout.
|
||||
|
||||
Microsoft compilers adds a carriges return to newlines, and to compile
|
||||
the program with this platform, the following line can be added after
|
||||
the main declaration in order for the program to run correctly:
|
||||
|
||||
_setmode(_fileno(stdout), 0x8000);
|
||||
|
||||
|
||||
Limitations
|
||||
===========
|
||||
|
||||
The program only runs when a valid MOD file is passed as argument. If
|
||||
no argument is passed, the program crashes.
|
||||
|
||||
--------------------------------------------------------------------------------
|
||||
<!--
|
||||
(c) Copyright 1984-2012, [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/
|
||||
-->
|
||||
Binary file not shown.
Binary file not shown.
@@ -0,0 +1,28 @@
|
||||
#!/usr/bin/perl
|
||||
#
|
||||
# This work by Simon Cooper is licensed under a Creative Commons
|
||||
# Attribution-ShareAlike 3.0 Unported License.
|
||||
#
|
||||
# Info from: https://ccrma.stanford.edu/courses/422/projects/WaveFormat/
|
||||
|
||||
my $file = shift @ARGV;
|
||||
|
||||
my $size = -s $file;
|
||||
my $rate = 44100;
|
||||
my $samp = 16;
|
||||
my $chan = 2;
|
||||
|
||||
print "RIFF".
|
||||
pack("V", $size-8). # File size -8
|
||||
"WAVE". # "Format"
|
||||
"fmt ". # Subchunk1ID
|
||||
pack("V", 16). # Subchunk1Size
|
||||
pack("v", 1). # PCM
|
||||
pack("v", $chan). # NumChannels
|
||||
pack("V", $rate). # SampleRate
|
||||
pack("V", ($rate>>3)*$chan*$samp). # ByteRate
|
||||
pack("v", $chan*$samp>>3). # BlockAlign
|
||||
pack("v", $samp). # BitsPerSample
|
||||
"data". # Subchunk2ID
|
||||
pack("V",$size-44); # SubchunkSize
|
||||
system "cat", $file;
|
||||
@@ -0,0 +1,90 @@
|
||||
#include <stdio.h>
|
||||
|
||||
char E[1<<25]=" ; } } { { } { { ; ; { } } { { ; { { { { { } ; } { { ; { { { ; { } ; ; ; { ; ; ; } } ; } { { ; } } ; } } ; ; } { ; } } { } } } } } ; { { } } } ; } } } { } ; ; ; { } ; { { { ; { ; } } { { { } { { ; ; { { } } { { ; { { { { { } ; } { { ; { { { ; { } ; ; ; ; ; } } ; } { { ; } } ; } ; ; } { ; } } } } } } } ; { { } ; ; } ; { } ; ; ; { } ; { { ; { ; } } { { { } { ; ; { { } } { { { { { { { { ; { ; { { ; { { ; ; { } ; ",
|
||||
*a[40],*q=E+20,*T=E+1080;
|
||||
int i=1,j,k,l,u,w,I,J,K,h,H,G,R=4,U,e[999],*p=e+5,*r,*s,*v,b[999],L[1<<16],
|
||||
F=882,n[99];
|
||||
FILE*f;
|
||||
|
||||
#define Y(a,b) (a)<(b)?(a):(b)
|
||||
#define Z(a,b) (a)>(b)?(a):(b)
|
||||
#define X(x,a,b)Z(a,Y(b,x))
|
||||
#define O [s]
|
||||
#define N [v]
|
||||
#define M [r]
|
||||
#define C ++
|
||||
#define m :0
|
||||
#define g m,
|
||||
#define d u==
|
||||
#define z(o) 32 O?n[X(32 O+o+(35 O-24)/256,0,59)]m
|
||||
#define y(o) 32 O?8 O=z(o)m
|
||||
#define x (p=e+5*34 O,2 M-3 && 2 M-5?y(0),l=p[4],a[i]=a[8+34 O],3 N=l>1?\
|
||||
2*(p[3]+l):2*p[0],4 N=l>1?2*l:1,0 N=Y(2 M-9?0:9 O<<8,3 N-1) m)
|
||||
#define W(t,i) (u=t[i]>>4,w=t[i]&15),
|
||||
#define Q(e) ((1 N+=13200)>=5 N?1 N-=5 N, C 0 N>=3 N?0 N-=4 N m g e*6 N*q[0\
|
||||
N]/34)+
|
||||
#define D(b,i) T[i]==*#b&&T[i+2]==#b[1]
|
||||
#define A ((unsigned char*)q)
|
||||
#define V *p C=
|
||||
#define S(a) V(A[a]<<8)|A[a+1],
|
||||
#define P 2 M==
|
||||
#define B ,putchar
|
||||
#define o for(
|
||||
|
||||
int main(int t,char**c)
|
||||
{
|
||||
o; w=E[u]; C u)n[u/10]+=(w-59?w-125?w-32?1 m:2:3)<<u%10;
|
||||
o t=fread(E,i,1<<24,f=fopen(c[i],"rb")),
|
||||
t=D(FT,0)?R=T[3]-48,32:D(CN,1)?R=*T-48,32:D(MK,0)?32:16;
|
||||
i C<t;
|
||||
S(0)V(A[2]&7)-2*(A[2]&8),V A[3],S(4)S(6)q+=8) q+=22;
|
||||
o H=*A,T=q+=2,q+=t>15?132:128;
|
||||
k<128;
|
||||
k C) G=X(G,T[k]+1,128);
|
||||
o p=L; j C<R*64*G; q+=4)
|
||||
o W(A,2)V*A&240|u,V i=0,V w,V A[3],k=((*A&15)<<8)|A[1],l=9<<19;
|
||||
k&&i C<60;
|
||||
u=k-n[i],u*u<l?p[-3]=i,l=u*u:l);
|
||||
o i=1; i<t; a[8+i]=q,q+=2*e[5*i C]);
|
||||
o t=6; !U; ) {
|
||||
o i=0; i<R;
|
||||
v=b+7*i,r=L+4*(R*(64*T[K]+J)+i),s=e+200+50*i,j=3 M&15,
|
||||
I?
|
||||
W(s,2 M)P 5||P 6||P 10?0 O =u?Y(0 O+u,64):Z(0 O-w,0) g
|
||||
P 0?W(r,3)(u|w)?y((I%3-1?I%3-2?0:w:u)) m g
|
||||
8 O=P 1?Z(113,8 O-1 O):P 2?Y(856,8 O+2 O):8 O,
|
||||
P 5||P 3?l=z(0),8 O>l?8 O=Z(8 O-3 O,l):8 O<l?Y(8 O+3 O,l) m g
|
||||
U|=P 11&&I==t-1,
|
||||
P 13&&I==t-1?W(r,3)K C,J=10*u+w-1 g
|
||||
P 14?
|
||||
W(r,3)
|
||||
d 6?j?I==t-1?38 O=38 O<j?J=37 O-1,38 O+1 m m:(37 O=J) g
|
||||
d 9&&C 39 O==25 O?39 O=0,x g
|
||||
d 12&&I==28 O?0 O=0 g
|
||||
d 13&&I==e[29]?x m
|
||||
m
|
||||
:(
|
||||
0 M?34 O=0 M,p=e+5*34 O,35 O=p[1],0 O=p[2] g
|
||||
3 M?2 M O=3 M g
|
||||
1 M&&(2 M-14||((3 M>>4)-13))?32 O=1 M,x g
|
||||
0 O=P 12?X(3 M,0,64) m O ,
|
||||
P 15?(l=3 M)?l<33?t=l:(F=110250/l) m g
|
||||
P 14?
|
||||
W(r,3)
|
||||
j?(16+u) O=j g
|
||||
8 O=d 1?Z(113,8 O-17 O):d 2?Y(856,8 O+18 O):8 O,
|
||||
d 5?35 O=(j&7)-2*(j&8) g
|
||||
d 9?39 O=25 O&&!1 M?x,0 m g
|
||||
0 O=d 10?Y(0 O+26 O,64):d 11?Z(0 O-27 O,0):0 O,
|
||||
d 14?h=30 O m m),
|
||||
6 N =X(0 O,0,64),
|
||||
5 N =999*8 O,
|
||||
i C);
|
||||
o C I>=t+t*h?I=h=0,C J>=64?J=0,U|=C K>=H m g j=F; j--; 0
|
||||
B(u)B(u>>8)B(w)B(w>>8))
|
||||
o i=u=w=0; i<R;
|
||||
v=b+7*i,q=a[i C],q?l=Q(1)Q(4)Q(12)Q(12)Q(4)Q(1)0,
|
||||
k=1<<(i&2),u+=l/k,w+=l/(k^5) m);
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Reference in new issue
Block a user