Swap alt and alt2 of 2012/endoh1
The alt2 is the deobfuscated version; the alt one is the one with the ability to slow down/speed up the fluid and control the gravity factor, the pressure factor and/or the viscosity factor. The alt version no longer imposes a lower limit on the factors because doing so prevents the ability to define them to 'I' which the author noted is a functional difference.
This commit is contained in:
1 parent
8bb837f5f8
commit
af3b4f5166
6 files changed
+144
-117
No files matched your search
+29
-47
@@ -1,49 +1,31 @@
|
||||
# include<stdio.h>// .IOCCC Fluid- #
|
||||
# include <unistd.h> //2012 _Sim!_ #
|
||||
# include<complex.h> //|||| ,____. IOCCC- #
|
||||
# ifndef S
|
||||
# define S 12321
|
||||
# elif S < 1
|
||||
# undef S
|
||||
# define S 12321
|
||||
# endif
|
||||
# ifndef G
|
||||
# define G 1
|
||||
# elif G < 1
|
||||
# undef G
|
||||
# define G 1
|
||||
# endif
|
||||
# ifndef P
|
||||
# define P 4
|
||||
# elif P < 1
|
||||
# undef P
|
||||
# define P 4
|
||||
# endif
|
||||
# ifndef V
|
||||
# define V 8
|
||||
# elif V < 1
|
||||
# undef V
|
||||
# define V 8
|
||||
# endif
|
||||
#include <stdio.h>// .IOCCC Fluid- #
|
||||
#include <unistd.h> //2012 _Sim!_ #
|
||||
#include <complex.h> //|||| ,____. IOCCC- #
|
||||
double complex a[97687], *p, *q, *r = a, w = 0, d;
|
||||
int x , y;
|
||||
char b [6856] = "\x1b[2J" "\x1b" "[1;1H ", *o = b, *t;
|
||||
int
|
||||
main()
|
||||
{
|
||||
|
||||
for (; 0 < (x = getc(stdin));)
|
||||
w = x > 10 ? 32 < x ? 4[*r++ = w, r] = w + 1, *r = r[5] = x == 35, r += 9 : 0, w - I : (x = w + 2);;
|
||||
for (;; puts(o), o = b + 4) {
|
||||
for (p = a; p[2] = p[1] * 9, p < r; p += 5)
|
||||
for (q = a; w = cabs(d = *p - *q) / 2 - 1, q < r; q += 5)
|
||||
if (0 < (x = 1 - w))
|
||||
p[2] += w * w;
|
||||
for (p = a; p[3] = G, p < r; p += 5)
|
||||
for (q = a; w = cabs(d = *p - *q) / 2 - 1, q < r; q += 5)
|
||||
if (0 < (x = 1 - w))
|
||||
p[3] += w * (d * (3 - p[2] - q[2]) * P + p[4] * V - q[4] * V) / p[2];
|
||||
for (x = 011; 2012 - 1 > x++;)
|
||||
b[x] = 0;
|
||||
for (p = a; (t = b + 10 + (x = *p * I) + 80 * (y = *p / 2), *p += p[4] += p[3] / 10 * !p[1]), p < r; p += 5)
|
||||
x = 0 <= x && x < 79 && 0 <= y && y < 23 ? 1[1[*t |= 8, t] |= 4, t += 80] = 1, *t |= 2 : 0;
|
||||
for (x = 011; 2012 - 1 > x++;)
|
||||
b[x] = " '`-.|//,\\" "|\\_" "\\/\x23\n"[x % 80 - 9 ? x[b] : 16];;
|
||||
|
||||
# define h for( x=011; 2012/* #
|
||||
# */-1>x ++;)b[ x]//-' winner #
|
||||
# define f(p,e) for(/* #
|
||||
# */p=a; e,p<r; p+=5)// #
|
||||
# define z(e,i) f(p,p/* #
|
||||
## */[i]=e)f(q,w=cabs (d=*p- *q)/2- 1)if(0 <(x=1- w))p[i]+=w*/// ##
|
||||
double complex a [ 97687] ,*p,*q ,*r=a, w=0,d; int x,y;char b/* ##
|
||||
## */[6856]="\x1b[2J" "\x1b" "[1;1H ", *o= b, *t; int main (){/** ##
|
||||
## */for( ;0<(x= getc ( stdin) );)w=x >10?32< x?4[/* ##
|
||||
## */*r++ =w,r]= w+1,*r =r[5]= x==35, r+=9:0 ,w-I/* ##
|
||||
## */:(x= w+2);; for(;; puts(o ),o=b+ 4){z(p [1]*/* ##
|
||||
## */9,2) w;z(G, 3)(d*( 3-p[2] -q[2]) *P+p[4 ]*V-/* ##
|
||||
## */q[4] *V)/p[ 2];h=0 ;f(p,( t=b+10 +(x=*p *I)+/* ##
|
||||
## */80*( y=*p/2 ),*p+=p [4]+=p [3]/10 *!p[1]) )x=0/* ##
|
||||
## */ <=x &&x<79 &&0<=y&&y<23?1[1 [*t|=8 ,t]|=4,t+=80]=1/* ##
|
||||
## */, *t |=2:0; h=" '`-.|//,\\" "|\\_" "\\/\x23\n"[x/** ##
|
||||
## */%80- 9?x[b] :16];;usleep( S) ;}return 0;}/* ##
|
||||
#### ####
|
||||
###############################################################################
|
||||
**###########################################################################*/
|
||||
usleep(12321);
|
||||
} return 0;
|
||||
}
|
||||
Reference in new issue
Block a user