실행 실패 (제출 코드 컴파일 에러)
Main.c: In function ‘main’: Main.c:18:19: warning: implicit declaration of function ‘Max’ [-Wimplicit-function-declaration] 18 | maxSum1 = Max(maxSum1, dice[i]); | ^~~ Main.c:54:9: warning: variable ‘mk’ set but not used [-Wunused-but-set-variable] 54 | int mk = -1; | ^~ Main.c:35:18: warning: variable ‘mj’ set but not used [-Wunused-but-set-variable] 35 | int mi = -1, mj = -1; | ^~ Main.c:35:9: warning: variable ‘mi’ set but not used [-Wunused-but-set-variable] 35 | int mi = -1, mj = -1; | ^~ Main.c:12:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 12 | scanf("%d", &n); | ^~~~~~~~~~~~~~~ Main.c:16:17: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 16 | scanf("%d", &dice[i]); | ^~~~~~~~~~~~~~~~~~~~~ /usr/bin/ld: /tmp/ccljCRAt.o: in function `main': Main.c:(.text.startup+0x6c): undefined reference to `Max' collect2: error: ld returned 1 exit status
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.