Greeting Animals by bk1e

#define Z(x,y) h==x?#y:
char m[99],*f,*n;i,o;main(h){for(;gets(m);puts(m)){for(h=0,n=m;*n;h=(h+*n++)%33);f=Z(22,naraion)Z(15,tanoshii)Z(10,usu)Z(25,yukaina)0;o=h==22?4:h==10?9:0;f&&strcpy(m+o,f);f=Z(11,n)Z(2,sagi)Z(24,ni)Z(1,nagi)Z(32,kanku)Z(28,nbou)Z(29,usu)(h==15||h==25)?" nakamaga popopopo-n":"";strcat(m,f);}}

Note that non-ascii characters in the above source code will be escaped (such as \x9f).

download

return to the top page