Can someone please help me out in finding what’s wrong with my solution for WAV2

#include

using namespace std;

int main()

{

int N, Q;

cin >> N >> Q;

int arr[N];

for (int i = 0; i < N; i++)

{

cin >> arr[i];

}

for (int i = 0; i < Q; i++)

{

int k, brr[4], prod = 1;

cin >> k;

for (int j = 0; j < N; j++)

{

brr[j] = k - arr[j];

}

for (int j = 0; j < N; j++)

{

prod = prod * brr[j];

}

if (prod > 0)

cout << “POSITIVE” << endl;

else if (prod < 0)

cout << “NEGATIVE” << endl;

else

cout << 0 << endl;

}

return 0;

}