• 个人简介

    This person is lazy and didn't join any contests or homework^_^.

    • Waiting 评测:评测请求正在等待被评测机抓取
    • Fetched 评测:评测请求已被评测机抓取,正在准备开始评测
    • Compiling 评测:正在编译中
    • Judging 评测:编译成功,正在评测中
    • Accepted 通过:程序输出完全正确
    • Wrong Answer 不通过:程序输出与标准答案不一致(不包括行末空格以及文件末空行)
    • Time Limit Exceeded 不通过:程序运行时间超过了题目限制
    • Memory Limit Exceeded 不通过:程序运行内存空间超过了题目限制
    • Runtime Error 不通过:程序运行时错误(如数组越界、被零除、运算溢出、栈溢出、无效指针等)
    • Compile Error 不通过:编译失败
    • System Error 错误:系统错误(如果您遇到此问题,请及时在讨论区进行反馈)
    • Canceled 其他:评测被取消
    • Unknown Error 其他:未知错误
    • Ignored 其他:被忽略

    有“成绩取消”字样则说明管理员手动标记此记录为取消,可能违反了服务条款,比如代码被发现与其他用户的代码十分相似。

    //         佛像
    // 跪拜的人 跪拜的人 跪拜的人
    //跪拜的人跪拜的人跪拜的人跪拜的人 
    //跪拜的人跪拜的人跪拜的人跪拜的人跪拜的人
    //供品 供品 供品 供品 供品 供品 供品 供品
    //供品供品供品供品供品供品供品供品供品供品
    //佛祖保佑,不要报错 佛祖保佑,不要报错
    

    TLD(头文件列表大全)

    #include <stdio.h>

    #include <conio.h>

    #include <windows.h>

    #include <time.h>

    #define Height 31

    #define Width 25

    #define Wall 1

    #define Road 0

    #define Start 2

    #define End 3

    #define Esc 5

    #define Up 1

    #define Down 2

    #define Left 3

    #define Right 4 Gravatar

    总有一天,我要撕碎这片虚伪的星空。

    小作文⬇

    foo.cc: In function 'int main()': foo.cc:18:21: error: no match for 'operator<<' (operand types are 'std::istream' {aka 'std::basic_istream'} and 'std::string' {aka 'std::__cxx11::basic_string'}) 18 | cin << a[i].e << " " << a[i].s << endl; | ~~~ ^~ ~~~~~~ | | | | | std::string {aka std::__cxx11::basic_string} | std::istream {aka std::basic_istream} In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/regex:68, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:181, from foo.cc:1: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/regex.h:1715:5: note: candidate: 'template<class _Ch_type, class _Ch_traits, class _Bi_iter> std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const sub_match<_Bi_iter>&)' 1715 | operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/regex.h:1715:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/string:54, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bitset:52, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:52: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/basic_string.h:4032:5: note: candidate: 'template<class _CharT, class _Traits, class _Alloc> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __cxx11::basic_string<_CharT, _Traits, _Alloc>&)' 4032 | operator<<(basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/basic_string.h:4032:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bitset:1683:5: note: candidate: 'template<class _CharT, class _Traits, long unsigned int _Nb> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bitset<_Nb>&)' 1683 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bitset:1683:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/ios_base.h:46, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/streambuf:43, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/streambuf_iterator.h:35, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iterator:66, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:54: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/system_error:339:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const error_code&)' 339 | operator<<(basic_ostream<_CharT, _Traits>& __os, const error_code& __e) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/system_error:339:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/memory:80, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:56: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/shared_ptr.h:70:5: note: candidate: 'template<class _Ch, class _Tr, class _Tp, __gnu_cxx::_Lock_policy _Lp> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const __shared_ptr<_Tp, _Lp>&)' 70 | operator<<(std::basic_ostream<_Ch, _Tr>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/shared_ptr.h:70:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/istream:41, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/sstream:40, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/complex:45, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ccomplex:39, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:127: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:554:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _CharT)' 554 | operator<<(basic_ostream<_CharT, _Traits>& __out, _CharT __c) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:554:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:564:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, char)' 564 | operator<<(basic_ostream<_CharT, _Traits>& __out, char __c) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:564:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:570:5: note: candidate: 'template std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, char)' 570 | operator<<(basic_ostream<char, _Traits>& __out, char __c) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:570:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<char, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:581:5: note: candidate: 'template std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, signed char)' 581 | operator<<(basic_ostream<char, _Traits>& __out, signed char __c) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:581:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<char, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:586:5: note: candidate: 'template std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, unsigned char)' 586 | operator<<(basic_ostream<char, _Traits>& __out, unsigned char __c) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:586:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<char, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:645:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const _CharT*)' 645 | operator<<(basic_ostream<_CharT, _Traits>& __out, const _CharT* __s) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:645:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:880: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/ostream.tcc:307:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const char*)' 307 | operator<<(basic_ostream<_CharT, _Traits>& __out, const char* __s) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/ostream.tcc:307:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:662:5: note: candidate: 'template std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const char*)' 662 | operator<<(basic_ostream<char, _Traits>& __out, const char* __s) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:662:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<char, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:675:5: note: candidate: 'template std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const signed char*)' 675 | operator<<(basic_ostream<char, _Traits>& __out, const signed char* __s) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:675:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<char, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:680:5: note: candidate: 'template std::basic_ostream<char, _Traits>& std::operator<<(basic_ostream<char, _Traits>&, const unsigned char*)' 680 | operator<<(basic_ostream<char, _Traits>& __out, const unsigned char* __s) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:680:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<char, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:801:5: note: candidate: 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&)' 801 | operator<<(_Ostream&& __os, const _Tp& __x) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:801:5: note: template argument deduction/substitution failed: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream: In substitution of 'template<class _Ostream, class _Tp> _Ostream&& std::operator<<(_Ostream&&, const _Tp&) [with _Ostream = std::basic_istream&; _Tp = std::__cxx11::basic_string]': foo.cc:18:15: required from here /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/ostream:801:5: error: no type named 'type' in 'struct std::enable_if<false, void>' /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/complex:558:5: note: candidate: 'template<class _Tp, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const complex<_Tp>&)' 558 | operator<<(basic_ostream<_CharT, _Traits>& __os, const complex<_Tp>& __x) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/complex:558:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:143: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:81:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Resetiosflags)' 81 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:81:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:111:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setiosflags)' 111 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:111:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:145:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setbase)' 145 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:145:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:180:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setfill<_CharT>)' 180 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:180:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:210:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setprecision)' 210 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:210:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:240:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Setw)' 240 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:240:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:313:5: note: candidate: 'template<class _CharT, class _Traits, class _MoneyT> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_money<_MoneyT>)' 313 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:313:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:365:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, _Put_time<_CharT>)' 365 | operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/iomanip:365:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:605, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:166: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: candidate: 'template<class _Dom1, class _Dom2> std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Expr, _Dom1, _Dom2>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const _Expr<_Dom2, typename _Dom2::value_type>&)' 413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_Constant, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&)' 413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const typename _Dom::value_type&, const _Expr<_Dom1, typename _Dom1::value_type>&)' 413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::string' {aka 'std::__cxx11::basic_string'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Expr, std::_ValArray, _Dom, typename _Dom::value_type>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const _Expr<_Dom1, typename _Dom1::value_type>&, const valarray&)' 413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Expr, typename _Dom::value_type, _Dom>, typename std::__fun<std::__shift_left, typename _Dom1::value_type>::result_type> std::operator<<(const valarray&, const _Expr<_Dom1, typename _Dom1::value_type>&)' 413 | _DEFINE_EXPR_BINARY_OPERATOR(<<, struct std::__shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/valarray_after.h:413:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::string' {aka 'std::__cxx11::basic_string'} is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:1204:1: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const valarray<_Tp>&)' 1204 | _DEFINE_BINARY_OPERATOR(<<, __shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:1204:1: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'const std::valarray<_Tp>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:1204:1: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_ValArray, std::_Constant, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const valarray<_Tp>&, const typename valarray<_Tp>::value_type&)' 1204 | _DEFINE_BINARY_OPERATOR(<<, __shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:1204:1: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'const std::valarray<_Tp>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:1204:1: note: candidate: 'template std::_Expr<std::__detail::_BinClos<std::__shift_left, std::_Constant, std::_ValArray, _Tp, _Tp>, typename std::__fun<std::__shift_left, _Tp>::result_type> std::operator<<(const typename valarray<_Tp>::value_type&, const valarray<_Tp>&)' 1204 | _DEFINE_BINARY_OPERATOR(<<, __shift_left) | ^~~~~~~~~~~~~~~~~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/valarray:1204:1: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::string' {aka 'std::__cxx11::basic_string'} is not derived from 'const std::valarray<_Tp>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/random:51, from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:179: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.h:1341:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __w, class _UIntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&)' 1341 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.h:1341:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/random:53: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:910:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_int_distribution<_IntType>&)' 910 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:910:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:968:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const uniform_real_distribution<_IntType>&)' 968 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:968:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2145:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const cauchy_distribution<_RealType>&)' 2145 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2145:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1029:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const bernoulli_distribution&)' 1029 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1029:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1110:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const geometric_distribution<_IntType>&)' 1110 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1110:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1762:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const exponential_distribution<_RealType>&)' 1762 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1762:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2539:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const weibull_distribution<_RealType>&)' 2539 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2539:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2613:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const extreme_value_distribution<_RealType>&)' 2613 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2613:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:156:5: note: candidate: 'template<class _UIntType, _UIntType __a, _UIntType __c, _UIntType __m, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const linear_congruential_engine<_UIntType, __a, __c, __m>&)' 156 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:156:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:477:5: note: candidate: 'template<class _UIntType1, long unsigned int __w1, long unsigned int __n1, long unsigned int __m1, long unsigned int __r1, _UIntType1 __a1, long unsigned int __u1, _UIntType1 __d1, long unsigned int __s1, _UIntType1 __b1, long unsigned int __t1, _UIntType1 __c1, long unsigned int __l1, _UIntType1 __f1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&)' 477 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:477:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:635:5: note: candidate: 'template<class _UIntType, long unsigned int __w, long unsigned int __s, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const subtract_with_carry_engine<_UIntType, __w, __s, __r>&)' 635 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:635:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:704:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __p, long unsigned int __r, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discard_block_engine<_RandomNumberEngine, __p, __r>&)' 704 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:704:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:866:5: note: candidate: 'template<class _RandomNumberEngine, long unsigned int __k, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const shuffle_order_engine<_RandomNumberEngine, __k>&)' 866 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:866:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1224:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const negative_binomial_distribution<_IntType>&)' 1224 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1224:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1434:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const poisson_distribution<_IntType>&)' 1434 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1434:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1700:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const binomial_distribution<_IntType>&)' 1700 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1700:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1920:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const normal_distribution<_RealType>&)' 1920 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1920:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1987:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const lognormal_distribution<_RealType>&)' 1987 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:1987:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2059:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const chi_squared_distribution<_RealType>&)' 2059 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2059:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2220:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const fisher_f_distribution<_RealType>&)' 2220 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2220:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2294:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const student_t_distribution<_RealType>&)' 2294 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2294:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2463:5: note: candidate: 'template<class _RealType1, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const gamma_distribution<_RealType>&)' 2463 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2463:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2749:5: note: candidate: 'template<class _IntType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const discrete_distribution<_IntType>&)' 2749 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2749:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2971:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_constant_distribution<_RealType>&)' 2971 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:2971:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:3177:5: note: candidate: 'template<class _RealType, class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, const piecewise_linear_distribution<_RealType>&)' 3177 | operator<<(std::basic_ostream<_CharT, _Traits>& __os, | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/bits/random.tcc:3177:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^ In file included from /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/x86_64-unknown-linux-gnu/bits/stdc++.h:184: /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/thread:97:5: note: candidate: 'template<class _CharT, class _Traits> std::basic_ostream<_CharT, _Traits>& std::operator<<(basic_ostream<_CharT, _Traits>&, thread::id)' 97 | operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id) | ^~~~~~~~ /nix/store/wl7xs26116sswgw18pnc3yw9r5gxr6hx-gcc-13.3.0/include/c++/13.3.0/thread:97:5: note: template argument deduction/substitution failed: foo.cc:18:29: note: 'std::istream' {aka 'std::basic_istream'} is not derived from 'std::basic_ostream<_CharT, _Traits>' 18 | cin << a[i].e << " " << a[i].s << endl; | ^

  • 通过的题目

  • 最近活动

题目标签

GESP一级
5
202303
2
样题
2
202306
1
循环嵌套
1
略有小成
1
二维数组
1
初窥门径
1