c混乱代码大赛
来源:互联网 发布:91家居软件 编辑:程序博客网 时间:2024/05/27 00:25
#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);}
这段代码是由Cambridge consultants Ltd.的Ian Phillipps编写,用于参加国际c混乱代码大赛(International obfuscated c code contest)其在linux下编译以后运行将打印出歌曲 the twelve days of christmas。我运行以后打印结果如下:
On the first day of Christmas my true love gave to me
a partridge in a pear tree.
On the second day of Christmas my true love gave to me
two turtle doves
and a partridge in a pear tree.
On the third day of Christmas my true love gave to me
three french hens, two turtle doves
and a partridge in a pear tree.
On the fourth day of Christmas my true love gave to me
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the fifth day of Christmas my true love gave to me
five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the sixth day of Christmas my true love gave to me
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the seventh day of Christmas my true love gave to me
seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the eigth day of Christmas my true love gave to me
eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the ninth day of Christmas my true love gave to me
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the tenth day of Christmas my true love gave to me
ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the eleventh day of Christmas my true love gave to me
eleven pipers piping, ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
On the twelfth day of Christmas my true love gave to me
twelve drummers drumming, eleven pipers piping, ten lords a-leaping,
nine ladies dancing, eight maids a-milking, seven swans a-swimming,
six geese a-laying, five gold rings;
four calling birds, three french hens, two turtle doves
and a partridge in a pear tree.
这个代码看不懂。有谁解释下。~~
- c混乱代码大赛
- 混乱C大赛代码解析
- 国际C语言混乱代码大赛
- IOCCC--国际混乱C代码大赛
- 国际C语言混乱代码大赛:IOCCC
- 国际C语言混乱代码大赛
- 混乱代码大赛
- 2012国际C语言混乱代码大赛冠军代码
- 国际C语言混乱代码大赛代码赏析(一)
- 国际C语言混乱代码大赛代码赏析(一)
- 国际C语言混乱代码大赛代码赏析
- 国际C语言混乱代码大赛(IOCCC)
- 国际C语言混乱代码大赛结果公布
- 第二十一届国际C语言混乱代码大赛结果公布
- 国际C语言混乱代码大赛结果公布
- 国际C语言混乱代码大赛----1988获奖作品赏析
- 第21届国际C语言混乱代码大赛获奖作品
- 国际C语言混乱代码大赛作品分析!
- WPF学习笔记--xaml属性介绍
- C#自动登录网页浏览页面 抓取数据
- 关于SSAS 数据处理TEXT类型
- Ext标签封装。参考和建议下,顺便广告下
- ASP.net:读取Word内容(包含表格,不包含图片)并且显示在页面中
- c混乱代码大赛
- ubuntu开启3D效果,修复VirtualBox
- js 获取 asp.net 服务器端控件 Label 与 TextBox RadioButtonList 与 DropDownList 的值
- Get and Post
- 第三层交换技术
- Siebel CTI: Step of Configure CTI for simulate mode
- 以太网交换技术及其设备的详细解说
- 病中作
- 《路人甲》 很适合喜欢动脑的人!