실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:27:17: error: a function-definition is not allowed here before ‘{’ token 27 | int jegob(int v){ | ^ Main.cpp:34:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 34 | int main(){ | ^~ Main.cpp:34:9: note: remove parentheses to default-initialize a variable 34 | int main(){ | ^~ | -- Main.cpp:34:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:34:11: error: a function-definition is not allowed here before ‘{’ token 34 | int main(){ | ^ Main.cpp:71:2: error: expected ‘}’ at end of input 71 | } | ^ Main.cpp:22:33: note: to match this ‘{’ 22 | for(int i=0;i<jegob(l1);i++){ | ^ Main.cpp:23:13: warning: unused variable ‘ans’ [-Wunused-variable] 23 | int ans=0; | ^~~ Main.cpp:24:13: warning: unused variable ‘value’ [-Wunused-variable] 24 | int value=i; | ^~~~~ Main.cpp:71:2: error: expected ‘}’ at end of input 71 | } | ^ Main.cpp:10:11: note: to match this ‘{’ 10 | int main(){ | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.