Help me in solving EXISTENCE problem

My issue

include <stdio.h>
include <math.h>

int main()

{ long long int c,d,e,f;
int a;
scanf(“%d”,&a) ;
for (int b = 1;b<=a; b++)
{

    scanf("%lld",&c) ;
    scanf("%lld",&d) ;
    e=pow(c,4)+4*pow(d,2);
    f=4*pow(c,2)*d; 
    if (e == f)
    {printf("yes\n");
    }
    else {printf("no\n");}
}

}
this code is failing one test case

My code

#include <stdio.h>
#include <math.h>

    int main()
   { long long int c,d,e,f;
   int a;
      scanf("%d",&a) ;
       for (int b = 1;b<=a; b++)
    {
        
        scanf("%lld",&c) ;
        scanf("%lld",&d) ;
        e=pow(c,4)+4*pow(d,2);
        f=4*pow(c,2)*d; 
        if (e == f)
        {printf("yes\n");
        }
        else {printf("no\n");}
    }
    
}

Learning course: Number theory
Problem Link: CodeChef: Practical coding for everyone

@eeshsaxena
dont use pow function , instead keep things simpler like this

#include <stdio.h>

int main(void) {
	// your code goes here
	int vedan;
	scanf("%d",&vedan);
	while(vedan--){
	    int ved,vee;
	    scanf("%d %d",&ved,&vee);
	    int vv=(ved*ved*ved*ved)+(4*vee*vee);
	    int vvv=ved*ved*vee*4;
	    if(ved*ved==2*vee){
	        printf("YES\n");
	    }else{
	        printf("NO\n");
	    }
	}
	return 0;
}