{"id":834,"date":"2008-06-01T17:39:09","date_gmt":"2008-06-01T16:39:09","guid":{"rendered":"http:\/\/www.arbeat.es\/2008\/06\/01\/the-international-obfuscated-c-code-contest\/"},"modified":"2008-06-01T17:48:14","modified_gmt":"2008-06-01T16:48:14","slug":"the-international-obfuscated-c-code-contest","status":"publish","type":"post","link":"https:\/\/www.arbeat.es\/?p=834","title":{"rendered":"The International Obfuscated C Code Contest"},"content":{"rendered":"<p>Ahir em van fer arribar aquest curios enlla\u00c3\u00a7, te molts anys per\u00c3\u00b2 jo no el coneixia . <\/p>\n<p><a href=\"http:\/\/www.de.ioccc.org\/main.html\">http:\/\/www.de.ioccc.org\/main.html<\/a><\/p>\n<p>De q va? Doncs molts de nosaltres quan piquem codi o al menys a mi m&#8217;ha passat alguna vegada que ens hem complicat  la vida o l&#8217;hem estructurat tant  malament pel que sigui que resulta dificil llegir, entendre .. aixo si funciona perfectament \ud83d\ude42<br \/>\nDoncs be, el &#8220;International Obfuscated C Code Contest&#8221; tracta d&#8217;aixo mateix, de demostrar lo complicat i rebuscat que pot ser programar per tal que ningu ho entengui xD<\/p>\n<p>I per que us feu una idea aqui us deixo un fragment del que podeu trobar en aquesta url <\/p>\n<p><code><\/p>\n<blockquote><p>\nchar*d,A[9876];char*d,A[9876];char*d,A[9876];char*d,A[9876];char*d,A[9876];char<br \/>\ne;b;*ad,a,c;  te;b;*ad,a,c;  te;*ad,a,c;  w,te;*ad,a,  w,te;*ad,and,  w,te;*ad,<br \/>\nr,T; wri; ;*h; r,T; wri; ;*h; r; wri; ;*h;_, r; wri;*h;_, r; wri;*har;_, r; wri<br \/>\n  ;on; ;l ;i(V)  ;on; ;l ;i(V)  ;o ;l ;mai(V)  ;o  ;mai(n,V)    ;main (n,V)<br \/>\n   {-!har  ;      {-!har  ;      {har  =A;      {h  =A;ad        =A;read<br \/>\n(0,&e,o||n -- +(0,&e,o||n -- +(0,&o||n ,o-- +(0,&on ,o-4,- +(0,n ,o-=94,- +(0,n<br \/>\n,l=b=8,!( te-*A,l=b=8,!( te-*A,l=b,!( time-*A,l=b, time)|-*A,l= time(0)|-*A,l=<br \/>\n~l),srand  (l),~l),srand  (l),~l),and  ,!(l),~l),a  ,!(A,l),~l)  ,!(d=A,l),~l)<br \/>\n,b))&&+((A + te,b))&&+((A + te,b))+((A -A+ te,b))+A -A+ (&te,b+A -A+(* (&te,b+A<br \/>\n)=+ +95>e?(*& c)=+ +95>e?(*& c) +95>e?(*& _*c) +95>(*& _*c) +95>(*&r= _*c) +95><br \/>\n5,r+e-r +_:2-195,r+e-r +_:2-195+e-r +_:2-1<-95+e-r +_-1<-95+e-r ++?_-1<-95+e-r \n|(d==d),!n ?*d||(d==d),!n ?*d||(d==d),!n ?*d||(d==d),!n ?*d||(d==d),!n ?*d||(d=\n *( (char**)+V+ *( (char)+V+ *( (c),har)+V+  (c),har)+ (V+  (c),r)+ (V+  (  c),\n+0,*d-7 ) -r+8)+0,*d-7 -r+8)+0,*d-c:7 -r+80,*d-c:7 -r+7:80,*d-7 -r+7:80,*d++-7 \n+7+! r: and%9- +7+! rand%9-85 +7+! rand%95 +7+!!  rand%95 +7+  rand()%95 +7+  r\n-(r+o):(+w,_+ A-(r+o)+w,_+*( A-(r+o)+w,_+ A-(r=e+o)+w,_+ A-(r+o)+wri,_+ A-(r+o)\n+(o)+b)),!write+(o)+b,!wri,(te+(o)+b,!write+(o=_)+b,!write+(o)+b,!((write+(o)+b\n-b+*h)(1,A+b,!!-b+*h),A+b,((!!-b+*h),A+b,!!-b+((*h),A+b,!!-b+*h),A-++b,!!-b+*h)\n, a >T^l,( o-95, a >T,( o-=+95, a >T,( o-95, a)) >T,( o-95, a >T,(w? o-95, a >T<br \/>\n++  &&r:b<<2+a ++  &#038;&#038;b<<2+a+w ++  &#038;&#038;b<<2+w ++  ) &#038;&#038;b<<2+w ++  &#038;&#038;b<<((2+w ++  &#038;&#038;\n!main(n*n,V) , !main(n,V) , !main(+-n,V) ,main(+-n,V) ) ,main(n,V) ) ,main),(n,\nl)),w= +T-->o +l)),w= +T>o +l)),w=o+ +T>o +l,w=o+ +T>o;{ +l,w=o+T>o;{ +l,w &=o+<br \/>\n!a;}return _+= !a;}return _+= !a;}return _+= !a;}return _+= !a;}return _+= !a;}\n<\/p><\/blockquote>\n<p><\/code><\/p>\n","protected":false},"excerpt":{"rendered":"<p>Ahir em van fer arribar aquest curios enlla\u00c3\u00a7, te molts anys per\u00c3\u00b2 jo no el coneixia . http:\/\/www.de.ioccc.org\/main.html De q va? Doncs molts de nosaltres quan piquem codi o al menys a mi m&#8217;ha passat alguna vegada que ens hem complicat la vida o l&#8217;hem estructurat tant malament pel que sigui que resulta dificil llegir,&#8230;<\/p>\n","protected":false},"author":1,"featured_media":0,"comment_status":"open","ping_status":"open","sticky":false,"template":"","format":"standard","meta":{"footnotes":""},"categories":[],"tags":[],"class_list":["post-834","post","type-post","status-publish","format-standard","hentry"],"_links":{"self":[{"href":"https:\/\/www.arbeat.es\/index.php?rest_route=\/wp\/v2\/posts\/834","targetHints":{"allow":["GET"]}}],"collection":[{"href":"https:\/\/www.arbeat.es\/index.php?rest_route=\/wp\/v2\/posts"}],"about":[{"href":"https:\/\/www.arbeat.es\/index.php?rest_route=\/wp\/v2\/types\/post"}],"author":[{"embeddable":true,"href":"https:\/\/www.arbeat.es\/index.php?rest_route=\/wp\/v2\/users\/1"}],"replies":[{"embeddable":true,"href":"https:\/\/www.arbeat.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcomments&post=834"}],"version-history":[{"count":0,"href":"https:\/\/www.arbeat.es\/index.php?rest_route=\/wp\/v2\/posts\/834\/revisions"}],"wp:attachment":[{"href":"https:\/\/www.arbeat.es\/index.php?rest_route=%2Fwp%2Fv2%2Fmedia&parent=834"}],"wp:term":[{"taxonomy":"category","embeddable":true,"href":"https:\/\/www.arbeat.es\/index.php?rest_route=%2Fwp%2Fv2%2Fcategories&post=834"},{"taxonomy":"post_tag","embeddable":true,"href":"https:\/\/www.arbeat.es\/index.php?rest_route=%2Fwp%2Fv2%2Ftags&post=834"}],"curies":[{"name":"wp","href":"https:\/\/api.w.org\/{rel}","templated":true}]}}