실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:5:33: error: expected ‘;’ before ‘int’ 5 | scanf("%d\n%d\n%d",&A,&B,&C) | ^ | ; 6 | int result_num = A + B - C; | ~~~ Main.c:13:26: warning: implicit declaration of function ‘atoi’ [-Wimplicit-function-declaration] 13 | int result_str_num = atoi(result_str) - C; | ^~~~ Main.c:14:20: error: ‘result_num’ undeclared (first use in this function); did you mean ‘result_str’? 14 | printf("%d\n", result_num); | ^~~~~~~~~~ | result_str Main.c:14:20: note: each undeclared identifier is reported only once for each function it appears in Main.c:5:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 5 | scanf("%d\n%d\n%d",&A,&B,&C) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.