Problem | magiccarps |
---|---|
User | Hytoh |
Submission Time | 2024-01-27 11:14:27 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
magiccarps.cpp: In function ‘int main()’:
magiccarps.cpp:28:22: error: ‘combinedValues’ was not declared in this scope
28 | total += combinedValues[i].first;
| ^~~~~~~~~~~~~~
In file included from /usr/include/c++/9/bits/stl_algobase.h:71,
from /usr/include/c++/9/bits/char_traits.h:39,
from /usr/include/c++/9/ios:40,
from /usr/include/c++/9/ostream:38,
from /usr/include/c++/9/iostream:39,
from magiccarps.cpp:1:
/usr/include/c++/9/bits/predefined_ops.h: In instantiation of ‘constexpr bool __gnu_cxx::__ops::_Iter_comp_iter<_Compare>::operator()(_Iterator1, _Iterator2) [with _Iterator1 = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >; _Iterator2 = __gnu_cxx::__normal_iterator<std::pair<int, int>*, std::vector<std::pair<int, int> > >; _Compare