palindromic.cpp: In function 'int main()':
palindromic.cpp:63:16: warning: ignoring return value of 'FILE* freopen(const char*, const char*, FILE*)' declared with attribute 'warn_unused_result' [-Wunused-result]
63 | freopen(taskname".txt", "r", stdin);
| ~~~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~
palindromic.cpp: In function 'bool cmp(int, int, int, int)':
palindromic.cpp:29:17: warning: array subscript 2 is above array bounds of 'll [2][1000002]' {aka 'long long int [2][1000002]'} [-Warray-bounds]
29 | return pre[t][r] - pre[t][l - 1] * power[t][r - l + 1];
| ~~~~~^
palindromic.cpp:25:4: note: while referencing 'pre'
25 | ll pre[2][maxN], suf[2][maxN], power[2][maxN];
| ^~~
palindromic.cpp:29:29: warning: array subscript 2 is above array bounds of 'll [2][1000002]' {aka 'long long int [2][1000002]'} [-Warray-bounds]
29 | return pre[t][r] - pre[t][l - 1] * power[t][r - l + 1];
| ~~~~~^
palindromic.cpp:25:4: note: while referencing 'pre'
25 | ll pre[2][maxN], suf[2][maxN], power[2][maxN];
| ^~~
palindromic.cpp:29:47: warning: array subscript 2 is above array bounds of 'll [2][1000002]' {aka 'long long int [2][1000002]'} [-Warray-bounds]
29 | return pre[t][r] - pre[t][l - 1] * power[t][r - l + 1];
| ~~~~~~~^
palindromic.cpp:25:32: note: while referencing 'power'
25 | ll pre[2][maxN], suf[2][maxN], power[2][maxN];
| ^~~~~
palindromic.cpp:29:17: warning: array subscript 2 is above array bounds of 'll [2][1000002]' {aka 'long long int [2][1000002]'} [-Warray-bounds]
29 | return pre[t][r] - pre[t][l - 1] * power[t][r - l + 1];
| ~~~~~^
palindromic.cpp:25:4: note: while referencing 'pre'
25 | ll pre[2][maxN], suf[2][maxN], power[2][maxN];
| ^~~
palindromic.cpp:29:29: warning: array subscript 2 is above array bounds of 'll [2][1000002]' {aka 'long long int [2][1000002]'} [-Warray-bounds]
29 | return pre[t][r] - pre[t][l - 1] * power[t][r - l + 1];
| ~~~~~^
palindromic.cpp:25:4: note: while referencing 'pre'
25 | ll pre[2][maxN], suf[2][maxN], power[2][maxN];
| ^~~
palindromic.cpp:29:47: warning: array subscript 2 is above array bounds of 'll [2][1000002]' {aka 'long long int [2][1000002]'} [-Warray-bounds]
29 | return pre[t][r] - pre[t][l - 1] * power[t][r - l + 1];
| ~~~~~~~^
palindromic.cpp:25:32: note: while referencing 'power'
25 | ll pre[2][maxN], suf[2][maxN], power[2][maxN];
| ^~~~~