실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void find(int)’: Main.cpp:13:14: error: ‘depth’ was not declared in this scope 13 | find(i,depth); | ^~~~~ Main.cpp:17:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 17 | int main(){ | ^~ Main.cpp:17:9: note: remove parentheses to default-initialize a variable 17 | int main(){ | ^~ | -- Main.cpp:17:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:17:11: error: a function-definition is not allowed here before ‘{’ token 17 | int main(){ | ^ Main.cpp:42:2: error: expected ‘}’ at end of input 42 | } | ^ Main.cpp:10:20: note: to match this ‘{’ 10 | void find(int node){ | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.