Problem | lis_easy |
---|---|
User | Blender |
Submission Time | 2024-02-02 15:16:45 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
lis_easy.cpp: In function ‘int main()’:
lis_easy.cpp:18:26: error: no match for ‘operator[]’ (operand types are ‘std::multimap<long long int, long long int>’ and ‘long long int’)
18 | if ( i == 0 ) lis[element] = 1; // lis of first element is 1
| ^
lis_easy.cpp:29:16: error: no match for ‘operator[]’ (operand types are ‘std::multimap<long long int, long long int>’ and ‘long long int’)
29 | lis[element] = ++currentMaximumLis;
| ^