ll N,M,A,B[111]; char c; { rd(N,M); rd(c);rd(B(M)); REP(i, N){ rd(A); REP(j, M){ cout<<(c=='+'?A+B[j]:A*B[j])<<' '; } cout<