ricehub.cpp: In function 'long long int besthub(int, int, int*, long long int)':
ricehub.cpp:15:13: error: expected initializer before 'ans'
15 | ll tmp, md ans, mx = 0;
| ^~~
ricehub.cpp:17:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
17 | ans = 0;
| ^~~
| abs
ricehub.cpp:19:3: error: 'md' was not declared in this scope
19 | md = i;
| ^~
ricehub.cpp:30:3: error: 'mx' was not declared in this scope; did you mean 'x'?
30 | mx = max(mx,ans);
| ^~
| x
ricehub.cpp:32:9: error: 'mx' was not declared in this scope; did you mean 'x'?
32 | return mx;
| ^~
| x