Problem identifyinggirlfriends
User chiefoggy
Submission Time 2023-12-20 09:20:37
Score 0
Max Time N/A
Max Memory N/A

Compile Error

identifyinggirlfriends.cpp: In function ‘int main()’:
identifyinggirlfriends.cpp:23:18: error: no match for ‘operator<<’ (operand types are ‘std::ostream’ {aka ‘std::basic_ostream<char>’} and ‘std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >’)
23 | cout << *mp.find(nickname) << "\n";
| ~~~~ ^~ ~~~~~~~~~~~~~~~~~~
| | |
| | std::pair<const std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >
| 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,
fr