Problem peakfinding
User benji9736
Submission Time 2025-12-26 20:11:49
Score 0
Max Time N/A
Max Memory N/A

Compile Error

peakfinding.cpp: In function ‘int main()’:
peakfinding.cpp:8:10: error: no match for ‘operator[]’ (operand types are ‘std::priority_queue<int>’ and ‘int’)
8 | cin>>pq[i];
| ^