Follow along with the video below to see how to install our site as a web app on your home screen.
Note: this_feature_currently_requires_accessing_site_using_safari
Onions said:readability = maintainability! but yeah, thats pretty cool
#include <stdio.h>
main(int k)
{
float i, j, r, x, y=-16;
while(puts(""),y++<15)
for(x=0; x++<84; putchar(" .:-;!/> )|&IH%*#"[k&15]))
for(i=k=r=0; j=r*r-i*i-2+x/25, i=2*r*i+y/10, j*j+i*i<11&&k++<111; r=j);
}
#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'+,#'/*s{}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);
}
we11er said:Check out this gem, won the Obfustigated C award a while back.
Code:#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'+,#'/*s{}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); }
#include <windows>
#include <iostream>
#include <stdlib>
using namespace std;
int main()
{
srand( GetTickCount() );
char* source = "Wbmwf!jt!ufi!2448\"!\
!Ifmmp!Ibmg.mjgf3/ofu\"";
int length = strlen( source ); bool*
on = new bool[length];int i;
for ( i = source[ length
+ 1]; i < length; i++ )
on[i] = false; for ( ; ; ) {
Sleep( ("j00")[2] + 2 ); if (
rand() % ("Are...")[0] - 45) on[
rand() % length ] = true; for
( i = 0; i < length; i++
) if ( on[i] ) cout <<
(char) ( source[i] - 1 );
else cout << (char) ( ("a jew")[0] - 'A' +
rand() % source[4] + 3 );
cout << endl;
} delete on; return 0;
}
Could someone post the output, i can't get it to compile.we11er said:Check out this gem, won the Obfustigated C award a while back.
Code:#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'+,#'/*s{}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); }
edit: original is here, even more messed up:
http://www1.us.ioccc.org/years.html#1988 under 'Phillips'
SLH said:Could someone post the output, i can't get it to compile.
Its used in labels and case statements, as well. Thats all.Phisionary said:are there any uses of the ':' (colon) in c/c++ besides the ternary operator, or whatever it's called ( conditional ? statement : statement )
??
i'm trying to organize that code so my brain doesn't hurt so much.
[Edit]And I thought the '#' sign was for preprocessors and such. That's the only way I can remember encountering it... What other fuctions does it serve? Thanks, if anyone can help. I seriously doubt I'll figure this out at my experiance level but it's kinda fun to try.
Yea, their in quotes.Phisionary said:ah, yes. i forgot about those. what about the '#' sign. that's what has me puzzled.
Edit: oh wait. they might all be between double quotes. that would explain it. kinda.
return!0<t?[i]something[/i]:[i]somethingelse[/i]
Phisionary said:did this compile correctly? i did some minor formatting (newlines, whitespace) and found it gave incorrect output (i.e. extra characters where they didn't belong)...
also, in:
does this run asCode:return!0<t?[i]something[/i]:[i]somethingelse[/i]
is t greater than not(0)? (therefore, 1) then return result (whichever),or asis t greater than 0?, then return not resultfrom what you wrote it looks to be not(0), but I just wanted to double check.
Done!kurly said:Just for laughs: Lets see who can fix the bug that put the space in "f irst" on the first line.
Phisionary said:Done!
...It's the other typos that are really tough.
lol! thanks :Ekurly said:
Wow! Here's to you! :cheers:
Now pony up the code, braggart
_==*a?putchar(31[a])
with
_==*a?31[a]==0?0:putchar(31[a])
"@n'+,#'/*s{}w+/ ...
^
this one right here