실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int dfs(Node*, int)’: Main.cpp:35:25: error: a function-definition is not allowed here before ‘{’ token 35 | int find_T(Node* start) { | ^ Main.cpp:50:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 50 | int main() { | ^~ Main.cpp:50:9: note: remove parentheses to default-initialize a variable 50 | int main() { | ^~ | -- Main.cpp:50:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:50:12: error: a function-definition is not allowed here before ‘{’ token 50 | int main() { | ^ Main.cpp:85:2: error: expected ‘}’ at end of input 85 | } | ^ Main.cpp:13:33: note: to match this ‘{’ 13 | int dfs(Node* start, int depth) { // find S, L, I | ^ Main.cpp:85:2: warning: control reaches end of non-void function [-Wreturn-type] 85 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.