| Run ID | 作者 | 问题 | 语言 | 测评结果 | 时间 | 内存 | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 74483 | sh25_wangtaojie | 金币 | C++ | 解答错误 | 0 MS | 252 KB | 462 | 2025-11-28 15:09:33 |
#include <iostream> #include <bits/stdc++.h> using namespace std; int main() { int a,b,d,e; cin>>a>>b; d=a*b; int c,aa[666],bb[666],count=-1; for(int i=0;i<d;i++){ cin>>c; aa[i]=c; } for(int i=0;i<d;i++){ cin>>c; bb[i]=c; } for(int i=0;i<a;i++){ for(int j=0;j<b;j++){ e=aa[i*3+j]+bb[i*3+j]; cout<<e<<" "; } cout<<endl; } return 0; }