race.cpp: In function 'void cdecomp(int)':
race.cpp:107:12: warning: iteration 200050 invokes undefined behavior [-Waggressive-loop-optimizations]
107 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:105:15: note: within this loop
105 | for(int i=0;i<=N;i++)
| ~^~~
race.cpp:125:12: warning: iteration 200050 invokes undefined behavior [-Waggressive-loop-optimizations]
125 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:123:15: note: within this loop
123 | for(int i=0;i<=N;i++)
| ~^~~
race.cpp: In function 'int DFSc(int)':
race.cpp:29:23: warning: 'ind' may be used uninitialized in this function [-Wmaybe-uninitialized]
29 | if(i.first!=parent[u] && bul[i.first]==false && sz[i.first]>maks)
| ~~~~~~~~^
race.cpp: In function 'void cdecomp(int)':
race.cpp:107:12: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800200, 800203] is out of the bounds [0, 800200] of object 'parent' with type 'int [200050]' [-Warray-bounds]
107 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:8:11: note: 'parent' declared here
8 | int sz[N],parent[N],root,dist[N],depth[N];
| ^~~~~~
race.cpp:125:12: warning: 'void* __builtin_memset(void*, int, long unsigned int)' forming offset [800200, 800203] is out of the bounds [0, 800200] of object 'parent' with type 'int [200050]' [-Warray-bounds]
125 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:8:11: note: 'parent' declared here
8 | int sz[N],parent[N],root,dist[N],depth[N];
| ^~~~~~