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";
}
}
}