criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.Scanner;
class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.in);
        int n=sc.nextInt();
        int m=sc.nextInt();
        int l=sc.nextInt();
        int[][] nm=new int[n][m];
        int[][] ml=new int[m][l];
        Long[][] nl=new Long[n][l];
        for(int i=0;i<n;i++){
            for(int j=0;j<m;j++){
                nm[i][j]=sc.nextInt();
            }
        }
        for(int k=0;k<m;k++){
            for(int p=0;p<l;p++){
                ml[k][p]=sc.nextInt();
            }
        }for(int a=0;a<n;a++){
            for(int b=0;b<l;b++){
                int sum=0;
                for(int c=0;c<m;c++){
                    sum+=nm[a][c]*ml[c][b];
                }
                nl[a][b]=sum;
            }
        }
        for(int d=0;d<n;d++){
            for(int e=0;e<=l-1;e++){
                System.out.print(nl[d][e]);
                if(e!=l-1){
                    System.out.print(" ");
                }
            }
            System.out.println();
        }
    }
}


Compiler output:
Main.java:26: error: incompatible types: int cannot be converted to Long
                nl[a][b]=sum;
                         ^
1 error
Language: Java


public class Main {
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = sc.nextInt();
        int m = sc.nextInt();
        int l = sc.nextInt();
        
        int[][] a = new int[n][m];
        int[][] b = new int[m][l];
        int[][] c = new int[n][l];
        
        for(int i=0; i < n; i++){
            for(int j=0; j < m; j++){
                a[i][j] = sc.nextInt();
            }
        }
        
        for(int i=0; i < m; i++){
            for(int j=0; j < l; j++){
                b[i][j] = sc.nextInt();
            }
        }
        
        for(int k=0; k<m; k++){
           for(int i=0; i<n; i++){
               for(int j=0; j<l; j++){
                    c[i][j] += a[i][k] * b[k][j];
               }
            } 
        }
        
       for(int i=0; i<n; i++){
               for(int j=0; j<l; j++){
                    System.out.print(c[i][j]);
               }
               System.out.println();
            }
        
    }
}



Compiler output:
Main.java:5: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main6 {
    public static void main(String[] args) {
        
        Scanner sc = new Scanner(System.in);
        
        int n = sc.nextInt();
        int m = sc.nextInt();
        int l = sc.nextInt();
        
        int[][] a = new int[n][m];
        int[][] b = new int[m][l];
        int[][] c = new int[n][l];
        
        for(int i=0; i < n; i++){
            for(int j=0; j < m; j++){
                a[i][j] = sc.nextInt();
            }
        }
        
        for(int i=0; i < m; i++){
            for(int j=0; j < l; j++){
                b[i][j] = sc.nextInt();
            }
        }
        
        for(int k=0; k<m; k++){
           for(int i=0; i<n; i++){
               for(int j=0; j<l; j++){
                    c[i][j] += a[i][k] * b[k][j];
               }
            } 
        }
        
       for(int i=0; i<n; i++){
               for(int j=0; j<l; j++){
                    System.out.print(c[i][j]);
                    if(i != n-1 || j != l-1) System.out.print(" ");
               }
               System.out.println();
            }
        
    }
}



Compiler output:
Main.java:3: error: class Main6 is public, should be declared in a file named Main6.java
public class Main6 {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) throws FileNotFoundException {
		//入力導入部
		Scanner sc=new Scanner(new BufferedReader(System.in));
		
			int n=sc.nextInt();
			int m=sc.nextInt();
			int l=sc.nextInt();
			
			///////////////////////////////////////////////////////////////////
			//計算部			x=n+n-i+n-l
			int[][] a,b,c;
			a=new int[n][m];
			b=new int[m][l];
			c=new int[n][l];
		
			for(int s=0;s<n;s++){
				for(int t=0;t<m;t++){
					a[s][t]=sc.nextInt();
					}
							}

			for(int s=0;s<m;s++){
				for(int t=0;t<l;t++){
					b[s][t]=sc.nextInt();
					}
							}sc.close();
			//////配列Cを作成する
			int sum;
			for(int x=0;x<n;x++){
				for(int y=0;y<l;y++){sum=0;
					for(int i=0;i<m;i++){
						sum+=a[x][i]*b[i][y];
					}c[x][y]=sum;
				}
			}
							
							
			for(int i=0;i<n;i++){
				for(int s=0;s<l;s++){
					if(s==0)System.out.print(c[i][s]);
					else System.out.print(" "+c[i][s]);
				}System.out.println();
			}
		}

		
}

Compiler output:
Main.java:11: error: incompatible types: InputStream cannot be converted to Reader
		Scanner sc=new Scanner(new BufferedReader(System.in));
		                                                ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: Java

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) throws FileNotFoundException {
		//入力導入部
		Scanner sc=new Scanner(System.in));
		
			int n=sc.nextInt();
			int m=sc.nextInt();
			int l=sc.nextInt();
			
			///////////////////////////////////////////////////////////////////
			//計算部			x=n+n-i+n-l
			int[][] a,b,c;
			a=new int[n][m];
			b=new int[m][l];
			c=new int[n][l];
		
			for(int s=0;s<n;s++){
				for(int t=0;t<m;t++){
					a[s][t]=sc.nextInt();
					}
							}

			for(int s=0;s<m;s++){
				for(int t=0;t<l;t++){
					b[s][t]=sc.nextInt();
					}
							}sc.close();
			//////配列Cを作成する
			int sum;
			for(int x=0;x<n;x++){
				for(int y=0;y<l;y++){sum=0;
					for(int i=0;i<m;i++){
						sum+=a[x][i]*b[i][y];
					}c[x][y]=sum;
				}
			}
							
							
			for(int i=0;i<n;i++){
				for(int s=0;s<l;s++){
					if(s==0)System.out.print(c[i][s]);
					else System.out.print(" "+c[i][s]);
				}System.out.println();
			}
		}

		
}

Compiler output:
Main.java:11: error: ';' expected
		Scanner sc=new Scanner(System.in));
		                                 ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.FileNotFoundException;
import java.io.FileReader;
import java.util.Scanner;


