ATM question.. why do I get NZEC error although the code works perfectly?

import java.io.*;
import java.util.Scanner;
class InputExample
{
public static void main(String args[]) throws IOException
{
Scanner s = new Scanner(System.in);
int X;
float Y;
X=s.nextInt();
Y=s.nextFloat();
if((X%5!=0)||(Y<X+0.5))
{
System.out.printf(“%.2f”,Y);
}
else
{
Y=(float)(Y-(float)X-0.5);
System.out.printf(“%.2f”,Y);
}
s.close();
}
}
I had done this with Scanner as well as Bufferedreader yet it showed me error although it works perfectly on any java software(Ex: drjava or bluej)

send the question link

https://www.codechef.com/viewsolution/24441285
The solution was accepted when I tried :confused:
(No change at all)

can you tell me what to do as soon as I open submission platform because I tried it more than 20 times ??
I just click on language and select java hotspot…anything else to do?

Watch this video
https://www.youtube.com/watch?v=lcKX16GShEg