실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In member function ‘void Queue::push(int)’: Main.cpp:16:9: error: expected ‘;’ before ‘}’ token 16 | } | ^ Main.cpp: In member function ‘int Queue::pop()’: Main.cpp:20:17: error: expected ‘;’ before ‘return’ 20 | return temp; | ^~~~~~ Main.cpp:18:21: warning: unused variable ‘temp’ [-Wunused-variable] 18 | int temp = data[rear]; | ^~~~ Main.cpp:21:9: warning: no return statement in function returning non-void [-Wreturn-type] 21 | } | ^
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.