How to get rid of getting NZEC error while submitting solution in java?

Thanks it helped me alot

for _ in range(int(input())):
    n=int(input())
    l=set(map(int,input().strip().split()))
    print(len(l))

how to remove NZEC in this?

Input format
1
3
1 2 3

How to get rid of getting NZEC error while submitting solution in java?

/* package codechef; // don’t place package name! */

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

/* Name of the class has to be “Main” only if the class is public. */
class Codechef
{
public static void main (String[] args)
{

	Scanner scan = new Scanner(System.in);
	int withdraw = scan.nextInt();
	
	int balance = scan.nextInt();
	
	if(withdraw<balance && withdraw % 5 ==0)
	{
        System.out.println(balance-withdraw-0.50);
	}
	else if (withdraw<balance && withdraw % 5 !=0) 
	{
	    System.out.println(balance);
	}
	else
	{
	    System.out.println(balance);
	}
}

}