Problem | zanesletters |
---|---|
User | blob |
Submission Time | 2023-12-20 12:47:16 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
zanesletters.cpp: In function ‘int main()’:
zanesletters.cpp:20:19: error: could not convert ‘(map.std::unordered_map<std::__cxx11::basic_string<char>, int>::find(s) = map.std::unordered_map<std::__cxx11::basic_string<char>, int>::end())’ from ‘std::unordered_map<std::__cxx11::basic_string<char>, int>::iterator’ {aka ‘std::__detail::_Node_iterator<std::pair<const std::__cxx11::basic_string<char>, int>, false, true>’} to ‘bool’
20 | if (map.find(s) = map.end()){
| ~~~~~~~~~~~~^~~~~~~~~~~
| |
| std::unordered_map<std::__cxx11::basic_string<char>, int>::iterator {aka std::__detail::_Node_iterator<std::pair<const std::__cxx11::basic_string<char>, int>, false, true>}