fork download
  1. #include <iostream>
  2. int main() {
  3. int x,b=0x9d437fa;
  4. char c[12]={b+(b>>8)*2};
  5. for(x=0;x<4;++x)c[x+1]=x[c]+(b+x*((b>>8)+x*((b>>16)+x*(b>>24))))/2;
  6. c[x+2]=(c[x+1]=2*b-(b>>16))+b-(b>>16)-(b>>8);
  7. b^=0x29320c;
  8. for(x=0;x<4;++x)c[7+x]=c[6+x]+(char)(b+x*((b>>8)+x*(b>>16)))/2;;
  9. for(x=0;x<5;++x)c[6+x]=x[c]+c[6+x];
  10. std::cout<<c<<std::endl;
  11. return 0;
  12. }
Success #stdin #stdout 0s 3456KB
stdin
Standard input is empty
stdout
hello world