Problem flipcards
User arnaque
Submission Time 2023-12-02 16:00:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

flipcards.cpp: In function ‘int32_t main()’:
flipcards.cpp:38:10: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::set<long long int>::iterator’ {aka ‘std::_Rb_tree_const_iterator<long long int>’})
38 | cout << cheat.end();
| ~~~~ ^~ ~~~~~~~~~~~
| | |
| | std::set<long long int>::iterator {aka std::_Rb_tree_const_iterator<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,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:54,
from flipcards.cpp:3:
/usr/include/c++/9/ostream:108:7: note: candidate: ‘std::basi