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)提供评测服务