실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:10:17: warning: format ‘%d’ expects argument of type ‘int *’, but argument 2 has type ‘int’ [-Wformat=] 10 | scanf("%d", arr[N]); | ~^ ~~~~~~ | | | | int * int Main.c:14:45: error: expected expression before ‘;’ token 14 | for (int j = 2; j < sqrt(arr[i]) + !; j++) { | ^ Main.c:10:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 10 | scanf("%d", arr[N]); | ^~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.