记录详情

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:15:20: error: 'FindMaxs' was not declared in this scope
  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 FindMax(int*)':
/in/foo.cc:21:16: error: 'n' was not declared in this scope
  for(int i=0;i<n;i++)
                ^

信息

递交者
类型
自测
题目
A9-7 数组中所有极大值
语言
C++
递交时间
2019-09-16 10:33:14
评测时间
2019-09-16 10:33:14
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes