Runtime Error(NZEC) for EMPTY (almost) code

Hi all, I’m trying to submit for TASTR, and getting Runtime Error(NZEC).
for now, the file I submit does almost nothing, and still getting that error.
can someone have a look?
Thanks

Here is my code:

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;


class rrr {

public static void main(String[] args){
	try{
		new Algo().solve();
	}catch(Exception e){
		
	}catch (Error e) {
	}
}
public static class InputHandler{
	BufferedReader in;
	InputHandler(BufferedReader in){
		this.in = in;
	}
	String readLine(){
		try {
			return in.readLine();
		} catch (Exception e) {e.printStackTrace();return null;}
	}
	int readInt(){
		try {
			return Integer.parseInt(in.readLine());
		} catch (Exception e) {e.printStackTrace();return 0;}
	}
	long readLong(){
		try {
			return Long.parseLong(in.readLine());
		} catch (Exception e) {e.printStackTrace();return 0;}
	}
	double readDouble(){
		try {
			return Double.parseDouble(in.readLine());
		} catch (Exception e) {e.printStackTrace();return 0;}
	}
	int[] readIntArray(){
		String s[] = null;
		try {
			s = in.readLine().split(" ");
		} catch (Exception e1) {e1.printStackTrace();}
		int [] arr = new int[s.length];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = Integer.parseInt(s[i]);
		}
		return arr;
	}
	long[] readLongArray(){
		String s[] = null;
		try {
			s = in.readLine().split(" ");
		} catch (Exception e1) {e1.printStackTrace();}
		long [] arr = new long[s.length];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = Long.parseLong(s[i]);
		}
		return arr;
	}
	double[] readDoubleArray(){
		String s[] = null;
		try {
			s = in.readLine().split(" ");
		} catch (Exception e1) {e1.printStackTrace();}
		double [] arr = new double[s.length];
		for (int i = 0; i < arr.length; i++) {
			arr[i] = Double.parseDouble(s[i]);
		}
		return arr;
	}
}

public static class Algo{
	InputHandler inputHandler;

	void solve(){
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		inputHandler = new InputHandler(in);		
		System.out.println(this.solveNext());
		try {
			in.close();
		} catch (IOException e) {e.printStackTrace();}
	}

	String solveNext(){
		String a = inputHandler.readLine();
		String b = inputHandler.readLine();
		return "0";
	}

}

}

I had a similar issue solving TACHSTCK. The compilers have been recently updated and Java is a little bit unstable for the moment… Sent an email to codechef, they said they’re trying to solve it… I believe this is what is happening with your submissions too.

1 Like

that can explain it…
Thanks!

No problem… I opened a post about this here: http://discuss.codechef.com/questions/19172/java-submissions-re a couple days ago.

1 Like

I do hope that the problem will be fixed until the contest tommorow :slight_smile:

1 Like

Yeah, try now… It’s not giving RE anymore for the problem I was solving… :slight_smile:

//