실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:5:25: error: invalid initializer 5 | int x = 0,nums [8] =0; | ^ Main.c:14:9: warning: this ‘if’ clause does not guard... [-Wmisleading-indentation] 14 | if(max < nums[i]); | ^~ Main.c:15:17: note: ...this statement, but the latter is misleadingly indented as if it were guarded by the ‘if’ 15 | max = nums[i]; | ^~~ Main.c:8:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 8 | scanf("%d",&nums[i]); | ^~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.