실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:7:9: warning: implicit declaration of function ‘scanf’ [-Wimplicit-function-declaration] 7 | scanf("%d",&n); | ^~~~~ Main.c:1:1: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ +++ |+#include <stdio.h> 1 | int main(void) Main.c:7:9: warning: incompatible implicit declaration of built-in function ‘scanf’ [-Wbuiltin-declaration-mismatch] 7 | scanf("%d",&n); | ^~~~~ Main.c:7:9: note: include ‘<stdio.h>’ or provide a declaration of ‘scanf’ Main.c:51:17: warning: implicit declaration of function ‘printf’ [-Wimplicit-function-declaration] 51 | printf("%d ",sw[k]); | ^~~~~~ Main.c:51:17: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ Main.c:51:17: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch] Main.c:51:17: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ Main.c:60:17: warning: incompatible implicit declaration of built-in function ‘printf’ [-Wbuiltin-declaration-mismatch] 60 | printf("%d ",sw[k]); | ^~~~~~ Main.c:60:17: note: include ‘<stdio.h>’ or provide a declaration of ‘printf’ Main.c:67:9: error: expected declaration or statement at end of input 67 | return 0; | ^~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.