실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:14:13: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=] 14 | scanf("%d", t); | ~^ ~ | | | | | int | int * Main.c:40:37: error: ‘ar’ undeclared (first use in this function); did you mean ‘a’? 40 | }else if(sq(ar + br) == sq_abr){ | ^~ | a Main.c:40:37: note: each undeclared identifier is reported only once for each function it appears in Main.c:40:42: error: ‘br’ undeclared (first use in this function); did you mean ‘b’? 40 | }else if(sq(ar + br) == sq_abr){ | ^~ | b Main.c:14:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 14 | scanf("%d", t); | ^~~~~~~~~~~~~~ Main.c:17:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 17 | scanf("%d %d %d %d %d %d", &a.x, &a.y, &a.r, &b.x, &b.y, &b.r); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.