Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
125593 | 张铖睿 | 输出第i行第j列 | C++ | Compile Error | 0 MS | 0 KB | 170 | 2025-07-15 09:56:05 |
#include<bits/stdc++.h> using namespace std; int main(){ int a[3][4]={1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23} int i,j; cin>>i>>j; cout<<i<<j; return 0; }
Main.cc: In function 'int main()': Main.cc:5:2: error: expected ',' or ';' before 'int' int i,j; ^ Main.cc:6:7: error: 'i' was not declared in this scope cin>>i>>j; ^ Main.cc:6:10: error: 'j' was not declared in this scope cin>>i>>j; ^ Main.cc:4:6: warning: unused variable 'a' [-Wunused-variable] int a[3][4]={1, 3, 5, 7, 9, 11, 13, 15, 17, 19, 21, 23} ^