I've written this code but it's showing not acceptable but expected and actual results match

#include<stdio.h>
int main()
{
long int x,i,j,k;

scanf("%ld \n",&x);
long long int a[x],b[x];	
for(i=0;i<x;i++)
{
	scanf("%lld ",&a[i]);

}
////printf("\n");
for(k=0;k<x;k++)
{
	scanf("%lld",&b[k]);
}
/*if(x<1 || x>10000000)
{printf("enter N btw 1 and 10000000");goto table;}
for(i=0;i<x;i++)
{if(a[i]<0||b[i]<0)
{printf("enter posive integer");goto table;}
}
*/
long long int d=0,e=0;
d=b[0]/a[0];
for(j=1;j<x;j++)
{
	e=b[j]/a[j];
	if(e<d)
	{d=e;}
}
/////printf("\n");
printf("%lld",d);





//table:
return 0;

}

bro i’ve commented it all .
https://www.techgig.com/codegladiators/question/bzNCeHdhV0pNQXplVGxJOENjTXo1WXdxSnNFS21Ob3NWY1ZzV3FiZlU1RmNIVVNuUThxT1FKMUljNDJ6MUkwUg==/1?msg_type=1

Test Cases Result

Input Result Time (Sec) Memory
Sample Test Case 1 Failed 0.258 232 [Hide](javascript:void(0):wink:
###### Test Case Input

42 5 6 3 20 40 90 50

Test Case Output

8

Expected Output

8|