| Problem | catproblemsetter |
|---|---|
| User | thatgreyCat7777 |
| Submission Time | 2026-02-20 14:23:07 |
| Score | 0 |
| Max Time | N/A |
| Max Memory | N/A |
Owl Get a Life
catproblemsetter.cpp: In function ‘int main()’:
catproblemsetter.cpp:41:14: error: no match for ‘operator[]’ (operand types are ‘std::multimap<long long int, std::pair<long long int, int> >’ and ‘long long int’)
41 | d[c[i].second] = { c[i].first, i };
| ^
catproblemsetter.cpp:52:18: error: no match for ‘operator[]’ (operand types are ‘std::multimap<long long int, std::pair<long long int, int> >’ and ‘long long int’)
52 | if (d[c[i].second].first > c[i].first )
| ^
catproblemsetter.cpp:56:45: error: no match for ‘operator[]’ (operand types are ‘std::multimap<long long int, std::pair<long long int, int> >’ and ‘long long int’)
56 | cancer += c[i].first - d[c[i].second].first;
| ^
catproblemsetter.cpp:58:18: error: no match for ‘operator[]’ (operand types are ‘std::multimap<