foo.cc:17:26: error: stray '\357' in program
if (a[0]>a[n]&&a[0]>a[1])
^
foo.cc:17:27: error: stray '\274' in program
if (a[0]>a[n]&&a[0]>a[1])
^
foo.cc:17:28: error: stray '\211' in program
if (a[0]>a[n]&&a[0]>a[1])
^
foo.cc: In function 'int main()':
foo.cc:17:6: warning: init-statement in selection statements only available with -std=c++1z or -std=gnu++1z
if (a[0]>a[n]&&a[0]>a[1])
^
foo.cc:18:6: error: expected ';' before 's'
s=s+1;
^
foo.cc:17:15: warning: statement has no effect [-Wunused-value]
if (a[0]>a[n]&&a[0]>a[1])
~~~~~~~~~^~~~~~~~~~~
foo.cc:19:2: error: expected primary-expression before 'if'
if (a[n]>a[n-1]&&a[n]>a[0])
^~
foo.cc:19:2: error: expected ')' before 'if'
[Hydro](https://hydro.ac)提供评测服务