Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
133718 郝王骏程 字符串替换 C++ Compile Error 0 MS 0 KB 306 2025-10-20 18:34:01

Tests(0/0):


Code:

#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]; } } for(i = 1;i <= 5;i++){ for(j = 1;j <= 5;j++) cout<<a[i][j]<<" "; cout<<endl } return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:16:1: error: expected ';' before '}' token
 }  
 ^