Problem pairs
User Elwinthenerd
Submission Time 2024-11-14 09:36:32
Score 0
Max Time N/A
Max Memory N/A

Compile Error

pairs.cpp: In function ‘int main()’:
pairs.cpp:16:14: error: no match for ‘operator[]’ (operand types are ‘std::priority_queue<long long int>’ and ‘long long int’)
16 | cout << W[M-1] << endl;
| ^