rings.cpp: In function 'void CircleBfs(int)':
rings.cpp:74:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<A.path[v].size();i++){
~^~~~~~~~~~~~~~~~~
rings.cpp: In function 'void make_graph(int, int)':
rings.cpp:88:16: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int t=0;t<A.path[i].size();t++){
~^~~~~~~~~~~~~~~~~
rings.cpp: In function 'void Link(int, int)':
rings.cpp:112:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<A.path[x].size();i++)
~^~~~~~~~~~~~~~~~~
rings.cpp:142:17: warning: comparison between signed and unsigned integer expressions [-Wsign-compare]
for(int i=0;i<A.path[x].size();i++){
~^~~~~~~~~~~~~~~~~
rings.cpp: In function 'int main()':
rings.cpp:171:7: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d%d\n",&n,&L);
~~~~~^~~~~~~~~~~~~~~~
rings.cpp:174:8: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&x);
~~~~~^~~~~~~~~
rings.cpp:179:9: warning: ignoring return value of 'int scanf(const char*, ...)', declared with attribute warn_unused_result [-Wunused-result]
scanf("%d",&y);
~~~~~^~~~~~~~~
/tmp/ccgnGJ10.o: In function `main':
rings.cpp:(.text.startup+0x0): multiple definition of `main'
/tmp/ccK3SYBJ.o:grader.cpp:(.text.startup+0x0): first defined here
collect2: error: ld returned 1 exit status