실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘void yo_my_sexy_yosepusi(int, int)’: Main.cpp:17:38: error: a function-definition is not allowed here before ‘{’ token 17 | void yo_my_sexy_yosepusi(int a,int b){ | ^ Main.cpp:35:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse] 35 | int main(){ | ^~ Main.cpp:35:9: note: remove parentheses to default-initialize a variable 35 | int main(){ | ^~ | -- Main.cpp:35:9: note: or replace parentheses with braces to value-initialize a variable Main.cpp:35:11: error: a function-definition is not allowed here before ‘{’ token 35 | int main(){ | ^ Main.cpp:42:2: error: expected ‘}’ at end of input 42 | } | ^ Main.cpp:10:22: note: to match this ‘{’ 10 | while(q.size()>2){ | ^ Main.cpp:42:2: error: expected ‘}’ at end of input 42 | } | ^ Main.cpp:5:38: note: to match this ‘{’ 5 | void yo_my_sexy_yosepusi(int a,int b){ | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.