Problem colour
User RandomPerson
Submission Time 2023-03-05 22:50:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

colour.cpp: In function ‘int32_t main()’:
colour.cpp:25:18: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::set<std::pair<long long int, long long int> >::iterator’ {aka ‘std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >’})
25 | cout<<fl==s1.end()<<" "<<fr==s1.end();
| ~~~~^~~~
| | |
| | std::set<std::pair<long long int, long long int> >::iterator {aka std::_Rb_tree_const_iterator<std::pair<long long int, long long int> >}
| std::ostream {aka std::basic_ostream<char>}
In file included from /usr/include/c++/9/istream:39,
from /usr/include/c++/9/sstream:38,
from /usr/include/c++/9/complex:45,
from /usr/include/c++/9/ccomplex:39,