실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘union_tree’: Main.c:34:9: warning: implicit declaration of function ‘find_parent’; did you mean ‘find_parents’? [-Wimplicit-function-declaration] 34 | x = find_parent(x); | ^~~~~~~~~~~ | find_parents Main.c: In function ‘main’: Main.c:41:14: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 41 | int V,E; scanf("%d %d", &V, &E); | ^~~~~~~~~~~~~~~~~~~~~~ Main.c:45:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 45 | scanf("%d %d", &uchuukami[i].x, &uchuukami[i].y); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:50:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 50 | scanf("%d %d", &a, &b); | ^~~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccGjrlZf.o: in function `union_tree': Main.c:(.text+0x134): undefined reference to `find_parent' /usr/bin/ld: Main.c:(.text+0x140): undefined reference to `find_parent' /usr/bin/ld: /tmp/ccGjrlZf.o: in function `main': Main.c:(.text.startup+0x39c): undefined reference to `find_parent' /usr/bin/ld: Main.c:(.text.startup+0x3ac): undefined reference to `find_parent' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.