My issue
My code
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
Scanner read = new Scanner(System.in);
int c1=0;
int c2=0;
int c;
int d;
int t = read.nextInt();
for(int i=0; i<t; i++)
{
int a = read.nextInt();
int b = read.nextInt();
}
}
}
Learning course: Solve Programming problems using Java
Problem Link: CodeChef: Practical coding for everyone