运行 ID: 78875

Main.cc: In function ‘int main()’:
Main.cc:23:20: error: no match for ‘operator<’ (operand types are ‘std::basic_ostream’ and ‘float’)
     cout<
Main.cc:23:20: note:   no known conversion for argument 1 from ‘std::basic_ostream’ 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:1004:5: note: candidate: template bool std::__cxx11::operator<(const std::__cxx11::sub_match<_BiIter>&, const std::__cxx11::sub_match<_BiIter>&)
     operator<(const sub_match<_BiIter>& __lhs, const sub_match<_BiIter>& __rhs)
     ^~~~~~~~
/usr/include/c++/7/bits/regex.h:1004:5: note:   template argument deduction/substitution failed:
Main.cc:23:24: note:   ‘std::basic_ostream’ is not derived from ‘const std::__cxx11::sub_match<_BiIter>’
     cout<