游戏开发论坛

 找回密码
 立即注册
搜索
查看: 1853|回复: 8

贴代码,娱乐一下,嘿嘿

[复制链接]

190

主题

1801

帖子

2096

积分

金牌会员

Rank: 6Rank: 6

积分
2096
QQ
发表于 2005-1-10 00:16:00 | 显示全部楼层 |阅读模式
#include <stdio.h>
int Func(int t, int _, char* a)
{return!0<t?t<3?Func(-79,-13,a+Func(-87,1-_,Func(-86,0,a+1
)+a)):1,t<_?Func(t+1,_,a):3,Func(-94,-27+t,a)&&t==2?_<13?
Func(2,_+1,"%s %d %d\n"):9:16:t<0?t<-72?Func(_,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]):Func(-65,_,a+1):Func((*a=='/')+t,_,a+1)
:0<t?Func(2,2,"%s"):*a=='/'||Func(0,Func(-61,*a,
"!ek;dc i@bK'(q)-[w]*%n+r3#l,{}:\nuwloca-O;m .vpbks,fxntdCeghiry"),a+1);}
int main(int t, int _, char* a){return Func(t,_,a);} [em10] [em10] [em10]

190

主题

1801

帖子

2096

积分

金牌会员

Rank: 6Rank: 6

积分
2096
QQ
 楼主| 发表于 2005-1-10 00:17:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

忘记声明了,系转贴

28

主题

685

帖子

703

积分

高级会员

Rank: 4

积分
703
发表于 2005-1-10 08:18:00 | 显示全部楼层

估计是ICCCCC的比赛用的。

rt

1

主题

60

帖子

70

积分

注册会员

Rank: 2

积分
70
发表于 2005-1-10 09:28:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

哈哈哈,我记得以前开开弄过一个更厉害的。

13

主题

153

帖子

153

积分

注册会员

Rank: 2

积分
153
QQ
发表于 2005-1-10 09:32:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

运行结果:)
-----------------------------------------------------
On the first day of Christmas my true love gve to me
a partridge in a per tree.

On the second day of Christmas my true love gve to me
two turtle doves
and a partridge in a per tree.

On the third day of Christmas my true love gve to me
three french hens, two turtle doves
and a partridge in a per tree.

On the fourth day of Christmas my true love gve to me
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the fifth day of Christmas my true love gve to me
five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the sixth day of Christmas my true love gve to me
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the seventh day of Christmas my true love gve to me
seven swans -swimming,
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the eigth day of Christmas my true love gve to me
eight maids a-milking, seven swans -swimming,
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the ninth day of Christmas my true love gve to me
nine ladies dancing, eight maids a-milking, seven swans -swimming,
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the tenth day of Christmas my true love gve to me
ten lords a-leping,
nine ladies dancing, eight maids a-milking, seven swans -swimming,
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the eleventh day of Christmas my true love gve to me
eleven pipers piping, ten lords a-leping,
nine ladies dancing, eight maids a-milking, seven swans -swimming,
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

On the twelfth day of Christmas my true love gve to me
twelve drummers drumming, eleven pipers piping, ten lords a-leping,
nine ladies dancing, eight maids a-milking, seven swans -swimming,
six geese a-laying, five gold rings;
four clling birds, three french hens, two turtle doves
and a partridge in a per tree.

Press any key to continue

96

主题

529

帖子

539

积分

高级会员

Rank: 4

积分
539
发表于 2005-1-10 11:38:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

有趣儿

1

主题

3

帖子

0

积分

新手上路

Rank: 1

积分
0
发表于 2005-1-10 17:56:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

I wonder the use of _
int main(int t, int _, char* a){return Func(t,_,a);}
                    ~~~~                             ~~~
看过一些混乱代码,发现下划线用得很多,什么意思?

9

主题

151

帖子

153

积分

注册会员

Rank: 2

积分
153
发表于 2005-1-10 20:13:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

main的参数表有点怪异……没见过这个参数表……

248

主题

2674

帖子

2702

积分

金牌会员

Rank: 6Rank: 6

积分
2702
QQ
发表于 2005-1-10 22:04:00 | 显示全部楼层

Re:贴代码,娱乐一下,嘿嘿

好难看。
您需要登录后才可以回帖 登录 | 立即注册

本版积分规则

作品发布|文章投稿|广告合作|关于本站|游戏开发论坛 ( 闽ICP备17032699号-3 )

GMT+8, 2025-12-24 01:38

Powered by Discuz! X3.4

Copyright © 2001-2021, Tencent Cloud.

快速回复 返回顶部 返回列表