Kronecker product by murky-satyr

gets''
B=*$<
puts$_.map{|$_|B.map{|b|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