In function ‘int dx(int, int)’,
inlined from ‘int main()’ at foo.cc:32:19:
foo.cc:12:31: warning: array subscript -1 is below array bounds of ‘int [100005]’ [-Warray-bounds=]
12 | pan0[e]++;
| ~~~~~~^
foo.cc: In function ‘int main()’:
foo.cc:3:21: note: while referencing ‘pan0’
3 | int x,y,a[100005],j,pan0[100005];
| ^~~~
In function ‘int dx(int, int)’,
inlined from ‘int main()’ at foo.cc:32:19:
foo.cc:12:31: warning: array subscript -1 is below array bounds of ‘int [100005]’ [-Warray-bounds=]
12 | pan0[e]++;
| ~~~~~~^
foo.cc: In function ‘int main()’:
foo.cc:3:21: note: while referencing ‘pan0’
3 | int x,y,a[100005],j,pan0[100005];
| ^~~~