public class Main {

	public static void main(String[] args) {
		//入力導入部
		Scanner sc=new Scanner(System.in));
		
			int n=sc.nextInt();
			int m=sc.nextInt();
			int l=sc.nextInt();
			
			///////////////////////////////////////////////////////////////////
			//計算部			x=n+n-i+n-l
			int[][] a,b,c;
			a=new int[n][m];
			b=new int[m][l];
			c=new int[n][l];
		
			for(int s=0;s<n;s++){
				for(int t=0;t<m;t++){
					a[s][t]=sc.nextInt();
					}
							}

			for(int s=0;s<m;s++){
				for(int t=0;t<l;t++){
					b[s][t]=sc.nextInt();
					}
							}sc.close();
			//////配列Cを作成する
			int sum;
			for(int x=0;x<n;x++){
				for(int y=0;y<l;y++){sum=0;
					for(int i=0;i<m;i++){
						sum+=a[x][i]*b[i][y];
					}c[x][y]=sum;
				}
			}
							
							
			for(int i=0;i<n;i++){
				for(int s=0;s<l;s++){
					if(s==0)System.out.print(c[i][s]);
					else System.out.print(" "+c[i][s]);
				}System.out.println();
			}
		}

		
}

Compiler output:
Main.java:11: error: ';' expected
		Scanner sc=new Scanner(System.in));
		                                 ^
1 error
Language: Java

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

public class MatrixMultiplication {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		int n, m, l;
		long sum;
		int[][] matA, matB;
		String[] mats = in.readLine().split(" ");
		n = Integer.parseInt(mats[0]);
		m = Integer.parseInt(mats[1]);
		l = Integer.parseInt(mats[2]);
		matA = new int[n][m];
		matB = new int[m][l];
		for (int i = 0; i < n; i += 1) {
			String[] arrayA = in.readLine().split(" ");
			for (int j = 0; j < m; j += 1) {
				matA[i][j] = Integer.parseInt(arrayA[j]);
			}
		}
		for (int p = 0; p < m; p += 1) {
			String[] arrayB = in.readLine().split(" ");
			for (int q = 0; q < l; q += 1) {
				matB[p][q] = Integer.parseInt(arrayB[q]);
			}
		}
		in = null;
		for (int s = 0; s < n; s += 1) {
			//x = 0;
			for (int t = 0; t < l; t += 1) {
				sum = 0;
				for (int u = 0; u < m; u += 1) {
					sum += (matA[s][u] * matB[u][t]);
				}
				sb.append(sum);
				if (t != (l - 1)) {
					sb.append(" ");
				}
			}
			sb.append(System.getProperty("line.separator"));
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:5: error: class MatrixMultiplication is public, should be declared in a file named MatrixMultiplication.java
public class MatrixMultiplication {
       ^
1 error
Language: Java

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

public class MatrixMultiplication {
	public static void main(String[] args) throws IOException {
		BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		int n, m, l;
		long sum;
		int[][] matA, matB;
		String[] mats = in.readLine().split(" ");
		n = Integer.parseInt(mats[0]);
		m = Integer.parseInt(mats[1]);
		l = Integer.parseInt(mats[2]);
		matA = new int[n][m];
		matB = new int[m][l];
		for (int i = 0; i < n; i += 1) {
			String[] arrayA = in.readLine().split(" ");
			for (int j = 0; j < m; j += 1) {
				matA[i][j] = Integer.parseInt(arrayA[j]);
			}
		}
		for (int p = 0; p < m; p += 1) {
			String[] arrayB = in.readLine().split(" ");
			for (int q = 0; q < l; q += 1) {
				matB[p][q] = Integer.parseInt(arrayB[q]);
			}
		}
		in = null;
		for (int s = 0; s < n; s += 1) {
			for (int t = 0; t < l; t += 1) {
				sum = 0;
				for (int u = 0; u < m; u += 1) {
					sum += (matA[s][u] * matB[u][t]);
				}
				sb.append(sum);
				if (t != (l - 1)) {
					sb.append(" ");
				}
			}
			sb.append(System.getProperty("line.separator"));
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:5: error: class MatrixMultiplication is public, should be declared in a file named MatrixMultiplication.java
public class MatrixMultiplication {
       ^
1 error
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] args){
	final Scanner sc = new Scanner(System.in);
	int n=sc.nextInt();
	int m=sc.nextInt();
	int l=sc.nextInt();
	int[][] A=new int[n][m];
	int[][] B=new int[m][l];
  	int[][] C=new int[n][l];

	for(int i=0;i<n;i++)
	    for(int j=0;j<m;j++)  Ar[i][j]=sc.nextInt();
       	for(int i=0;i<n;i++)
	    for(int j=0;j<m;j++)  Ar[i][j]=sc.nextInt();
	for(int i=0;i<n;i++)
	    for(int j=0;j<m;j++)
	        for(int k=0;i<l;l++)
		    C[i][j]+=A[i][k]*B[k][j];
	for(int i=0;i<n;i++){
	    for(int j=0;j<l;j++){
		System.out.print(C[i][j]);
		if(j!=l-1)System.out.print(" ");
	    }
	    System.out.println("");
	}
    }
}

Compiler output:
Main.java:14: error: cannot find symbol
	    for(int j=0;j<m;j++)  Ar[i][j]=sc.nextInt();
	                          ^
  symbol:   variable Ar
  location: class Main
Main.java:16: error: cannot find symbol
	    for(int j=0;j<m;j++)  Ar[i][j]=sc.nextInt();
	                          ^
  symbol:   variable Ar
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] args){
	final Scanner sc = new Scanner(System.in);
	int n=sc.nextInt();
	int m=sc.nextInt();
	int l=sc.nextInt();
	int[][] A=new int[n][m];
	int[][] B=new int[m][l];

	for(int i=0;i<n;i++)
	    for(int j=0;j<m;j++)  A[i][j]=sc.nextInt();
	    for(int i=0;i<m;i++){
		for(int j=0;j<l;j++){
		    B[i][j]=sc.nextInt();
		}
	    }
	    int c;
	for(int i=0;i<n;i++){
	    for(int j=0;j<l;j++){
		c=0;
		for(int k=0;k<l;k++){
		    c+=A[i][k]*B[k][j]
		}
		System.out.print(c);
		if(j!=l-1)System.out.print(" ");
		
	    }
	    System.out.println("");
	}
    }
}

Compiler output:
Main.java:24: error: ';' expected
		    c+=A[i][k]*B[k][j]
		                      ^
1 error
Language: Java

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

class Main{
    public static void main(String args[])throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] ss = br.readLine().split(" ");
        
