Kronecker product by murky-satyr

A=gets''
B=*$<
A.map{|$_|B.map{|b|puts split.map{|n|b.split.map{|m|'%5d'.%n.to_i*m.to_i}}*''}}

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

download

return top