我看了想哭......那有这样整人的?!!
#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[a]):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)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}
在TC下运行,扩展名为.c,运行后在命令行下(先进入TC目录)输入"<你起的文件名>[.exe]>read.txt <CR>"(蓝字照抄)。打开read.txt能看到完整的输出。
我想问的是这种程序是怎么写出来的,是人脑能分析的程序吗?
----------------解决方案--------------------------------------------------------
楼主你哪抄来的乱码吧
----------------解决方案--------------------------------------------------------
mystery.c网上到处是。我到现在也不懂....
baidu肯定懂,不过他肯定不来给你讲,因为你没钱,哈哈...
----------------解决方案--------------------------------------------------------
偶以前真的花了一天时间分析化简过这个代码,咦,偶记偶发过简化过的代码,如果不是这里就是编程爱好者啊
----------------解决方案--------------------------------------------------------
编程爱好者我很少去,最近才刚申请了号.没见过。
要不,再copy一份,我也学习学习
----------------解决方案--------------------------------------------------------
上次硬盘坏了所有的东西都没有了,编程爱好者上应该能找到,而且偶记得编程爱好者当时的版主也化简这份代码。很久了,记忆模糊了,或许有些偏差
----------------解决方案--------------------------------------------------------
找到解释后的程序了,用Google搜到的:http://cmt.pconline.com.cn/topic.jsp?id=1525704&
#include <stdio.h>
#define STRING_LARGE "On the \0first\0second\0third\0fourth\0fifth\0sixth\0seventh\0eigth\0ninth\0tenth\0eleventh\0twelfth\0 day of Christmas my true love gave to me\n\0twelve drummers drumming, \0eleven pipers piping, \0ten lords a-leaping,\n\0nine ladies dancing, \0eight maids a-milking, \0seven swans a-swimming,\n\0six geese a-laying, \0five gold rings;\n\0four calling birds, \0three french hens, \0two turtle doves\nand \0a partridge in a pear tree.\n\n\0"
int main(int iFirst, int iSecond, char *pchThird)
{
if(iFirst == 1)
{
return main(2, 2, NULL);
}
_begin:
if(iFirst == 2)
{
pchThird = STRING_LARGE;
printf(pchThird);
int the1 = 1-iSecond;
pchThird = STRING_LARGE;
while(the1 != 0)
{
if(*pchThird == '\0')
{
the1++;
}
pchThird++;
}
printf(pchThird);
int the2 = -13;
pchThird = STRING_LARGE;
while(the2 != 0)
{
if(*pchThird == '\0')
{
the2++;
}
pchThird++;
}
printf(pchThird);
}
if(iFirst < iSecond)
{
main(iFirst+1 ,iSecond, pchThird);
}
int the3 = -27+iFirst;
pchThird = STRING_LARGE;
while(the3 != 0)
{
if(*pchThird == '\0')
{
the3++;
}
pchThird++;
}
printf(pchThird);
if(iFirst==2 && iSecond<13)
{
iSecond++;
goto _begin;
}
return 1;
}
----------------解决方案--------------------------------------------------------
...........
头晕~~~~~~~~~~~~~~~~~~~~
----------------解决方案--------------------------------------------------------