Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:9:2: error: expected initializer before 'int'
int x;
^~~
/in/foo.cc:12:8: error: 'sb' was not declared in this scope
cin>>sb[i];
^~
/in/foo.cc:14:7: error: 'x' was not declared in this scope
cin>>x;
^
/in/foo.cc:15:8: error: 'sb' was not declared in this scope
cout<<sb[x];
^~
信息
- 递交者
- 类型
- 递交
- 题目
- P1054 输出数组的第j个元素
- 语言
- C++
- 递交时间
- 2021-02-23 19:50:43
- 评测时间
- 2021-02-23 19:50:43
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes