Cross Product of two Strings by ush

char*p,*q;main(a,b){for(;~scanf("%s%s",p=b+20,b);)for(;*p;++p)for(q=b;*q;)printf(p[1]|*q?"%c%c ":"%c%c\n",*p,*q++);}

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

download

return to the top page