실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void solution(int)’: Main.cpp:18:24: error: a function-definition is not allowed here before ‘{’ token 18 | void solution(int test){ | ^ Main.cpp:48:39: error: a function-definition is not allowed here before ‘{’ token 48 | void print(int cnt, long long int sum){ | ^ Main.cpp:68:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 68 | int main() { | ^~ Main.cpp:68:9: note: remove parentheses to default-initialize a variable 68 | int main() { | ^~ | -- Main.cpp:68:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:68:12: error: a function-definition is not allowed here before ‘{’ token 68 | int main() { | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.