Compile Error
/in/foo.cc: In function 'int main()':
/in/foo.cc:15:11: error: expected primary-expression before 'int'
FindMaxs(int a[n1]);
^~~
/in/foo.cc:16:11: error: expected primary-expression before 'int'
FinsMaxs(int b[n2]);
^~~
/in/foo.cc:16:20: error: 'FinsMaxs' was not declared in this scope
FinsMaxs(int b[n2]);
^
/in/foo.cc: In function 'void FindMaxs(int*)':
/in/foo.cc:21:16: error: 'n' was not declared in this scope
for(int i=0;i<n;i++)
^
信息
- 递交者
- 类型
- 递交
- 题目
- A9-7 数组中所有极大值
- 比赛
- 数据结构课堂练习9-16
- 语言
- C++
- 递交时间
- 2019-09-16 10:36:12
- 评测时间
- 2019-09-16 10:36:12
- 评测机
- 分数
- 0
- 总耗时
- 0ms
- 峰值内存
- 0 Bytes