/in/foo.cc: In function 'void check(int)':
/in/foo.cc:11:18: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds]
11 | gra[xb][4]=b*2;
| ~~~~~~~~~^
/in/foo.cc:3:9: note: while referencing 'gra'
3 | int n,k,gra[1000005][4],xb,st=1,visited[10000005],proje,ok,ans=1,g=3,flag;
| ^~~
In function 'void check(int)',
inlined from 'void bfs(int)' at /in/foo.cc:25:13:
/in/foo.cc:11:18: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds]
11 | gra[xb][4]=b*2;
| ~~~~~~~~~^
/in/foo.cc: In function 'void bfs(int)':
/in/foo.cc:3:9: note: while referencing 'gra'
3 | int n,k,gra[1000005][4],xb,st=1,visited[10000005],proje,ok,ans=1,g=3,flag;
| ^~~
In function 'void check(int)',
inlined from 'void bfs(int)' at /in/foo.cc:23:9:
/in/foo.cc:11:18: warning: array subscript 4 is above array bounds of 'int [4]' [-Warray-bounds]
11 | gra[xb][4]=b*2;
| ~~~~~~~~~^
/in/foo.cc: In function 'void bfs(int)':
/in/foo.cc:3:9: note: while referencing 'gra'
3 | int n,k,gra[1000005][4],xb,st=1,visited[10000005],proje,ok,ans=1,g=3,flag;
| ^~~