실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:17:13: warning: unused variable ‘x’ [-Wunused-variable] 17 | int x = (n[2] - n[1] * y) / n[0]; | ^ Main.c:20:13: warning: unused variable ‘x’ [-Wunused-variable] 20 | int x = (n[5] - n[4] * y) / n[3]; | ^ Main.c:23:21: error: ‘x’ undeclared (first use in this function) 23 | printf("%d %d", x, y); | ^ Main.c:23:21: note: each undeclared identifier is reported only once for each function it appears in Main.c:4:50: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 4 | int n[6] = { 0 }; for(int i = 0; i < 6; ++i) scanf("%d", &n[i]); | ^~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.