c膜拜大佬IOCCC代码网址
IOCCC获奖者的一些代码#include<stdio.h>int a = 256;int main(){for(char b,
*c=b ,*d=b+ a ,*e=b+a+a,*f,*g=fgets(e,(b[
a]=b =a- a,a) , stdin);c=a-a,f=c
,c=d ,d=e ,e=f, f= g,g =0,g = fgets(e,a+a
-a+ a -a+a -a+ a- +a,stdin ),f +a-a ; pu\
tchar(+10)) { for( int h= 1,i=1,j, k=0 ,l
=e==32,m,n=0,o=c [ 0]== 32, p, q=0;d[q
];j=k,k=l,m=n,n=o,p=(j)+(k* 2 )+(l =(i =
e[ q]&&i ) &&e== 32,l*4)+(m* 8 )+(
16*n)+(o=(h =c[ q]&&h)&&c==
32,o* (16+16) )+0-0 +0, putchar(" ......"
/*\(|||)|/|/ / */".')|)\\\\\\\\'"
"" "|||" "|||" "|'" ")|)\\\\\\\\'/|/(/"
"(/'/|/\\|\\|'/|/(/(/'/|/\\|\\|"==
32?p:0]));}}/* typographic tributaries */
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
typedef unsigned
long W; static
W*i,t,c,h,e,r,y,**a,*b,*o,*u,*n,*d,*s;enum
_ {F=6 , I=7,N=5, D = 3 ,M=14
,Y=0 , C=8,L =1 , U = 9 , E=4};
static void (* _ ) ( ) ;static void*(*B)(),*T;
static char m,*Z;void *meltdown(void *p,size_t
sz){ void *z=realloc(p,sz);if(!z||!sz)exit(n?y!=*n:I-F);
return z;}void magic(W*p){W j;for(j=0;j<p;j++){W*v=T,Q=
p;W*J=a;if(N==~0LU){ _ (Q);v=&I;}else if(J)
{v=&N;}if(v&&I>*v)I=*v;}}void cast(void){B(i,Y);}void
spell(W G,W H){ _ (); _ (H); _ (H, G); _ (H); _ (G);}void witch(
void){e=n[--E];a=0;if(b>=U){c=2*(b?b
:1);o=B
(d,c *sizeof*o);u=B(s,c*sizeof*o);b=c;d=o;s=u;}d++]
=e;if
(e>y)y=e;}void*brew(void*g,size_t l){puts(l?"":"Out of
range.");exit
(g?1:1);}void newt(W *p){F=0;N=I=~F;}void bubble(W H)
{for
(t=0;t<H;t++){s]---1]=d;}}void boil(W G){for
(t=0;t<
G-1;t++){i+=i;} _ =bubble;}void hex(W G,W H){for(t=0;t<H?
G:Y;t++
){i]++;} _ =boil;}void nasal_demons(W G){for (t=Y;t<G;t++)i
=0; _
=hex;}void toil(void){i=B(i,y*sizeof*i); _ =nasal_demons;}void bat
(W l)
{C=0; _ =witch;do _ ();while(e!=l);y++;if(!y)B=brew; _
=toil;spell (C
,y);printf("%lu:",b++);for(y=0;y<C;y++){printf(" %lu",s
);}y=
0;puts("");}void potion(W l){W*p=a;if(p!=~0LU)return;p
=h;p
=h;p=1;h++;n++]=l;if(E==r){r*=2;n=B(n,r*sizeof*n);}
magic(p)
;if(I==p){bat(l);} _ =potion;}void O(void){n=B(n,2*sizeof
(*n));Y[n
]=r;if(a&&a){r=2;b=a; _ =potion;b=b^=b;E=1;for
(y=0;y
<*n;y++){if(a){ _ (y);}}} _ =cast;h=0;}void toad(W g,W j,W*l)
{o=B(a
,((a?a:0)+j+M)*sizeof*o); _ =newt;if(!a){ _ (o);}
for(y=
0;y<j;y++){o+F+C]=l;o++;if(l==g){continue;}u=B(a[l
]
,((a]?a]:Y)+M)*sizeof*u);if(!a]){ _ (u);}a[l
]
=u;}y=0;a=o;}void familiar(void){W**w;e=r;if(!r){r=1;}while
(r<=t){r*=2;if(!r){B=brew;break;}}w=B(a,r*sizeof*a);if(!
Z){Z="\x5f";}for(y=e;y<r;y++){y=T;}y=0;a=w;
_ (Y,c-1,&i);}void spectre(void){if((W)
*Z-060 >011){
return;} _ =toad
;i=( W)atoi(
Z);if(i>t){t=i;}c++;if(c==h){i=B(i,2*h*sizeof*i);h*=2;}y=i[c-
1];if
((Z=strtok(T," \t"))){if(U>=(W)*Z-I*I+L) _ =spectre;}}int main(int
argv,
char**argc){h++;if(argc){T=argc;} _:_ =O;i=(B=meltdown)
(T,h*sizeof
*i);while(*argc||Z){c=0;*argc=fgets(m,sizeof(m),stdin); _
=spectre;if(!*
argc){Z=T;goto _ ;}Z=strtok(*argc,"\t ");while(Z&&(W)*Z-(M*D+F)<=U){
_ (
);}if(t>=r)familiar();else if(c>0){ _ (i,c-1,&i);}} _ ();goto
_ ;}
#include/*nui*/<stdio.h>//;70/*#}rop;f(p;ok})i[;k-r*?(rc&(o}
nr**s*2)!}-mpi##
extern int n0;typedef int x;x//i/eu2->uuo0uo=;nXfdx+1e8uOeh&k-x[e1
(i)>{=eqa,nii
n,u,k,o,_,i=1;static char///f/t]:n=t-rxt+0f[=(-=+;t)*,aa!
>1=dt0pzrpi(l)idtnn
d;x main(){if(//]* nu]O}u)2ulr
(=00+u2=ee&fos{n,*cc
i){for(n=0;1024>n;n++)//]Tkhng;>]-=Or):=l*Ou);
+r4poa&(=ep(qnll
for(u=0x0;u<1025;)d=64//ua0=)a,<(=}X;non)?
fl!!g{u)=,uu
/2;for(u=n=0////////]_#p^#onui[/u+}+?+r;d{r/X////////////c/(&if=-)p
(l(xewt{1udd
/4;EOF!=(o=////////////]#ebdl#ah[0}n/1()////////////////////1f(k1)
*ion)thsO;,ee
getchar())// //////]u#oh[,;/////////// //////;;)
2nc={ci(=ck<<
&&u<1024;// ///////////////// ////}
{:t((ihl"Nh,ss
)u+=o-10// /////////
///2)nifaeYUaott
?n<1024//
////,n(r(uLr,dd
?d[n++// @@@
///td(EuL*Xli
]=o// @ @
///+)Or;O,io
,k=k<// @ @
///)Fii;xb.
n?n:k// @ @
///"fi,.h
,0:0// @@@
//)(n/h>
:!(n//
//;0t/>/
=0);//
//!/|//
for(// 5
//=/*/%
;k--// 12
=q tni
;)d[k//
//))u/
/01][u//
//1Ni/
/1]/*n///
//(Ui;
>*/=!/*N//
//=K~/
h*/1,/*UN///
//nqO~*
.*/puts/*n////
//[/?,]
o*/(d)/*u////// ///////
//1*q[u
i*/;}else{//t///////////// ///////////
//,stup;
d++;puts(/*f///////// //]====[////////
//(N tni
ti&/N/////.///s/It]]_bz8[// ///SHOUJO\vv///////////
//;}"jvo"
su /U/////N///t}Ue]~J#phi[// //\SHUUMATSU|]_[////////
///,"/utf"
<ntt/fe=)|UI0{u;Nnu]^u#ja#p[.//
///"c!tj!xb"
e/ n/ilI(|/(1ep)/ *>->IOCCC// //]^#dbi#`h#anuok^u#[//
///"S","/ttfm"
d/eit{i(rl/r-s-"/e/]o[^^^^^!/////]hfhuuhp)~[[//
///"iuspx!fsb!tho"
unn;n)h=a({aIl0onnt//"jiu!fmcjefoJ","/zsbdt!fsb!tobnvI!"
"///","~<1!osvufs<*2"
lriqi(w!hf)h=e1trin//".;2;1;1+*432&25\*3,o)_6)92x
\sbiduvq@1=v@2:.o@4:.o),v,1/>"
cef ;n{Fci2cl}-iufi//"v*1?**)sbidufh>o))fmjix|*)ojbn!uoj<v-o!
uoj31\?i/pjeut=fe"
ntetli)Ot{3t;}lhte}//"vmdoj$","svpU!utbM!(tmsjH"{=]041[]6[u,n*rahc;q
tni nretxe
ixdn,aqEe)-u)}=Ced;//};0+nruter;)K(U;)++n*--;n*;K=n(rof{)(niam )
O,K,U(N enifed#
#e#iIm((g)Ip ;I"r#0.[(c)2018]*/"Nuko");}return
+0;}//>h.oidts<edulcni#
#include <stdio.h>
main(t,_,a)char *a;
{
return!0<t?t<3?main(-79,-13,a+main(-87,1-_,
main(-86,0,a+1)+a)):1,t<_?
main(t+1,_,a):3,main(-94,-27+t,a)&&t==2?_<13?
main(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?main(_,t,
"@n'+,#'/*{}w+/w#cdnr/+,{}r/*de}+,/*{*+,/w{%
+,/w#q#n+,/#{l+,/n{n+,/+#n+,/#\
;#q#n+,/+k#;*+,/'r :'d*'3,}{w+K w'K:'+}e#';dq#'l \
q#'+d'K#!/+k#;q#'r}eKK#}w'r}eKK{nl]'/#;#q#n'){)#}w'){){nl]'/+#n';d}
rw' i;# \
){nl]!/n{n#'; r{#w'r nc{nl]'/#{l,+'K {rw' iK{;[{nl]'/w#q#n'wk nw' \
iwk{KK{nl]!/w{%'l##w#' i; :{nl]'/*{q#'ld;r'}{nlwb!/*de}'c \
;;{nl'-{}rw]'/+,}##'*}#nc,',#nw]'/+kd'+e}+;#'rdq#w! nr'/ ') }+}
{rl#'{n' ')# \
}'+}##(!!/")
:t<-50?_==*a?putchar(31):main(-65,_,a+1):main
((*a=='/')+t,_,a+1)
:0<t?main(2,2,"%s"):*a=='/'||main(0,main(-61,*a,
"!ek;dc i@bK'(q)-
*%n+r3#l,{}:\nuwloca-O;m.vpbks,fxntdCeghiry"),a+1);
}
IOCCC网址:http://www.ioccc.org/years-spoiler.html
感兴趣的看一看,大佬与我的差距{:5_104:} {:5_104:} {:5_107:} 这种代码还没有编译后ida f5的容易看。。。
页:
[1]