Wrong answer in chef and remissness

#include<stdio.h>
int main()
{
int t,a,b,min=0,max=0;
t=scanf("%d",&t);
for(int i=0;i<t;i++)
{
scanf("%d %d",&a,&b);
if(a>b)
min=a;
else
min=b;
max=a+b;
printf("%d “,min);
printf(”%d",max);
}
}

t=scanf("%d",&t);

This is not the correct syntax. replace it with scanf("%d",&t); and you’ll get AC

it is still not working

there are so many test cases and u need to print ans for 1 test case in 1 line
so use newline character
printf("\n") at the end would be enough

i added and it passed
https://www.codechef.com/viewsolution/26036964

next time give different inputs and cross check with expected output