Main.cc: In function ‘int main()’: Main.cc:5:9: error: no match for ‘operator<<’ (operand types are ‘std::istream {aka std::basic_istream}’ and ‘int’) cin << m << n; ~~~~^~~~ Main.cc:5:9: note: candidate: operator<<(int, int) Main.cc:5:9: note: no known conversion for argument 1 from ‘std::istream {aka std::basic_istream}’ to ‘int’ In file included from /usr/include/c++/7/regex:62:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:110, from Main.cc:1: /usr/include/c++/7/bits/regex.h:1525: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++/7/bits/regex.h:1525:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:3160:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2944:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2734:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2275:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2200:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2036:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:1963:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:1667:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:1400:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:1195:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:831:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:702:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:632:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:156:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2598:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2522:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:1731:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/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++/7/bits/random.tcc:2444:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:1080:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::geometric_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1080:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:1898:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::normal_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:1898:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:998:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::bernoulli_distribution&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:998:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:2123:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::cauchy_distribution<_RealType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:2123:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:936:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_real_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:936:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:877:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::uniform_int_distribution<_IntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:877:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:51:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.tcc:477:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::mersenne_twister_engine<_UIntType, __w, __n, __m, __r, __a, __u, __d, __s, __b, __t, __c, __l, __f>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.tcc:477:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/random:49:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:108, from Main.cc:1: /usr/include/c++/7/bits/random.h:1269:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, const std::independent_bits_engine<_RandomNumberEngine, __w, _UIntType>&) operator<<(std::basic_ostream<_CharT, _Traits>& __os, ^~~~~~~~ /usr/include/c++/7/bits/random.h:1269:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/c++/7/future:39:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:105, from Main.cc:1: /usr/include/c++/7/thread:313: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++/7/thread:313:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95:0, from Main.cc:1: /usr/include/c++/7/valarray:1180:1: note: candidate: template std::_Expr, typename std::__fun::result_type> std::operator<<(const _Tp&, const std::valarray<_Tp>&) _DEFINE_BINARY_OPERATOR(<<, __shift_left) ^ /usr/include/c++/7/valarray:1180:1: note: template argument deduction/substitution failed: Main.cc:5:12: note: mismatched types ‘const std::valarray<_Tp>’ and ‘int’ cin << m << n; ^ In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95:0, from Main.cc:1: /usr/include/c++/7/valarray:1180: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++/7/valarray:1180:1: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘const std::valarray<_Tp>’ cin << m << n; ^ In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95:0, from Main.cc:1: /usr/include/c++/7/valarray:1180: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++/7/valarray:1180:1: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘const std::valarray<_Tp>’ cin << m << n; ^ In file included from /usr/include/c++/7/valarray:592:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95, from Main.cc:1: /usr/include/c++/7/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++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘int’ cin << m << n; ^ In file included from /usr/include/c++/7/valarray:592:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95, from Main.cc:1: /usr/include/c++/7/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++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cin << m << n; ^ In file included from /usr/include/c++/7/valarray:592:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95, from Main.cc:1: /usr/include/c++/7/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++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: mismatched types ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ and ‘int’ cin << m << n; ^ In file included from /usr/include/c++/7/valarray:592:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95, from Main.cc:1: /usr/include/c++/7/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++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cin << m << n; ^ In file included from /usr/include/c++/7/valarray:592:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:95, from Main.cc:1: /usr/include/c++/7/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++/7/bits/valarray_after.h:410:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘const std::_Expr<_Dom1, typename _Dom1::value_type>’ cin << m << n; ^ In file included from /usr/include/c++/7/memory:81:0, from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:82, from Main.cc:1: /usr/include/c++/7/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++/7/bits/shared_ptr.h:66:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’ cin << m << n; ^ In file included from /usr/include/x86_64-linux-gnu/c++/7/bits/stdc++.h:72:0, from Main.cc:1: /usr/include/c++/7/iomanip:363:5: note: candidate: template std::basic_ostream<_CharT, _Traits>& std::operator<<(std::basic_ostream<_CharT, _Traits>&, std::_Put_time<_CharT>) operator<<(basic_ostream<_CharT, _Traits>& __os, _Put_time<_CharT> __f) ^~~~~~~~ /usr/include/c++/7/iomanip:363:5: note: template argument deduction/substitution failed: Main.cc:5:12: note: ‘std::istream {aka std::basic_istream}’ is not derived from ‘std::basic_ostream<_CharT, _Traits>’