실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void sp(int*, int*, int*, int*)’: Main.cpp:30:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 30 | int main() { | ^~ Main.cpp:30:9: note: remove parentheses to default-initialize a variable 30 | int main() { | ^~ | -- Main.cpp:30:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:30:12: error: a function-definition is not allowed here before ‘{’ token 30 | int main() { | ^ Main.cpp:50:2: error: expected ‘}’ at end of input 50 | } | ^ Main.cpp:17:41: note: to match this ‘{’ 17 | void sp(int *x1,int *y1,int *x2,int *y2){ | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.