실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:25:15: error: ‘t’ undeclared (first use in this function); did you mean ‘t2’? 25 | scanf("%d",&t); | ^ | t2 Main.c:25:15: note: each undeclared identifier is reported only once for each function it appears in Main.c:31:7: error: ‘sq_big_r’ undeclared (first use in this function); did you mean ‘sq_bigr’? 31 | sq_big_r= BIG(sq(Case[j].x-ax)+ sq(Case[j].y-ay) , sq(Case[j].x-bx)+ sq(Case[j].y-by)); | ^~~~~~~~ | sq_bigr Main.c:32:7: error: ‘sq_small_r’ undeclared (first use in this function); did you mean ‘sq_smallr’? 32 | sq_small_r= SMALL(sq(Case[j].x-ax)+ sq(Case[j].y-ay) , sq(Case[j].x-bx)+ sq(Case[j].y-by)); | ^~~~~~~~~~ | sq_smallr Main.c:24:16: warning: unused variable ‘sq_smallr’ [-Wunused-variable] 24 | int sq_bigr, sq_smallr, sq_r; | ^~~~~~~~~ Main.c:24:7: warning: unused variable ‘sq_bigr’ [-Wunused-variable] 24 | int sq_bigr, sq_smallr, sq_r; | ^~~~~~~ Main.c:27:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 27 | scanf("%d %d %d %d",&ax, &ay, &bx, &by); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:28:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 28 | scanf("%d",&t2); | ^~~~~~~~~~~~~~~ Main.c:30:7: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 30 | scanf("%d %d %d",&Case[j].x,&Case[j].y,&Case[j].r); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.