Problem | routine |
---|---|
User | Dolphy |
Submission Time | 2023-11-23 16:45:23 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
routine.cpp: In function ‘int main()’:
routine.cpp:15:8: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::map<long long unsigned int, long long unsigned int>::iterator’ {aka ‘std::_Rb_tree_iterator<std::pair<const long long unsigned int, long long unsigned int> >’})
15 | cout << loc.upper_bound(q[i]+1) << "\n";
| ~~~~ ^~ ~~~~~~~~~~~~~~~~~~~~~~~
| | |
| | std::map<long long unsigned int, long long unsigned int>::iterator {aka std::_Rb_tree_iterator<std::pair<const long long unsigned int, long long unsigned 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