My issue
after running the code its saying that time limit is exceeded. How to fix this?
My code
#include <stdio.h>
int main(void) {
int t;
scanf("%d",&t);
while("t--")
{
int x,y;
scanf("%d%d",&x,&y);
if(x>y)
{
printf("%d\n",y);
}
else printf("\n%d",x);
}
return 0;
}
Problem Link: BURGERS Problem - CodeChef