input/code.cpp: In function 'int main()':
input/code.cpp:28:7: error: no match for 'operator<' (operand types are 'std::ostream {aka std::basic_ostream<char>}' and 'const char [12]')
cout<"IMPOSSIBLE\n";
~~~~^~~~~~~~~~~~~~~
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 input/code.cpp:1:
/usr/include/c++/7/bits/regex.h:1004:5: note: candidate: template<class _BiIter> 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:
input/code.cpp:28:8: note: 'std::ostream {aka std::basic_ostream<char>}' is not derived from 'const std::__cxx11::sub_match<_BiIter>'
cout<"IMPOSSIBLE\n";
^~~~~~~~~~~~~~
In file included from /usr/includ...