Problem change
User Leeweixian
Submission Time 2024-06-20 10:13:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

change.cpp: In function ‘int main()’:
change.cpp:10:18: error: ‘N’ was not declared in this scope
10 | for (int i=0;i<N;i++){
| ^
change.cpp:12:4: error: ‘pq’ was not declared in this scope
12 | pq.push(0);
| ^~