Problem potatosalad
User aiden
Submission Time 2026-06-17 17:09:39
Score 0
Max Time N/A
Max Memory N/A

Compile Error

potatosalad.cpp: In function ‘int main()’:
potatosalad.cpp:16:11: error: no match for ‘operator[]’ (operand types are ‘std::priority_queue<int>’ and ‘int’)
16 | total+=a[i];
| ^