        int n = Integer.parseInt(ss[0]);
        int m = Integer.parseInt(ss[1]);
        int l = Integer.parseInt(ss[2]);
        int num1[][] = new int[n][m];
        int num2[][] = new int[m][l];
        
        for(int i=0; i<n; i++){
            String[] s = br.readLine().split(" ");
        	for(int j=0; j<m; j++){
                num1[i][j] = Integer.parseInt(s[j]);
        	}
        }
        for(int i=0; i<m; i++){
            String[] str = br.readLine().split(" ");
            for(int j=0; j<l; j++){
                num2[i][j] = Integer.parseInt(str[j]);
        	}
        }
        for(int i=0; i<n; i++){
            for(int k=0; k<l; k++){
                int a=0;
        		for(int j=0; j<m; j++){
                    a += num1[i][j] * num2[j][k];
        		}
                System.out.print(a);
                if(j+1<l){
                    System.out.print(" ");
                }
                a=0;
        	}
        	System.out.println("");
        }
    }
}

Compiler output:
Main.java:34: error: cannot find symbol
                if(j+1<l){
                   ^
  symbol:   variable j
  location: class Main
1 error
Language: Java

import java.io.*;
import java.util.Arrays;

public class Main{
	public static void main(String[] args) throws IOException{ 
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String line1 = br.readLine();
		String[] spl = line1.split(" ");
		int n = Integer.parseInt(spl[0]);
		int m = Integer.parseInt(spl[1]);
		int l = Integer.parseInt(spl[2]);
		int[][] a = new int[n][m];
		int[][] b = new int[m][l];
		int[][] c = new int[n][l];
		for (int i = 0; i<n ; i++) {
			String line = br.readLine();
			String[] str = line.split(" ");
			for (int j = 0; j<m ; j++ ) {
				a[i][j] += Integer.parseInt(str[j]);
			}
		}

		for (int i = 0; i<m ; i++ ) {
			String line = br.readLine();
			String[] str = line.split(" ");
			for (int j = 0; j<l ; j++ ) {
				b[i][j] += Integer.parseInt(str[j]);
			}
		}

		for (int i = 0; i<n ; i++ ) {
			for (int j = 0; j<m ; j++ ) {
				for (int k = 0; k<l ;k++ ) {
					c[i][k] += (a[i][j] * b[j][k]);
				}
			}
		}

		for (int i = 0; i<n ; i++ ) {
			for ( int j = 0; j<(l-1) ; j++ ) {
				System.out.print(c[i][j]+" ");
			}
			System.out.println(c[i][j-1]);
		}
		
	}
}

Compiler output:
Main.java:43: error: cannot find symbol
			System.out.println(c[i][j-1]);
			                        ^
  symbol:   variable j
  location: class Main
1 error
Language: Java

import java.util.Scanner;

public class ITP1_7_D {

    public static void main(String[] args) {
        Scanner scn = new Scanner(System.in);
        int n = scn.nextInt();
        int m = scn.nextInt();
        int l = scn.nextInt();
        int[][] a = new int[n][m], b = new int[m][l];
        for(int i = 0; i < n; i++) {
            for(int j = 0; j < m; j++) {
                a[i][j] = scn.nextInt();
            }
        }
        for(int i = 0; i < m; i++) {
            for(int j = 0; j < l; j++) {
                b[i][j] = scn.nextInt();
            }
        }
        for(int i = 0; i < n; i++) {
            for(int j = 0; j < l; j++) {
                long v = 0;
                for(int k = 0; k < m; k++) {
                    v += a[i][k] * b[k][j];
                }
                if(j > 0) System.out.print(" " + v);
                else System.out.print("" + v);
            }
            System.out.println();
        }
    }
}

Compiler output:
Main.java:3: error: class ITP1_7_D is public, should be declared in a file named ITP1_7_D.java
public class ITP1_7_D {
       ^
1 error
Language: Java

import util.Scanner;
class Main{
pubilc static void main(String[] args){
Scanner scan=new Scanner(System.in);
int[][] A=new int[101][101];
int[][] B=new int[101][101];
int[][] sum=new int[101][101];
int a=scan.nextInt();
int b=scan.nextInt();
int c=scan.nextInt();
for(int i=0;i<a;i++){
for(int j=0;j<c;j++){
sum[i][j]=0;
}
}
for(int i=0;i<a;i++){
for(int j=0;j<b;j++){
A[i][j]=scan.nextInt();
}
}
for(int i=0;i<b;i++){
for(int j=0;j<c;j++){
B[i][j]=scan.nextInt();
}
}
for(int l=0;l<a;l++){
for(int m=0;m<b;m++){
for(int n=0;n<c;n++){
sum[l][n]+=A[l][m]*B[m][n];
}
}
}

for(int i=0;i<a;i++){
for(int j=0;j<c;j++){
System.out.print(sum[i][j]);
}
if(c-1!=j)
System.out.print(" ");
else
System.out.println();
}

}
}

Compiler output:
Main.java:3: error: <identifier> expected
pubilc static void main(String[] args){
      ^
1 error
Language: Java

import java.util.Scanner;
public class MatrixMultiplication{
    public static void main(String[] args) {
	Scanner scan = new Scanner(System.in);
	while (scan.hasNext()) {
	    int n = scan.nextInt();
	    int m = scan.nextInt();
	    int l = scan.nextInt();
	    int[][] a = new int[n][m];
	    int[][] b = new int[m][l];
	    long[][] c = new long[n][l];
	    for (int i = 0; i < n; i++) {
		for (int j = 0; j < m; j++) {
		    a[i][j] = scan.nextInt();
		}
	    }
	    for (int i = 0; i < m; i++) {
		for (int j = 0; j < l; j++) {
		    b[i][j] = scan.nextInt();
		}
	    }
	    for (int i = 0; i < n; i++) {
		for (int j = 0; j < l; j++) {
		    for (int k = 0; k < m; k++) {
			c[i][j] += (long)(a[i][k] * b[k][j]);
		    }
		}
	    }
	    for (int i = 0; i < n; i++) {
		System.out.print(c[i][0]);
		for (int j = 1; j < l; j++) {
		    System.out.print(" " + c[i][j]);
		}
		System.out.println();
	    }
	}
    }
}

Compiler output:
Main.java:2: error: class MatrixMultiplication is public, should be declared in a file named MatrixMultiplication.java
public class MatrixMultiplication{
       ^
1 error
Language: Java

//import java.io.File;
import java.util.Scanner;

class Main{
	public static void main(String[] args) {
try{
		//Scanner scan = new Scanner(new File("in.txt"));
		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int m = scan.nextInt();
		int l = scan.nextInt();

		int[][] arr1 = new int[n][m];
		for(int i = 0; i < n; i++) {
			for(int j = 0; j < m; j++) {
				arr1[i][j] = scan.nextInt();
			}
		}
		int[][] arr2 = new int[m][l];
		for(int i = 0; i < m; i++) {
			for(int j = 0; j < l; j++) {
				arr2[i][j] = scan.nextInt();
			}
		}

		for(int i = 0; i < n; i++) {
			for(int j = 0; j < l; j++) {
				int sum = 0;
				for(int k = 0; k < m; k++) {
					sum += arr1[i][k]*arr2[k][j];
				}
				System.out.print(sum);
				if(j!=l-1) System.out.print(" ");
			}
			//if(i!=n-1) System.out.println();
		}
		

}catch(Exception e) {
	e.printStackTrace();
}

Compiler output:
Main.java:42: error: reached end of file while parsing
}
 ^
1 error
Language: Java

//import java.io.File;
import java.util.Scanner;

class Main{
	public static void main(String[] args) {
try{
		//Scanner scan = new Scanner(new File("in.txt"));
		Scanner scan = new Scanner(System.in);

		int n = scan.nextInt();
		int m = scan.nextInt();
		int l = scan.nextInt();

		int[][] arr1 = new int[n][m];
		for(int i = 0; i < n; i++) {
			for(int j = 0; j < m; j++) {
				arr1[i][j] = scan.nextInt();
			}
		}
		int[][] arr2 = new int[m][l];
		for(int i = 0; i < m; i++) {
			for(int j = 0; j < l; j++) {
				arr2[i][j] = scan.nextInt();
			}
		}

		for(int i = 0; i < n; i++) {
			for(int j = 0; j < l; j++) {
				int sum = 0;
				for(int k = 0; k < m; k++) {
					sum += arr1[i][k]*arr2[k][j];
				}
				System.out.print(sum);
				if(j!=l-1) System.out.print(" ");
			}
		}
		

}catch(Exception e) {
	e.printStackTrace();
}

Compiler output:
Main.java:41: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util.*;

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        long n = scan.nextInt(), m = scan.nextInt(), l = scan.nextInt();
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];

        for (int i = 0; i < n; i++) {
            for (int j = 0; j < m; j++) {
                a[i][j] = scan.nextInt();
            }
        }

        for (int i = 0; i < m; i++) {
            for (int j = 0; j < l; j++) {
                b[i][j] = scan.nextInt();
            }
        }

        for (int i = 0; i < n; i++) {
            for (int j = 0; j < l; j++) {
                int sum = 0;
                for (int k = 0; k < m; k++) {
                    sum += a[i][k] * b[k][j];
                }
                c[i][j] = sum;
            }
        }

        for (int i = 0; i < n; i++) {
            for (int j = 0; j < l; j++) {
                if (j == l -1) {
                    System.out.print(c[i][j]);
                } else {
                    System.out.print(c[i][j] + " ");
                }
            }
            System.out.println();
        }
    }
}

Compiler output:
Main.java:7: error: incompatible types: possible lossy conversion from long to int
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];
                              ^
Main.java:7: error: incompatible types: possible lossy conversion from long to int
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];
                                 ^
Main.java:7: error: incompatible types: possible lossy conversion from long to int
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];
                                                  ^
Main.java:7: error: incompatible types: possible lossy conversion from long to int
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];
                                                     ^
