실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:59:9: warning: too many arguments for format [-Wformat-extra-args] 59 | scanf("%d &d",&n,&m); | ^~~~~~~ Main.c:64:24: error: ‘arr’ undeclared (first use in this function) 64 | maxtree[i+ntree-1]=arr[i]; | ^~~ Main.c:64:24: note: each undeclared identifier is reported only once for each function it appears in Main.c:59:3: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 59 | scanf("%d &d",&n,&m); | ^~~~~~~~~~~~~~~~~~~~ Main.c:63:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 63 | scanf("%d",&a[i]); | ^~~~~~~~~~~~~~~~~ Main.c:77:7: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 77 | scanf("%d %d",&left,&right); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.