실행 실패 (제출 코드 컴파일 에러)
Main.cpp: In function ‘int main()’: Main.cpp:23:22: error: no matching function for call to ‘std::stack<int>::pop(__gnu_cxx::__alloc_traits<std::allocator<int>, int>::value_type&)’ 23 | s.pop(s.top()); | ~~~~~^~~~~~~~~ In file included from /usr/include/c++/11/stack:61, from Main.cpp:6: /usr/include/c++/11/bits/stl_stack.h:272:7: note: candidate: ‘void std::stack<_Tp, _Sequence>::pop() [with _Tp = int; _Sequence = std::deque<int, std::allocator<int> >]’ 272 | pop() | ^~~ /usr/include/c++/11/bits/stl_stack.h:272:7: note: candidate expects 0 arguments, 1 provided
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
비공개 코드입니다. 코드 작성자만 볼 수 있습니다.
반례를 발견하지 못했습니다.