Help me in solving DETSCORE problem

My issue

what is wrong in my code

My code

#include <stdio.h>

int main() {
	int t ;
	scanf("%d",&t);
	while(t--)
	{
	    int n,x,p,s;
	    scanf("%d %d",&n,&x);
	    p=x/10;
	    s = p * n;
	    printf("%d\n",s);
	}

}


Learning course: Algorithmic Problem Solving
Problem Link: https://www.codechef.com/learn/course/klu-problem-solving/KLUPS00/problems/DETSCORE

include <stdio.h>

int main() {
int t,A,B;
float X;
int Y,i;
scanf(“%d”, &t );
while (t–){
scanf(“%d %d”,&A,&B);
scanf(“%lf %d”,&X,&Y);
X = A / B;
Y = A / B;
printf(“%lf %d\n”,X ,Y);
i++;
}
return 0;
}