실행 실패 (제출 코드 컴파일 에러)
Main.c:37:17: error: ‘size’ undeclared here (not in a function); did you mean ‘size_t’? 37 | arr[size] = i; | ^~~~ | size_t Main.c:37:13: warning: data definition has no type or storage class 37 | arr[size] = i; | ^~~ Main.c:37:13: warning: type defaults to ‘int’ in declaration of ‘arr’ [-Wimplicit-int] Main.c:37:25: error: ‘i’ undeclared here (not in a function) 37 | arr[size] = i; | ^ Main.c:38:21: error: expected ‘)’ before ‘+’ token 38 | dfs(size+1,i+1); | ^ | ) Main.c:39:9: error: expected identifier or ‘(’ before ‘}’ token 39 | } | ^ Main.c:40:5: error: expected identifier or ‘(’ before ‘}’ token 40 | } | ^ Main.c:41:1: error: expected identifier or ‘(’ before ‘}’ token 41 | } | ^ Main.c: In function ‘main’: Main.c:29:5: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 29 | scanf("%d %d",&M,&N); | ^~~~~~~~~~~~~~~~~~~~ Main.c:31:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 31 | scanf("%d",&nums[i]); | ^~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.