Hello, I have just joined codechef and am facing some technical difficulties. I have written a program for the LEADGAME problem but it returns WA or wrong answer. I am pretty sure my algorithm is right. Please help.
typedef struct inp
for(int i=0; i<rounds; i++)
scanf("%d %d", &t1, &t2);
printf("%d %d", curbig.team == true ? 1: 2 , curbig.lead);