SIGHUP error

I’ve been facing a continuous issue of SIGHUP error every time I compile my code.
how to solve this??

Hey, which problem is this, can you provide a link to the problem?

It’s just happening in every code I try to compile.

Chef and Brain Speed - Problems - CodeChef

It can be problem with your code as well, please share your code.

Take this simple code for example,

import java.util.*;
import java.lang.*;

class codeechef{
public static void main (String args[]) {
    Scanner sc = new Scanner(;
    int x,y,t;
     t = sc.nextInt();
      for(int i=0;i<t;i++){
          x = sc.nextInt();
          y = sc.nextInt();

Every time I try to run, it shows same error.

In this problem there is no t. You are taking an input for t and then for x and y, that is why the error is coming.

You don’t need to input t or run a loop for this problem.

oh, I’m really sorry for wasting your time on such a silly question.