Run ID | 作者 | 问题 | 语言 | 测评结果 | Time | Memory | 代码长度 | 提交时间 |
---|---|---|---|---|---|---|---|---|
115346 | 张修睿 | 输出较大的数 | C++ | Compile Error | 0 MS | 0 KB | 172 | 2025-03-30 12:21:52 |
#include<bits/stdc++.h> using namespace std; int main() { int a, b, c; scanf("%d,%d",&a,&b); c = b; if (a > b); a = c; cout <<“max=”<< c; return 0; }
Main.cc:9:2: error: stray '\342' in program cout <<“max=”<< c; ^ Main.cc:9:2: error: stray '\200' in program Main.cc:9:2: error: stray '\234' in program Main.cc:9:2: error: stray '\342' in program Main.cc:9:2: error: stray '\200' in program Main.cc:9:2: error: stray '\235' in program Main.cc: In function 'int main()': Main.cc:9:7: error: no match for 'operator<<' (operand types are 'std::ostream {aka std::basic_ostream}' and '') cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/istream:39:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from Main.cc:1: /usr/include/c++/5/ostream:108:7: note: candidate: std::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; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(__ostream_type& (*__pf)(__ostream_type&)) ^ /usr/include/c++/5/ostream:108:7: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ostream_type& (*)(std::basic_ostream::__ostream_type&) {aka std::basic_ostream& (*)(std::basic_ostream&)}' /usr/include/c++/5/ostream:117:7: note: candidate: std::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; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream; std::basic_ostream<_CharT, _Traits>::__ios_type = std::basic_ios] operator<<(__ios_type& (*__pf)(__ios_type&)) ^ /usr/include/c++/5/ostream:117:7: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__ios_type& (*)(std::basic_ostream::__ios_type&) {aka std::basic_ios& (*)(std::basic_ios&)}' /usr/include/c++/5/ostream:127:7: note: candidate: std::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; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(ios_base& (*__pf) (ios_base&)) ^ /usr/include/c++/5/ostream:127:7: note: no known conversion for argument 1 from '' to 'std::ios_base& (*)(std::ios_base&)' /usr/include/c++/5/ostream:166:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(long __n) ^ /usr/include/c++/5/ostream:166:7: note: no known conversion for argument 1 from '' to 'long int' /usr/include/c++/5/ostream:170:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned long __n) ^ /usr/include/c++/5/ostream:170:7: note: no known conversion for argument 1 from '' to 'long unsigned int' /usr/include/c++/5/ostream:174:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(bool) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(bool __n) ^ /usr/include/c++/5/ostream:174:7: note: no known conversion for argument 1 from '' to 'bool' In file included from /usr/include/c++/5/ostream:638:0, from /usr/include/c++/5/istream:39, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from Main.cc:1: /usr/include/c++/5/bits/ostream.tcc:91:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(short int) [with _CharT = char; _Traits = std::char_traits] basic_ostream<_CharT, _Traits>:: ^ /usr/include/c++/5/bits/ostream.tcc:91:5: note: no known conversion for argument 1 from '' to 'short int' In file included from /usr/include/c++/5/istream:39:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from Main.cc:1: /usr/include/c++/5/ostream:181:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(short unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned short __n) ^ /usr/include/c++/5/ostream:181:7: note: no known conversion for argument 1 from '' to 'short unsigned int' In file included from /usr/include/c++/5/ostream:638:0, from /usr/include/c++/5/istream:39, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from Main.cc:1: /usr/include/c++/5/bits/ostream.tcc:105:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(int) [with _CharT = char; _Traits = std::char_traits] basic_ostream<_CharT, _Traits>:: ^ /usr/include/c++/5/bits/ostream.tcc:105:5: note: no known conversion for argument 1 from '' to 'int' In file included from /usr/include/c++/5/istream:39:0, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from Main.cc:1: /usr/include/c++/5/ostream:192:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned int __n) ^ /usr/include/c++/5/ostream:192:7: note: no known conversion for argument 1 from '' to 'unsigned int' /usr/include/c++/5/ostream:201:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(long long __n) ^ /usr/include/c++/5/ostream:201:7: note: no known conversion for argument 1 from '' to 'long long int' /usr/include/c++/5/ostream:205:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long long unsigned int) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(unsigned long long __n) ^ /usr/include/c++/5/ostream:205:7: note: no known conversion for argument 1 from '' to 'long long unsigned int' /usr/include/c++/5/ostream:220:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(double __f) ^ /usr/include/c++/5/ostream:220:7: note: no known conversion for argument 1 from '' to 'double' /usr/include/c++/5/ostream:224:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(float) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(float __f) ^ /usr/include/c++/5/ostream:224:7: note: no known conversion for argument 1 from '' to 'float' /usr/include/c++/5/ostream:232:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(long double) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(long double __f) ^ /usr/include/c++/5/ostream:232:7: note: no known conversion for argument 1 from '' to 'long double' /usr/include/c++/5/ostream:245:7: note: candidate: std::basic_ostream<_CharT, _Traits>::__ostream_type& std::basic_ostream<_CharT, _Traits>::operator<<(const void*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__ostream_type = std::basic_ostream] operator<<(const void* __p) ^ /usr/include/c++/5/ostream:245:7: note: no known conversion for argument 1 from '' to 'const void*' In file included from /usr/include/c++/5/ostream:638:0, from /usr/include/c++/5/istream:39, from /usr/include/c++/5/sstream:38, from /usr/include/c++/5/complex:45, from /usr/include/c++/5/ccomplex:38, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:52, from Main.cc:1: /usr/include/c++/5/bits/ostream.tcc:119:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::basic_ostream<_CharT, _Traits>::operator<<(std::basic_ostream<_CharT, _Traits>::__streambuf_type*) [with _CharT = char; _Traits = std::char_traits; std::basic_ostream<_CharT, _Traits>::__streambuf_type = std::basic_streambuf] basic_ostream<_CharT, _Traits>:: ^ /usr/include/c++/5/bits/ostream.tcc:119:5: note: no known conversion for argument 1 from '' to 'std::basic_ostream::__streambuf_type* {aka std::basic_streambuf*}' In file included from /usr/include/c++/5/regex:61:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/5/bits/regex.h:1480:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::__cxx11::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__cxx11::sub_match<_Bi_iter>&) operator<<(basic_ostream<_Ch_type, _Ch_traits>& __os, ^ /usr/include/c++/5/bits/regex.h:1480:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_Bi_iter' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/future:40:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:103, from Main.cc:1: /usr/include/c++/5/thread:243:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::thread::id) operator<<(basic_ostream<_CharT, _Traits>& __out, thread::id __id) ^ /usr/include/c++/5/thread:243:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: cannot convert 'std::max' (type '') to type 'std::thread::id' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94:0, from Main.cc:1: /usr/include/c++/5/valarray:1175:1: note: candidate: std::_Expr, typename std::__fun::result_type> std::operator<<(const _Tp&, const std::valarray<_Tp>&) [with _Tp = std::basic_ostream; typename std::__fun::result_type = std::basic_ostream] _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/valarray:1175:1: note: no known conversion for argument 2 from '' to 'const std::valarray >&' /usr/include/c++/5/valarray:1175:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const std::valarray<_Tp>&, const _Tp&) _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/valarray:1175:1: note: template argument deduction/substitution failed: Main.cc:9:12: note: 'std::ostream {aka std::basic_ostream}' is not derived from 'const std::valarray<_Tp>' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94:0, from Main.cc:1: /usr/include/c++/5/valarray:1175:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const std::valarray<_Tp>&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/valarray:1175:1: note: template argument deduction/substitution failed: Main.cc:9:12: note: 'std::ostream {aka std::basic_ostream}' is not derived from 'const std::valarray<_Tp>' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from Main.cc:1: /usr/include/c++/5/bits/valarray_after.h:410:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const std::valarray&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_Dom' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from Main.cc:1: /usr/include/c++/5/bits/valarray_after.h:410:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::valarray&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: 'std::ostream {aka std::basic_ostream}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from Main.cc:1: /usr/include/c++/5/bits/valarray_after.h:410:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const typename _Dom::value_type&, const std::_Expr<_Dom1, typename _Dom1::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_Dom' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from Main.cc:1: /usr/include/c++/5/bits/valarray_after.h:410:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const typename _Dom::value_type&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: 'std::ostream {aka std::basic_ostream}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/valarray:587:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:94, from Main.cc:1: /usr/include/c++/5/bits/valarray_after.h:410:5: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const std::_Expr<_Dom1, typename _Dom1::value_type>&, const std::_Expr<_Dom2, typename _Dom2::value_type>&) _DEFINE_EXPR_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/5/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: 'std::ostream {aka std::basic_ostream}' is not derived from 'const std::_Expr<_Dom1, typename _Dom1::value_type>' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/memory:82:0, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:81, from Main.cc:1: /usr/include/c++/5/bits/shared_ptr.h:66:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::__shared_ptr<_Tp, _Lp>&) operator<<(std::basic_ostream<_Ch, _Tr>& __os, ^ /usr/include/c++/5/bits/shared_ptr.h:66:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_Tp' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from Main.cc:1: /usr/include/c++/5/iomanip:363:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>) [with _CharT = char; _Traits = std::char_traits] operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) ^ /usr/include/c++/5/iomanip:363:5: note: no known conversion for argument 2 from '' to 'std::_Put_time' /usr/include/c++/5/iomanip:311:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_money<_MoneyT>) operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_money<_MoneyT> __f) ^ /usr/include/c++/5/iomanip:311:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_MoneyT' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from Main.cc:1: /usr/include/c++/5/iomanip:238:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setw) operator<<(basic_ostream<_CharT, _Traits>& __os, _Setw __f) ^ /usr/include/c++/5/iomanip:238:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: cannot convert 'std::max' (type '') to type 'std::_Setw' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from Main.cc:1: /usr/include/c++/5/iomanip:208:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setprecision) operator<<(basic_ostream<_CharT, _Traits>& __os, _Setprecision __f) ^ /usr/include/c++/5/iomanip:208:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: cannot convert 'std::max' (type '') to type 'std::_Setprecision' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from Main.cc:1: /usr/include/c++/5/iomanip:178:5: note: candidate: std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setfill<_CharT>) [with _CharT = char; _Traits = std::char_traits] operator<<(basic_ostream<_CharT, _Traits>& __os, _Setfill<_CharT> __f) ^ /usr/include/c++/5/iomanip:178:5: note: no known conversion for argument 2 from '' to 'std::_Setfill' /usr/include/c++/5/iomanip:143:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setbase) operator<<(basic_ostream<_CharT, _Traits>& __os, _Setbase __f) ^ /usr/include/c++/5/iomanip:143:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: cannot convert 'std::max' (type '') to type 'std::_Setbase' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from Main.cc:1: /usr/include/c++/5/iomanip:109:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Setiosflags) operator<<(basic_ostream<_CharT, _Traits>& __os, _Setiosflags __f) ^ /usr/include/c++/5/iomanip:109:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: cannot convert 'std::max' (type '') to type 'std::_Setiosflags' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:71:0, from Main.cc:1: /usr/include/c++/5/iomanip:79:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Resetiosflags) operator<<(basic_ostream<_CharT, _Traits>& __os, _Resetiosflags __f) ^ /usr/include/c++/5/iomanip:79:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: cannot convert 'std::max' (type '') to type 'std::_Resetiosflags' cout <<“max=”<< c; ^ In file included from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:65:0, from Main.cc:1: /usr/include/c++/5/bitset:1530:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bitset<_Nb>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bitset:1530:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_Nb' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:3160:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::piecewise_linear_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:3160:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2944:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::piecewise_constant_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2944:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2734:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::discrete_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2734:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_IntType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2275:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::student_t_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2275:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2200:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::fisher_f_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2200:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2036:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::chi_squared_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2036:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:1963:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::lognormal_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:1963:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:1667:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::binomial_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:1667:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_IntType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:1400:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::poisson_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:1400:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_IntType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:1195:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::negative_binomial_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:1195:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_IntType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:831:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::shuffle_order_engine<_RandomNumberEngine, __k>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:831:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RandomNumberEngine' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:702:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::discard_block_engine<_RandomNumberEngine, __p, __r>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:702:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RandomNumberEngine' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:632:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::subtract_with_carry_engine<_UIntType, __w, __s, __r>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:632:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_UIntType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:156:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::linear_congruential_engine<_UIntType, __a, __c, __m>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:156:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_UIntType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2598:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::extreme_value_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2598:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2522:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::weibull_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2522:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:1731:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::exponential_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:1731:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66, from /usr/include/c++/5/algorithm:62, from /usr/include/x86_64-linux-gnu/c++/5/bits/stdc++.h:64, from Main.cc:1: /usr/include/c++/5/bits/random.tcc:2444:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::gamma_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^ /usr/include/c++/5/bits/random.tcc:2444:5: note: template argument deduction/substitution failed: Main.cc:9:12: note: couldn't deduce template parameter '_RealType1' cout <<“max=”<< c; ^ In file included from /usr/include/c++/5/random:51:0, from /usr/include/c++/5/bits/stl_algo.h:66,