运行 ID: 46967

Main.cc: In function ‘int main()’:
Main.cc:10:26: error: no match for ‘operator<’ (operand types are ‘std::basic_ostream’ and ‘’)
       cout< constexpr bool std::operator<(const std::pair<_T1, _T2>&, const std::pair<_T1, _T2>&)
     operator<(const pair<_T1, _T2>& __x, const pair<_T1, _T2>& __y)
     ^~~~~~~~
/usr/include/c++/7/bits/stl_pair.h:454:5: note:   template argument deduction/substitution failed:
Main.cc:10:27: note:   ‘std::basic_ostream’ is not derived from ‘const std::pair<_T1, _T2>’
       cout<