foo.cc: In function 'int main(int, char**)':
foo.cc:53:7: warning: init-statement in selection statements only available with '-std=c++17' or '-std=gnu++17'
53 | if(max<(b[i-1]+c[i-1])
| ^~~
foo.cc:53:26: error: expected ';' before '{' token
53 | if(max<(b[i-1]+c[i-1])
| ^
| ;
54 | {
| ~
foo.cc:53:10: warning: statement has no effect [-Wunused-value]
53 | if(max<(b[i-1]+c[i-1])
| ~~~^~~~~~~~~~~~~~~~
foo.cc:57:13: error: expected primary-expression before 'if'
57 | if(max>1e15)max = max%p;
| ^~
foo.cc:56:14: error: expected ')' before 'if'
56 | }
| ^
| )
57 | if(max>1e15)max = max%p;
| ~~
foo.cc:53:6: note: to match this '('
53 | if(max<(b[i-1]+c[i-1])
| ^
[Hydro](https://hydro.ac)提供评测服务