실행 실패 (제출 코드 컴파일 에러)
Main.c:7:5: warning: built-in function ‘log’ declared as non-function [-Wbuiltin-declaration-mismatch] 7 | int log[max]; | ^~~ Main.c: In function ‘bfs’: Main.c:60:32: warning: ‘return’ with a value, in function returning void [-Wreturn-type] 60 | if (count == 0) return 0; | ^ Main.c:28:6: note: declared here 28 | void bfs(int n, int l, int r){ | ^~~ Main.c:67:16: warning: ‘return’ with a value, in function returning void [-Wreturn-type] 67 | return 1; | ^ Main.c:28:6: note: declared here 28 | void bfs(int n, int l, int r){ | ^~~ Main.c: In function ‘main’: Main.c:85:45: warning: statement with no effect [-Wunused-value] 85 | visit[i][j] == 0; | ~~~~~~~~~~~~^~~~ Main.c:92:45: error: too few arguments to function ‘bfs’ 92 | if (bfs(i, j)) { | ^~~ Main.c:28:6: note: declared here 28 | void bfs(int n, int l, int r){ | ^~~ Main.c:102:18: warning: format ‘%d’ expects argument of type ‘int’, but argument 2 has type ‘int *’ [-Wformat=] 102 | printf("%d", &day); | ~^ ~~~~ | | | | int int * | %ls Main.c:71:22: warning: unused variable ‘count’ [-Wunused-variable] 71 | int n, l, r, count; //L: upper, R: lower | ^~~~~ Main.c:73:9: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 73 | scanf("%d%d%d", &n, &l, &r); | ^~~~~~~~~~~~~~~~~~~~~~~~~~~ Main.c:76:25: warning: ignoring return value of ‘scanf’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 76 | scanf("%d", &map[i][j]); | ^~~~~~~~~~~~~~~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.