실행 실패 (제출 코드 컴파일 에러)
Main.c:23:22: error: unknown type name ‘x2’ 23 | int linedisc(int x1, x2, x3, x4){ | ^~ Main.c:23:26: error: unknown type name ‘x3’ 23 | int linedisc(int x1, x2, x3, x4){ | ^~ Main.c:23:30: error: unknown type name ‘x4’ 23 | int linedisc(int x1, x2, x3, x4){ | ^~ Main.c: In function ‘main’: Main.c:43:13: warning: implicit declaration of function ‘linedisc’ [-Wimplicit-function-declaration] 43 | if (linedisc(x1, x2, x3, x4)==1) | ^~~~~~~~ Main.c:31:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 31 | scanf("%d %d %d %d", &x1, &y1, &x2, &y2); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:32:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 32 | scanf("%d %d %d %d", &x3, &y3, &x4, &y4); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.