blocks.cpp: In function 'void solve(int, int, int, int, int)':
blocks.cpp:21:17: warning: suggest parentheses around '+' inside '>>' [-Wparentheses]
21 | int mid = f + l >>1, p;
| ~~^~~
blocks.cpp: In function 'int main()':
blocks.cpp:36:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
36 | freopen("Task.inp","r",stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~
blocks.cpp:37:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
37 | freopen("WA.out","w",stdout);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~
blocks.cpp: In function 'void solve(int, int, int, int, int)':
blocks.cpp:30:10: warning: 'p' may be used uninitialized in this function [-Wmaybe-uninitialized]
30 | solve(f, mid - 1, from, p, k);
| ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~