Problem | competition |
---|---|
User | Henries |
Submission Time | 2024-10-05 23:54:43 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
competition.cpp:3:61: error: type/value mismatch at argument 2 in template parameter list for ‘template<class _Key, class _Tp, class _Compare, class _Alloc> class std::multimap’
3 | long long solve(multimap<long long ,vector,greater<long long>> m,long long a,long long b){
| ^~
competition.cpp:3:61: note: expected a type, got ‘vector’
competition.cpp:3:61: error: template argument 4 is invalid
competition.cpp: In function ‘long long int solve(int, long long int, long long int)’:
competition.cpp:6:22: error: ‘begin’ was not declared in this scope
6 | for (auto [key,val]:m){
| ^
competition.cpp:6:22: note: suggested alternatives:
In file included from /usr/include/x86_64-linux-gnu/c++/9/bits/stdc++.h:95,
from competition.cpp:1:
/usr/include/c++/9/valarray:1224:5: note: ‘std::begin’
1224 | begin(const valarr