실행 실패 (제출 코드 컴파일 에러)
{"stderr": "Main.cpp: In function \u2018int main()\u2019:\nMain.cpp:32:14: error: no match for \u2018operator<<\u2019 (operand types are \u2018std::ostream\u2019 {aka \u2018std::basic_ostream<char>\u2019} and \u2018std::deque<int>\u2019)\n 32 | cout << d << '\\n';\n | ~~~~ ^~ ~\n | | |\n | | std::deque<int>\n | std::ostream {aka std::basic_ostream<char>}\nIn file included from /usr/include/c++/11/iostream:39,\n from Main.cpp:1:\n/usr/include/c++/11/ostream:108:7: note: candidate: \u2018std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ostream_type& (*)(std::basic_ostream<_CharT, _Traits>::__ostream_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]\u2019\n 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))\n | ^~~~~~~~\n/usr/include/c++/11/ostream:108:36: note: no known conversion for argument 1 from \u2018std::deque<int>\u2019 to \u2018std::basic_ostream<char>::__ostream_type& (*)(std::basic_ostream<char>::__ostream_type&)\u2019 {aka \u2018std::basic_ostream<char>& (*)(std::basic_ostream<char>&)\u2019}\n 108 | operator<<(__ostream_type& (*__pf)(__ostream_type&))\n | ~~~~~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~~~\n/usr/include/c++/11/ostream:117:7: note: candidate: \u2018std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__ios_type& (*)(std::basic_ostream<_CharT, _Traits>::__ios_type&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios<char>]\u2019\n 117 | operator<<(__ios_type& (*__pf)(__ios_type&))\n | ^~~~~~~~\n/usr/include/c++/11/ostream:117:32: note: no known conversion for argument 1 from \u2018std::deque<int>\u2019 to \u2018std::basic_ostream<char>::__ios_type& (*)(std::basic_ostream<char>::__ios_type&)\u2019 {aka \u2018std::basic_ios<char>& (*)(std::basic_ios<char>&)\u2019}\n 117 | operator<<(__ios_type& (*__pf)(__ios_type&))\n | ~~~~~~~~~~~~~~^~~~~~~~~~~~~~~~~~\n/usr/include/c++/11/ostream:127:7: note: candidate: \u2018std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(std::ios_base& (*)(std::ios_base&)) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]\u2019\n 127 | operator<<(ios_base& (*__pf) (ios_base&))\n | ^~~~~~~~\n/usr/include/c++/11/ostream:127:30: note: no known conversion for argument 1 from \u2018std::deque<int>\u2019 to \u2018std::ios_base& (*)(std::ios_base&)\u2019\n 127 | operator<<(ios_base& (*__pf) (ios_base&))\n | ~~~~~~~~~~~~^~~~~~~~~~~~~~~~~\n/usr/include/c++/11/ostream:166:7: note: candidate: \u2018std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]\u2019\n 166 | operator<<(long __n)\n | ^~~~~~~~\n/usr/include/c++/11/ostream:166:23: note: no known conversion for argument 1 from \u2018std::deque<int>\u2019 to \u2018long int\u2019\n 166 | operator<<(long __n)\n | ~~~~~^~~\n/usr/include/c++/11/ostream:170:7: note: candidate: \u2018std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits<char>; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream<char>]\u20(...truncated, total 33770 characters)
정답 개수:
-
틀린 개수:
-
실행 실패 개수:
-
반례를 발견하지 못했습니다.