| Run ID | Author | Problem | Lang | Verdict | Time | Memory | Code Length | Submit Time |
|---|---|---|---|---|---|---|---|---|
| 82614 | sh25_zhuhy | 矩阵加法 | C++ | Accepted | 1 MS | 256 KB | 395 | 2026-01-16 15:58:02 |
#include<iostream> using namespace std; int main(){ int m,n; cin>>m>>n; int a[m][n],b[m][n]; for(int i=0;i<m;++i){ for(int j=0;j<n;++j){ cin>>a[i][j]; } } for(int i=0;i<m;++i){ for(int j=0;j<n;++j){ cin>>b[i][j]; cout<<a[i][j]+b[i][j]<<" "; } cout<<'\n'; } return 0; }