My issue
My code
// Update the code below to solve the problem
#include<stdio.h>
int main()
{
int t;
scanf("%d",&t);
while(t--)
{
int N, K,count=0;
scanf("%d",&N,&K);
int H[N];
for(int i=0; i < N; i++)
{
scanf("%d",&H[i]);
if(H[i]>K)
{
count++;
}
}
printf("%d\n",count);
}
}
Learning course: Solve Programming problems using C
Problem Link: CodeChef: Practical coding for everyone