Problem minimum
User DoubleShaurya
Submission Time 2023-02-17 19:22:57
Score 0
Max Time N/A
Max Memory N/A

Compile Error

minimum.cpp:5:27: error: use of parameter outside function body before ‘]’ token
5 | int findMin(int N, int A[N]) {
| ^
minimum.cpp: In function ‘int findMin(...)’:
minimum.cpp:7:23: error: ‘N’ was not declared in this scope
7 | for (int i = 0; i < N; i++) {
| ^
minimum.cpp:8:13: error: ‘A’ was not declared in this scope
8 | pq.push(A[i]);
| ^