| Problem | identifyinggirlfriends |
|---|---|
| User | PerihelionfromAphelion |
| Submission Time | 2026-08-28 13:47:19 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
identifyinggirlfriends.cpp: In function ‘int32_t main()’:
identifyinggirlfriends.cpp:12:26: error: no matching function for call to ‘std::map<std::__cxx11::basic_string<char>, std::__cxx11::basic_string<char> >::map(long long int&)’
12 | map<string, string> mp(n);
| ^
In file included from /usr/include/c++/9/map:61,
from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:81,
from identifyinggirlfriends.cpp:1:
/usr/include/c++/9/bits/stl_map.h:288:2: note: candidate: ‘template<class _InputIterator> std::map<_Key, _Tp, _Compare, _Alloc>::map(_InputIterator, _InputIterator, const _Compare&, const allocator_type&)’
288 | map(_InputIterator __first, _InputIterator __last,
| ^~~
/usr/include/c++/9/bits/stl_map.h:288:2: note: template argument deduction/substitution failed:
identifyinggirlfriends.cpp:12:26: note: candidate expects 4 arguments,