| Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
|---|---|---|---|---|---|---|---|---|
| 133733 | 黄枳润 | 字符串替换 | C++ | Compile Error | 0 MS | 0 KB | 362 | 2025-10-20 19:46:21 |
#include<bits/stdc++.h> using namespace std; int main(){ int i,j,n,m; int a[6][6]; cin>>n>>m; for(i = 1;i <= 5;i++){ for(j = 1;j <= 5;j++){ if(i==n) cin>>a[m][j]; else if(i==m) cin>>a[n][j]; else cin>>a[i][j]; } } for(i = 1;i <= 5;i++){ for(j = 1;j <= 5;j++) cout<<a[i][j]<<" "; cout<<endl; } return 0;
Main.cc: In function 'int main()':
Main.cc:18:9: error: expected '}' at end of input
return 0;
^