joi2019_ho_t4.cpp: In function 'int main()':
joi2019_ho_t4.cpp:40:5: warning: unused variable 'cnta' [-Wunused-variable]
40 | int cnta=0;int cntb=0;
| ^~~~
joi2019_ho_t4.cpp:40:16: warning: unused variable 'cntb' [-Wunused-variable]
40 | int cnta=0;int cntb=0;
| ^~~~
joi2019_ho_t4.cpp:36:9: warning: array subscript 3 is above array bounds of 'long long int [3][500005]' [-Warray-bounds]
36 | ps[3][i]=ps[1][i]+ps[2][i];
| ~~~~^
joi2019_ho_t4.cpp:7:5: note: while referencing 'ps'
7 | int ps[3][500005];
| ^~
joi2019_ho_t4.cpp:45:12: warning: array subscript 3 is above array bounds of 'long long int [3][500005]' [-Warray-bounds]
45 | if(ps[3][i]-i*2==0){
| ~~~~^
joi2019_ho_t4.cpp:7:5: note: while referencing 'ps'
7 | int ps[3][500005];
| ^~