Run ID 作者 问题 语言 测评结果 Time Memory 代码长度 提交时间
81048 李雨昊 输出第i行第j列 C++ Compile Error 0 MS 0 KB 385 2024-07-12 09:28:03

Tests(0/0):


Code:

#include<iostream> #include<list> #include<stack> #include<cstring> #include<queue> #include<algorithm> using namespace std; int main(){ int i,j; cin>>i>>j; int a[3][4]={1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23} for(int n=0;n<i;n++){ for(int m=0;m<j;m++){ cin>>a[n][m]; } } cout<<a[i][j]; return 0; }


Run Info:

Main.cc: In function 'int main()':
Main.cc:13:3: error: expected ',' or ';' before 'for'
   for(int n=0;n