Main.java:7: error: incompatible types: possible lossy conversion from long to int
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];
                                                                      ^
Main.java:7: error: incompatible types: possible lossy conversion from long to int
        long[][] a = new long[n][m], b = new long[m][l], c = new long[n][l];
                                                                         ^
6 errors
Language: Java

public class Main {
	public static void main(String[] args) throws IOException {

		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String[] strs = br.readLine().split(" ");
		int n = Integer.parseInt(strs[0]);
		int m = Integer.parseInt(strs[1]);
		int l = Integer.parseInt(strs[2]);

		int[][] list01 = new int[n][m];
		int[][] list02 = new int[m][l];
		double[][] list03 = new double[n][l];

		for (int i = 0; i < n; i++) {
			String[] str = br.readLine().split(" ");
			for (int j = 0; j < m; j++) {
				list01[i][j] += Integer.parseInt(str[j]);
			}
		}

		for (int i = 0; i < m; i++) {
			String[] str = br.readLine().split(" ");
			for (int j = 0; j < l; j++) {
				list02[i][j] += Integer.parseInt(str[j]);
			}
		}

		for (int i = 0; i < n; i++) {
			for (int j = 0; j < m; j++) {
				for (int k = 0; k < l; k++) {
					list03[i][k] += (double)list01[i][j] * list02[j][k];
				}
			}
		}

		for (int i = 0; i < n; i++) {
			for (int j = 0; j < (l - 1); j++) {
				System.out.print(list03[i][j] + " ");
			}
			System.out.println(list03[i][l - 1]);
		}

	}
}

