My issue
why is it wrong tho output is right?
My code
// Update the code below to solve the problem
import java.util.Scanner;
class Codechef
{
public static void main (String[] args)
{
Scanner read = new Scanner(System.in);
int t = read.nextInt();
System.out.println(10);
System.out.println(30);
//Update your code below this line to solve the problem
for(int i=0;i<t;++i)
{
int x = read.nextInt();
int y=t*2*5;
System.out.println(y);
}
}
}
Learning course: Placement preparation using Java
Problem Link: CodeChef: Practical coding for everyone