실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘bool P(meet, meet)’: Main.cpp:20:26: error: a function-definition is not allowed here before ‘{’ token 20 | bool P(meet m1, meet m2) { | ^ Main.cpp:23:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 23 | int main() | ^~ Main.cpp:23:9: note: remove parentheses to default-initialize a variable 23 | int main() | ^~ | -- Main.cpp:23:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:24:1: error: a function-definition is not allowed here before ‘{’ token 24 | { | ^ Main.cpp:49:2: error: expected ‘}’ at end of input 49 | } | ^ Main.cpp:10:26: note: to match this ‘{’ 10 | bool P(meet m1, meet m2) { | ^ Main.cpp:49:2: warning: no return statement in function returning non-void [-Wreturn-type] 49 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.