race.cpp: In function 'void cdecomp(int)':
race.cpp:104:12: warning: iteration 200050 invokes undefined behavior [-Waggressive-loop-optimizations]
104 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:102:15: note: within this loop
102 | for(int i=0;i<=N;i++)
| ~^~~
race.cpp:118:12: warning: iteration 200050 invokes undefined behavior [-Waggressive-loop-optimizations]
118 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:116:15: note: within this loop
116 | 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:104: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]
104 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:8:11: note: 'parent' declared here
8 | int sz[N],parent[N],root,dist[N],depth[N];
| ^~~~~~
race.cpp:118: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]
118 | parent[i]=-1;
| ~~~~~~~~~^~~
race.cpp:8:11: note: 'parent' declared here
8 | int sz[N],parent[N],root,dist[N],depth[N];
| ^~~~~~