Help me in solving AOCC018 problem

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

@nitheesha39
while scaning n and k u have to put one more %d for k

:+1: :+1: