题目1001:A+B for Matrices

2014-11-24 09:20:48 · 作者: · 浏览: 0

\\


< http://www.2cto.com/kf/ware/vc/" target="_blank" class="keylink">vcD4KPHA+PHByZSBjbGFzcz0="brush:java;">#include #include using namespace std; int a[15][15]; int b[15][15]; int c[15][15]; int res[100]; int Inx=0; int rows,columns; int main() { while(cin >> rows) { if(rows==0) break; cin >> columns; for(int i=0;i > a[i][j]; for(int i1=0;i1 > b[i1][j1]; for(int k=0;k