Compile Error
foo.cc: In function ‘int main()’: foo.cc:5:9: error: expected initializer before ‘int’ 5 | int a[3][4]; | ^~~ foo.cc:9:26: error: ‘a’ was not declared in this scope 9 | cin>>a[i][j]; | ^ foo.cc:11:13: error: ‘a’ was not declared in this scope 11 | max=a[0][0]; | ^ foo.cc: In lambda function: foo.cc:17:36: error: expected ‘{’ before ‘[’ token 17 | max=[a][j]; | ^ foo.cc: In function ‘int main()’: foo.cc:17:36: error: no match for ‘operator[]’ (operand types are ‘main()::<lambda()>’ and ‘int’)
正在同步测试数据,请稍后
信息
- 递交者
- 类型
- 递交
- 题目
- P1073 二维数组-最大值及最小值
- 语言
- C++
- 递交时间
- 2024-05-11 15:44:01
- 评测时间
- 2024-05-11 15:44:01
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes