My issue
runtime error sighup
My code
import java.util.Scanner;
class Codechef
{
public static void main (String[] args) throws java.lang.Exception
{
Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
for(int i = 0;i<a;i++){
int X = sc.nextInt();
int Y = sc.nextInt();
a = Y;
int b = Y;
int c = 3 * X - Y - a;
System.out.println(a +" " + b+ " " + c+ " ");
}
sc.close();
}
}
Learning course: Roadmap to 3*
Problem Link: https://www.codechef.com/learn/course/klu-roadmap-3star/KLURMP301/problems/MEANMEDIAN