Kronecker product by nn

for(p=i=0;it[++i]=l=readline(),l+0;)l?0:n=i
for(;p++<n;)for(q=n;++q<i;print(o))for(o='';v=/\d/g(it[p]);)for(;w=/\d/g(it[q]);)o+=/.{5}$/('    '+v*w)

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

download

return to the top page