실행 실패 (제출 코드 컴파일 에러)
{"stderr": "Main.cpp: In function \u2018int main()\u2019:\nMain.cpp:9:20: error: class template argument deduction failed:\n 9 | std::deque dq;\n | ^~\nMain.cpp:9:20: error: no matching function for call to \u2018deque()\u2019\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:982:9: note: candidate: \u2018template<class _Tp, class _Alloc, class _InputIterator, class> deque(_InputIterator, _InputIterator, const _Alloc&)-> std::deque<_Tp, _Alloc>\u2019\n 982 | deque(_InputIterator __first, _InputIterator __last,\n | ^~~~~\n/usr/include/c++/11/bits/stl_deque.h:982:9: note: template argument deduction/substitution failed:\nMain.cpp:9:20: note: candidate expects 3 arguments, 0 provided\n 9 | std::deque dq;\n | ^~\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:955:7: note: candidate: \u2018template<class _Tp, class _Alloc> deque(std::initializer_list<_Tp>, const _Alloc&)-> std::deque<_Tp, _Alloc>\u2019\n 955 | deque(initializer_list<value_type> __l,\n | ^~~~~\n/usr/include/c++/11/bits/stl_deque.h:955:7: note: template argument deduction/substitution failed:\nMain.cpp:9:20: note: candidate expects 2 arguments, 0 provided\n 9 | std::deque dq;\n | ^~\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:931:7: note: candidate: \u2018template<class _Tp, class _Alloc> deque(std::deque<_Tp, _Alloc>&&, const _Alloc&, std::false_type)-> std::deque<_Tp, _Alloc>\u2019\n 931 | deque(deque&& __x, const allocator_type& __a, false_type)\n | ^~~~~\n/usr/include/c++/11/bits/stl_deque.h:931:7: note: template argument deduction/substitution failed:\nMain.cpp:9:20: note: candidate expects 3 arguments, 0 provided\n 9 | std::deque dq;\n | ^~\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:927:7: note: candidate: \u2018template<class _Tp, class _Alloc> deque(std::deque<_Tp, _Alloc>&&, const _Alloc&, std::true_type)-> std::deque<_Tp, _Alloc>\u2019\n 927 | deque(deque&& __x, const allocator_type& __a, true_type)\n | ^~~~~\n/usr/include/c++/11/bits/stl_deque.h:927:7: note: template argument deduction/substitution failed:\nMain.cpp:9:20: note: candidate expects 3 arguments, 0 provided\n 9 | std::deque dq;\n | ^~\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:922:7: note: candidate: \u2018template<class _Tp, class _Alloc> deque(std::deque<_Tp, _Alloc>&&, const _Alloc&)-> std::deque<_Tp, _Alloc>\u2019\n 922 | deque(deque&& __x, const allocator_type& __a)\n | ^~~~~\n/usr/include/c++/11/bits/stl_deque.h:922:7: note: template argument deduction/substitution failed:\nMain.cpp:9:20: note: candidate expects 2 arguments, 0 provided\n 9 | std::deque dq;\n | ^~\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:915:7: note: candidate: \u2018template<class _Tp, class _Alloc> deque(const std::deque<_Tp, _Alloc>&, const _Alloc&)-> std::deque<_Tp, _Alloc>\u2019\n 915 | deque(const deque& __x, const allocator_type& __a)\n | ^~~~~\n/usr/include/c++/11/bits/stl_deque.h:915:7: note: template argument deduction/substitution failed:\nMain.cpp:9:20: note: candidate expects 2 arguments, 0 provided\n 9 | std::deque dq;\n | ^~\nIn file included from /usr/include/c++/11/deque:67,\n from Main.cpp:2:\n/usr/include/c++/11/bits/stl_deque.h:912:7: n(...truncated, total 10781 characters, 1 lines)
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.