실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:17:24: error: ‘class std::queue<int>’ has no member named ‘top’; did you mean ‘pop’? 17 | Queue.push(Queue.top()); | ^~~ | pop Main.cpp:21:22: error: ‘class std::queue<int>’ has no member named ‘top’; did you mean ‘pop’? 21 | printf("%d", Queue.top()); | ^~~ | pop Main.cpp:11:8: warning: ignoring return value of ‘int scanf(const char*, ...)’ declared with attribute ‘warn_unused_result’ [-Wunused-result] 11 | scanf("%d", &N); | ~~~~~^~~~~~~~~~
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.