Problem | contestcalc |
---|---|
User | hwy |
Submission Time | 2023-06-07 13:05:17 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
contestcalc.cpp: In function ‘int main()’:
contestcalc.cpp:19:30: error: invalid cast from type ‘std::map<std::__cxx11::basic_string<char>, int>::iterator’ {aka ‘std::_Rb_tree_iterator<std::pair<const std::__cxx11::basic_string<char>, int> >’} to type ‘int’
19 | sum += (int) map.find(name2);
| ^