art.cpp: In function 'int main()':
art.cpp:29:17: error: 'ma' was not declared in this scope; did you mean 'maa'?
29 | ma = max(ma, a[i].fi - p[i - 1]);
| ^~
| maa
art.cpp:29:30: error: 'a' was not declared in this scope
29 | ma = max(ma, a[i].fi - p[i - 1]);
| ^
art.cpp:16:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
16 | freopen(TASK ".INP", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~
art.cpp:17:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
17 | freopen(TASK ".OUT", "w", stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~