记录详情

Compile Error

foo.cc:13:12: error: stray '\357' in program
  FindiMax(a,max, j);
            ^
foo.cc:13:13: error: stray '\274' in program
  FindiMax(a,max, j);
             ^
foo.cc:13:14: error: stray '\214' in program
  FindiMax(a,max, j);
              ^
foo.cc:3:1: error: expected initializer before 'int'
 int main()
 ^~~
foo.cc: In function 'int FindiMax(int*, int, int)':
foo.cc:18:15: error: 'n' was not declared in this scope
  for(j = 0; j<n; j++)
               ^
foo.cc:23:19: warning: format '%d' expects argument of type 'int', but argument 2 has type 'int*' [-Wformat=]
    printf("%d", &j);
                 ~~^
[Hydro](https://hydro.ac)提供评测服务

信息

递交者
类型
自测
题目
A7-3 数组的极值下标函数
语言
C++
递交时间
2021-10-31 10:33:25
评测时间
2021-10-31 10:33:25
评测机
分数
0
总耗时
0ms
峰值内存
0 Bytes