Compiler output:
Main.java:2: error: cannot find symbol
	public static void main(String[] args) throws IOException {
	                                              ^
  symbol:   class IOException
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		                                           ^
  symbol:   class InputStreamReader
  location: class Main
4 errors
Language: Java

import java.io.*;
public class Main {
	public static void main(String[] args) throws IOException{
		BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
		String line = reader.readLine();
		String[] sarray = line.split(" ", -1);
		int n = Integer.parseInt(sarray[0]);
		int m = Integer.parseInt(sarray[1]);
		int l = Integer.parseInt(sarray[2]);
		int matrixA[][] = new int[n][m];
		int matrixB[][] = new int[m][l];
		long matrixC[][] = new int[n][l];
		for(int i = 0; i < n; i++){//??????A???????????????
			String str = reader.readLine();
			String[] mat = str.split(" ", -1);
			for(int j = 0; j < m; j++){
				matrixA[i][j] = Integer.parseInt(mat[j]);
			}
		}
		for(int i = 0; i < m; i++){//??????B???????????????
			String str = reader.readLine();
			String[] mat = str.split(" ", -1);
			for(int j = 0; j < l; j++){
				matrixB[i][j] = Integer.parseInt(mat[j]);
			}
		}
		for(int i = 0; i < n; i++){//??????C????????????
			for(int j = 0; j < l; j++){
				matrixC[i][j] = 0;
			}
		}
		for(int i = 0; i < n; i++){//??????A,??????B??????
			for(int j = 0; j < l; j++){
				for(int k = 0; k < m; k++){
					matrixC[i][j] += long matrixA[i][k]* long matrixB[k][j];
				}
				System.out.print(matrixC[i][j]);
				if(j != l - 1){
					System.out.print(" ");
				}else{
					System.out.println();
				}
			}
		}
	}
}

Compiler output:
Main.java:35: error: '.class' expected
					matrixC[i][j] += long matrixA[i][k]* long matrixB[k][j];
					                      ^
Main.java:35: error: '.class' expected
					matrixC[i][j] += long matrixA[i][k]* long matrixB[k][j];
					                                          ^
Main.java:35: error: not a statement
					matrixC[i][j] += long matrixA[i][k]* long matrixB[k][j];
					                                   ^
Main.java:35: error: not a statement
					matrixC[i][j] += long matrixA[i][k]* long matrixB[k][j];
					                                                    ^
4 errors
Language: Java

import java.util.*;

public class Main{
	private static final Scanner scan = new Scanner(System.in);

	public static void main(String[] args){
		int n = scan.nextInt();
		int m = scan.nextInt();
		int l = scan.nextInt();
		int[][] A = new int[n][m];
		int[][] B = new int[m][l];
		long[][] C = new long[n][l];
		for(int i = 0; i < n; i++){
			for(int j = 0; j < m; j++){
				A[i][j] = scan.nextInt();
			}
		}
		for(int i = 0; i < m; i++){
			for(int j = 0; j < l; j++){
				B[i][j] = scan.nextInt();
			}
		}

		for(int i = 0; i < n; i++){
			for(int j = 0; j < l; j++){
				for(int k = 0; k < m; k++){
					C[i][j] += (long) A[i][k] * (long) B[k][j];
				}
				if(j != l -1){
					System.out.printf("%d ", c[i][j]);
				} else{
					System.out.printf("%d\n", c[i][j]);
				}
			}
		}
	}
}

Compiler output:
Main.java:30: error: cannot find symbol
					System.out.printf("%d ", c[i][j]);
					                         ^
  symbol:   variable c
  location: class Main
Main.java:32: error: cannot find symbol
					System.out.printf("%d\n", c[i][j]);
					                          ^
  symbol:   variable c
  location: class Main
2 errors
Language: Java

package internship;

import java.io.IOException;
import java.util.Scanner;

public class Matrix {

	public static void main(String[] args) throws IOException {

		Scanner sc = new Scanner(System.in);
		int numN = sc.nextInt();
		int numM = sc.nextInt();
		int numL = sc.nextInt();
		int arrA[][] = new int[numN][numM];
		int arrB[][] = new int[numM][numL];
		int arrTot[][] = new int[numN][numL];

		for (int i = 0; i < numN; i++) {
			for (int j = 0; j < numM; j++) {
				arrA[i][j] = sc.nextInt();
			}
		}
		for (int i = 0; i < numM; i++) {
			for (int j = 0; j < numL; j++) {
				arrB[i][j] = sc.nextInt();
			}
		}
		for (int i = 0; i < numN; i++) {
			for (int j = 0; j < numL; j++) {
				for (int k = 0; k < numM; k++) {
					arrTot[i][j] += arrA[i][k] * arrB[k][j];
				}
			}
		}
		for (int i = 0; i < numN; i++) {
			System.out.print(arrTot[i][0]);
			for (int j = 1; j < numL; j++) {
				System.out.print(" " + arrTot[i][j]);
			}
			System.out.println();
		}
	}
}

Compiler output:
Main.java:6: error: class Matrix is public, should be declared in a file named Matrix.java
public class Matrix {
       ^
1 error
Language: Java


class Main28 {
	public static void main(String[] args){
		try{
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			String buf = br.readLine();
			String[] line = buf.split(" ");
			int n = Integer.parseInt(line[0]);
			int m = Integer.parseInt(line[1]);
			int l = Integer.parseInt(line[2]);
			int[][] mat1 = new int [n][m];
			int[][] mat2 =new int [m][l];	
		
		for(int i = 0;i < n;i++){
			String[] str = buf.split(" ");
			for(int j =0;j < m;j++){
				mat1[i][j] = 0;
				int a = Integer.parseInt(str[j]);
				mat1[i][j] += a; 
			}
		}
		for(int i = 0;i < m;i++){
			String[] str = buf.split(" ");
			for(int j=0;j <l;j++){
				mat2[i][j] = 0;
				int a = Integer.parseInt(str[j]);
				mat2[i][j] +=a;
			}
		}
		
		for(int i = 0;i < n;i++){
			int a = 0;
			for(int k = 0;k < l;k++){
				for(int j = 0;j < m;j++){
					a = mat1[i][j]*mat2[j][k];
				}
			}
			System.out.println(a);
		}
	}catch(Exception e){
	} 
	}
}

Compiler output:
Main.java:5: error: cannot find symbol
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			^
  symbol:   class BufferedReader
  location: class Main28
Main.java:5: error: cannot find symbol
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			                        ^
  symbol:   class BufferedReader
  location: class Main28
Main.java:5: error: cannot find symbol
			BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
			                                           ^
  symbol:   class InputStreamReader
  location: class Main28
3 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.io.IOException;
public class Main{
	public static void main(String[] args) throws IOException{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String[] elm = br.readLine().split(" ");
		int n = Integer.parseInt(elm[0]);
		int m = Integer.parseInt(elm[1]);
		int l = Integer.parseInt(elm[2]);
		int[][] mata = new int[n][m];
		int[][] matb = new int[m][l];
		long[][] ans = new int[n][l];
		for(int i = 0; i < n ; i++){
			String[] line = br.readLine().split(" ");
			for(int j = 0; j < m ; j++){
				mata[i][j] = Integer.parseInt(line[j]);
			}
		}
		for(int i = 0; i < m ; i++){
			String[] line = br.readLine().split(" ");
			for(int j = 0; j < l ; j++){
				matb[i][j] = Integer.parseInt(line[j]);
			}
		}
		for(int i = 0; i < n ; i++){
			for(int j = 0; j < l ; j++){
				for(int k = 0; k < m; k++){
					ans[i][j] += mata[i][k] * matb[k][j];
				}
				sb.append(ans[i][j]);
				if( j != l-1) sb.append(" ");
				//System.out.print(ans[i][j]+" ");
			}
			sb.append("\n");
			//System.out.println();
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:14: error: incompatible types: int[][] cannot be converted to long[][]
		long[][] ans = new int[n][l];
		               ^
1 error
Language: Java

import java.util.Scanner;

public class Multiplication {
	private static Scanner sc=new Scanner(System.in);
	private static int n=sc.nextInt();
	private static int m=sc.nextInt();
	private static int l=sc.nextInt();
	private static int[][] a=new int[n][m];
	private static int[][] b=new int[m][l];
	private static int[][] c=new int[n][l];
	public static void main(String[] args){
		for(int i=0;i<n;i++){
			for(int j=0;j<m;j++){
				a[i][j]=sc.nextInt();
			}
		}
		for(int i=0;i<m;i++){
			for(int j=0;j<l;j++){
				b[i][j]=sc.nextInt();
			}
		}
		multiply();
		for(int i=0;i<n;i++){
			for(int k=0;k<l-1;k++){
				System.out.print(c[i][k]+" ");
			}
			System.out.println(c[i][l-1]);
		}
	}
	private static void multiply(){
		for(int i=0;i<n;i++){
			for(int k=0;k<l;k++){
				for(int j=0;j<m;j++){
					c[i][k]+=a[i][j]*b[j][k];
				}
			}
		}
	}
}

Compiler output:
Main.java:3: error: class Multiplication is public, should be declared in a file named Multiplication.java
public class Multiplication {
       ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
class Main{
  public static void main(String args[]) throws IOException{
   int n,m,l;
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   String line = br.readLine(); 
   String[] token = line.split(" ");
   n = Integer.parseInt(token[0]);
   m = Integer.parseInt(token[1]);
   l = Integer.parseInt(token[2]); 
   int[][] matrixA = new int[n][m];
   int[] matrixB = new int[m][l];
   int[] matrixanswer = new int[n][l]; 
 
   for(int i = 0; i < n ;i++){
     String line2 = br.readLine(); 
     String[] token2 = line2.split(" ");
     for(int j = 0; j < m ;j++){
        matrixA[i][j] = Integer.parseInt(token2[j]);
         
     }//for  
   }//for
 
   for(int k = 0; k < m ;k++){
     String line2 = br.readLine(); 
     String[] token2 = line2.split(" ");
     for(int l = 0; l < l ;l++){
        matrixB[k][l] = Integer.parseInt(token2[l]);
         
     }//for  
   }//for
 
   for(int o = 0; o < m ;o++){
      for(int p = 0; p < l ;p++){
        matrixanswer[o][p] = 0;
         
     }//for 
   }   
 
  for(int q = 0; q < m ;q++){
      for(int r = 0; r < l ;r++){
        matrixanswer[q][r] += matrixA[q][r]*matrixB[q][r];
      }
   
  }
 
    for(int s = 0; s < m ;s++){
      for(int t = 0; t < l ;t++){
       if(t<l-1){ 
        System.out.print(matrixanswer[s][t]+" ");
       }else{
        System.out.print(matrixanswer[s][t]);
       }
      }
       System.out.print("\n"); 
    }
 
  }
}

Compiler output:
Main.java:15: error: incompatible types: int[][] cannot be converted to int[]
   int[] matrixB = new int[m][l];
                   ^
Main.java:16: error: incompatible types: int[][] cannot be converted to int[]
   int[] matrixanswer = new int[n][l]; 
                        ^
Main.java:30: error: variable l is already defined in method main(String[])
     for(int l = 0; l < l ;l++){
             ^
Main.java:31: error: array required, but int found
        matrixB[k][l] = Integer.parseInt(token2[l]);
                  ^
Main.java:38: error: array required, but int found
        matrixanswer[o][p] = 0;
                       ^
Main.java:45: error: array required, but int found
        matrixanswer[q][r] += matrixA[q][r]*matrixB[q][r];
                       ^
Main.java:45: error: array required, but int found
        matrixanswer[q][r] += matrixA[q][r]*matrixB[q][r];
                                                      ^
Main.java:53: error: array required, but int found
        System.out.print(matrixanswer[s][t]+" ");
                                        ^
Main.java:55: error: array required, but int found
        System.out.print(matrixanswer[s][t]);
                                        ^
9 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
 
class Main{
  public static void main(String args[]) throws IOException{
   int n,m,l;
   BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
   String line = br.readLine(); 
   String[] token = line.split(" ");
   n = Integer.parseInt(token[0]);
   m = Integer.parseInt(token[1]);
   l = Integer.parseInt(token[2]); 
   int[][] matrixA = new int[n][m];
   int[][] matrixB = new int[m][l];
   int[][] matrixanswer = new int[n][l]; 
 
   for(int i = 0; i < n ;i++){
     String line2 = br.readLine(); 
     String[] token2 = line2.split(" ");
     for(int j = 0; j < m ;j++){
        matrixA[i][j] = Integer.parseInt(token2[j]);
         
     }//for  
   }//for
 
   for(int k = 0; k < m ;k++){
     String line2 = br.readLine(); 
     String[] token2 = line2.split(" ");
     for(int l = 0; l < l ;l++){
        matrixB[k][l] = Integer.parseInt(token2[l]);
         
     }//for  
   }//for
 
   for(int o = 0; o < m ;o++){
      for(int p = 0; p < l ;p++){
        matrixanswer[o][p] = 0;
         
     }//for 
   }   
 
  for(int q = 0; q < m ;q++){
      for(int r = 0; r < l ;r++){
        matrixanswer[q][r] += matrixA[q][r]*matrixB[q][r];
      }
   
  }
 
    for(int s = 0; s < m ;s++){
      for(int t = 0; t < l ;t++){
       if(t<l-1){ 
        System.out.print(matrixanswer[s][t]+" ");
       }else{
        System.out.print(matrixanswer[s][t]);
       }
      }
       System.out.print("\n"); 
    }
 
  }
}

Compiler output:
Main.java:30: error: variable l is already defined in method main(String[])
     for(int l = 0; l < l ;l++){
             ^
1 error
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int num1 = sc.nextInt();
		int num2 = sc.nextInt();
		int num3 = sc.nextInt();

		//????????????????????????????????£?¨?
		int[][] gyoretu1 = new int[num1][num2];
		//?????????????????????????????????????????£?¨?
		int[][] gyoretu2 = new int[num2][num3];

		//??????????????£??\
		for(int i = 0;i < gyoretu1.length; i++ ) {
			for(int j = 0;j < gyoretu1[i].length;j++) {
				gyoretu1[i][j] = sc.nextInt();
			}
		}
		for(int i = 0;i < gyoretu2.length ;i++) {
			for(int j = 0;j < gyoretu2[i].length; j++){
				gyoretu2[i][j] = sc.nextInt();
			}
		}



		int[][] ans = new int[num1][num3];

		for(int i = 0;i < ans.length;i++) {
			for(int j = 0;j < ans[i].length;j++) {
				for(int y = 0;y < gyoretu2.length;y++) {
					ans[i][j] += gyoretu1[i][y] * gyoretu2[y][j];
				}
			}
		}

		for(int i = 0;i < ans.length;i++) {
			for(int j = 0;j < ans[i].length;j++) {
				System.out.print(ans[i][j] + " ");
			}
			System.out.println();
		}
	}
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.io.*;

public class Main{
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] line = br.readLine().split(" ");
        int n = Integer.parseInt(line[0]);
        int m = Integer.parseInt(line[1]);
        int l = Integer.parseInt(line[2]);
        int[][] a = new int[n][m];
        int[][] b = new int[m][l];
        long[][] c = new int[n][l];

        for(int i = 0; i < n; i++){
            line = br.readLine().split(" ");
            for(int j = 0; j < m; j++){
                a[i][j] = Integer.parseInt(line[j]);
            }
        }

        for(int i = 0; i < m; i++){
            line = br.readLine().split(" ");
            for(int j = 0; j < l; j++){
                b[i][j] = Integer.parseInt(line[j]);
            }
        }

        for(int i = 0; i < n; i++){
            for(int j = 0; j < l; j++){
                for(int k = 0; k < m; k++)
                    c[i][j] += a[i][k] * b[k][j];
            }
        }

        for(int i = 0; i < n; i++){
            for(int j = 0; j < l; j++){
                System.out.print(c[i][j]);
                if(j != l-1)
                    System.out.print(" ");
            }
            System.out.print("\n");
        }
    }
}

Compiler output:
Main.java:12: error: incompatible types: int[][] cannot be converted to long[][]
        long[][] c = new int[n][l];
                     ^
1 error
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {

		int numN;
		int numM;
		int numL;

		int[][] boxA;
		int[][] boxB;
		int[][] boxAnser;

		String outPut = "";

		Scanner sc = null;

		try {
			sc = new Scanner(System.in);

			//1???????????\???
			numN = sc.nextInt();
			numM = sc.nextInt();
			numL = sc.nextInt();

			boxA = new int[numN][numM];
			boxB = new int[numM][numL];
			boxAnser = new int[numN][numL];

			//???????????????

			//??????A?????????
			for (int i = 0; i < boxA.length; i++) {
				for (int j = 0; j < boxA[0].length; j++) {
					boxA[i][j] = sc.nextInt();
				}
			}
			//??????B?????????
			for (int i = 0; i < boxB.length; i++) {
				for (int j = 0; j < boxB[0].length; j++) {
					boxB[i][j] = sc.nextInt();
				}
			}
			//??????????£???§?¨????
			for (int i = 0; i < boxAnser.length; i++) {
				for (int j = 0; j < boxAnser[0].length; j++) {
					for (int k = 0; k < numM; k++) {

						boxAnser[i][j] += boxA[i][k] * boxB[k][j];
					}
				}
			}

			//???????????????
			for (int i = 0; i < boxAnser.length; i++) {
				for (int j = 0; j < boxAnser[0].length; j++) {
					if (!outPut.equals("")) {
						outPut += " ";
					}
					outPut += boxAnser[i][j];
				}
				System.out.println(outPut);
				outPut = "";
			}
		} finally {
			sc.close();
		}
	}

Compiler output:
Main.java:69: error: reached end of file while parsing
	}
	 ^
1 error
Language: Java

import java.util.*;
import java.io.Scanner;

public class Main{
 public static void main(String[] args) {
   Scanner scan = new Scanner(System.in);
   int n = scan.nextInt();
   int m = scan.nextInt();
   int l = scan.nextInt();

   int [][] a = new int [n][m];
   int [][] b = new int [m][l];
   int [][] c = new int [n][l];

   for (int i = 0 ; i < n ; i++ ) {
        for (int j = 0 ; j < m ; j++ ) {
          a[i][j] = scan.nextInt();
        }
   }
   for (int i = 0 ; i < m ; i++ ) {
        for (int j = 0 ; j < l ; j++ ) {
          b[i][j] = scan.nextInt();
        }
   }
   for (int i = 0 ; i < n ; i++ ) {
        for (int j = 0 ; j < l ; j++ ) {
          for (int k = 0; k < m ; k++ ) {
            c[i][j] += a[i][k] * b[k][j] ;
          }
     }
   }
   for (int i = 0 ; i < n ; i++ ) {
        for (int j = 0 ; j < l ; j++ ) {
          if (j != l-1) {
            System.out.print(c[i][j] + " ");
          }
          else{
            System.out.println(c[i][j]);
          }
        }

   }
   }
 }
}

Compiler output:
Main.java:45: error: class, interface, enum, or record expected
}
^
1 error
Language: Java

import java.util.*;
import java.io.Scanner;

public class Main{
 public static void main(String[] args) {
   Scanner scan = new Scanner(System.in);
   int n = scan.nextInt();
   int m = scan.nextInt();
   int l = scan.nextInt();

   int [][] a = new int [n][m];
   int [][] b = new int [m][l];
   int [][] c = new int [n][l];

   for (int i = 0 ; i < n ; i++ ) {
        for (int j = 0 ; j < m ; j++ ) {
          a[i][j] = scan.nextInt();
        }
   }
   for (int i = 0 ; i < m ; i++ ) {
        for (int j = 0 ; j < l ; j++ ) {
          b[i][j] = scan.nextInt();
        }
   }
   for (int i = 0 ; i < n ; i++ ) {
        for (int j = 0 ; j < l ; j++ ) {
          for (int k = 0; k < m ; k++ ) {
            c[i][j] += a[i][k] * b[k][j] ;
          }
     }
   }
   for (int i = 0 ; i < n ; i++ ) {
        for (int j = 0 ; j < l ; j++ ) {
          if (j != l-1) {
            System.out.print(c[i][j] + " ");
          }
          else{
            System.out.println(c[i][j]);
          }
        }

   }
   }
 }

Compiler output:
Main.java:2: error: cannot find symbol
import java.io.Scanner;
              ^
  symbol:   class Scanner
  location: package java.io
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String[] st = sc.readLine().split(" ");
		int n = Integer.parseInt(st[0]);
		int m = Integer.parseInt(st[1]);
		int l = Integer.parseInt(st[2]);
		int[][] a = new int[n][m];
		int[][] b = new int[m][l];
		int t = 0;
		for(int i = 0;i < n;i++){
			st = sc.readLine().split(" ");
			for(int k = 0;k < m;k++){
				a[i][k] = Integer.parseInt(st[k]);
			}
		}
		for(int i = 0;i < m;i++){
			st = sc.readLine().split(" ");
			for(int k = 0;k < l;k++){
				b[i][k] = Integer.parseInt(st[k]);
			}
		}
		for(int i = 0;i < l;i++){
			for(int k = 0;k < l;k++){
				for(int j = 0;j < m;j++){
					t += a[i][j]*b[j][k];
				}
				sb.append(t)
				if(j!=l-1)
					sb.append(" ");
				t = 0;
			}
			sb.append("\n");
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:32: error: ';' expected
				sb.append(t)
				            ^
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.lang.StringBuilder;
public class Main {
	public static void main(String[] args) throws Exception{
		BufferedReader sc = new BufferedReader(new InputStreamReader(System.in));
		StringBuilder sb = new StringBuilder();
		String[] st = sc.readLine().split(" ");
		int n = Integer.parseInt(st[0]);
		int m = Integer.parseInt(st[1]);
		int l = Integer.parseInt(st[2]);
		int[][] a = new int[n][m];
		int[][] b = new int[m][l];
		int t = 0;
		for(int i = 0;i < n;i++){
			st = sc.readLine().split(" ");
			for(int k = 0;k < m;k++){
				a[i][k] = Integer.parseInt(st[k]);
			}
		}
		for(int i = 0;i < m;i++){
			st = sc.readLine().split(" ");
			for(int k = 0;k < l;k++){
				b[i][k] = Integer.parseInt(st[k]);
			}
		}
		for(int i = 0;i < l;i++){
			for(int k = 0;k < l;k++){
				for(int j = 0;j < m;j++){
					t += a[i][j]*b[j][k];
				}
				sb.append(t);
				t = 0;
				if(j!=l-1)
					sb.append(" ");
			}
			sb.append("\n");
		}
		System.out.print(sb);
	}
}

Compiler output:
Main.java:34: error: cannot find symbol
				if(j!=l-1)
				   ^
  symbol:   variable j
  location: class Main
1 error
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Mein {
	public static void main(String[] args){
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String str[];
		try {
			str = br.readLine().split(" ");
			int n = Integer.parseInt(str[0]);
			int m = Integer.parseInt(str[1]);
			int l = Integer.parseInt(str[2]);
			int a[][] = new int[n][m];
			int b[][] = new int[m][l];
			int c[][] = new int[n][l];
			for(int i=0;i<n;i++){
				str = br.readLine().split(" ");
				for(int j=0;j<m;j++){
					a[i][j]=Integer.parseInt(str[j]);
				}
			}
			for(int i=0;i<m;i++){
				str = br.readLine().split(" ");
				for(int j=0;j<l;j++){
					b[i][j]=Integer.parseInt(str[j]);
				}
			}

			for(int i=0;i<n;i++){
				for(int j=0;j<l;j++){
					for(int k=0;k<m;k++){
						c[i][j]+=a[i][k]*b[k][j];
					}
				}
			}
			for(int i=0;i<n;i++){
				if(i != 0){
					System.out.println();
				}
				for(int j=0;j<l;j++){
					if(j != 0){
						System.out.print(" ");
					}
					System.out.print(c[i][j]);
				}
			}
		} catch (Exception e) {
			System.err.println(e);
		}
	}
}

Compiler output:
Main.java:4: error: class Mein is public, should be declared in a file named Mein.java
public class Mein {
       ^
1 error