art.cpp: In function 'int main()':
art.cpp:21:21: error: expected primary-expression before ')' token
21 | for (int i=0; i<)
| ^
art.cpp:21:21: error: expected ';' before ')' token
21 | for (int i=0; i<)
| ^
| ;
art.cpp:25:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
25 | ans=max(ans, pref[i]-niz[i].first-minmin);
| ^~~
| abs
art.cpp:25:43: error: 'minmin' was not declared in this scope
25 | ans=max(ans, pref[i]-niz[i].first-minmin);
| ^~~~~~
art.cpp:28:11: error: 'ans' was not declared in this scope; did you mean 'abs'?
28 | cout<<ans<<endl;
| ^~~
| abs