I dont know why but i am getting NZEC error when i am running my code

/* 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) throws java.lang.Exception
{
// your code goes here
Scanner sc = new Scanner(System.in);
int t = sc.nextInt();
int a[][] = new int[t][t];
int b[] = new int[t];
for(int i=0;i<t;i++) {
for(int j=0;j<2;j++) {
a[i][j] = sc.nextInt();
}
}
for(int i=0;i<t;i++) {
b[i] = a[i][0]*a[i][1];
}
for(int i=0;i<t;i++) {
System.out.println(b[i]);
}
sc.close();
}
}