실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:17:31: warning: comparison of integer expressions of different signedness: ‘int’ and ‘std::queue<int>::size_type’ {aka ‘long unsigned int’} [-Wsign-compare] 17 | for (int j = q.front(); j < q.size(); j++) { | ~~^~~~~~~~~~ Main.cpp:21:11: error: no matching function for call to ‘std::queue<int>::swap()’ 21 | q.swap() | ~~~~~~^~ In file included from /usr/include/c++/11/queue:64, from Main.cpp:2: /usr/include/c++/11/bits/stl_queue.h:306:7: note: candidate: ‘void std::queue<_Tp, _Sequence>::swap(std::queue<_Tp, _Sequence>&) [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]’ 306 | swap(queue& __q) | ^~~~ /usr/include/c++/11/bits/stl_queue.h:306:7: note: candidate expects 1 argument, 0 provided
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.