Problem | rollercoaster |
---|---|
User | thatgreyCat7777 |
Submission Time | 2025-08-30 19:58:26 |
Score | 0 |
Max Time | N/A |
Max Memory | N/A |
Owl Get a Life
rollercoaster.cpp: In function ‘int main()’:
rollercoaster.cpp:31:20: error: no match for ‘operator[]’ (operand types are ‘std::multiset<long int>’ and ‘long int’)
31 | cout << arr[i+arrCount-1]-arr[i] << ' ';
| ^
rollercoaster.cpp:31:38: error: no match for ‘operator[]’ (operand types are ‘std::multiset<long int>’ and ‘long int’)
31 | cout << arr[i+arrCount-1]-arr[i] << ' ';
| ^