My issue
I don’t understand the problem
My code
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
Scanner read = new Scanner(System.in);
int t = read.nextInt();
for(int i=0; i<t; i++)
{
int x = read.nextInt();
String s = read.next();
// Update the code below to solve the problem
}
}
}
Learning course: Solve Programming problems using Java
Problem Link: Practice problem - World Chess Championship Practice Problem in Solve Programming problems using Java - CodeChef