| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 156228 | 余建成 | 矩阵加法 | C++ | Output Limit Exceeded | 3 MS | 308 KB | 299 | 2026-06-27 12:19:19 |
#include<iostream> using namespace std; int main(){ int n,b[101][101],m,a[101][101]; cin>>n; for(int i=0;i<n;i++) { for(int j=0;j<m;j++){ cin>>b[j][i]; } } for(int i=0;i<n;i++){ for(int j=0;j<n;j++){ cout<<b[i][j]+a[i][j]<<' '; } cout<<endl; } return 0; }