import sys b=map(str.split,sys.stdin) for r in b[:3]: for s in b[3:]: \x09if s:print"".join("%5i"%(int(v)*int(u))for v in r for u in s)
Note that non-ascii characters in the above source code will be escaped (such as \x9f).
download
return to the top page