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

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		
		int n = sc.nextInt();      //A?????????????????????????????????????????????
		int m = sc.nextInt();      //A??????????????????????????????????????????B????????????????????????????????????????????????
		int l = sc.nextInt();      //B?????????????????????????????????????????????
		int[][] c = new int[n][l];  //c?????????A,B??????????????????????????????
		int[][] a = new int[n][m];  //a?????????A???????´???§???
		int[][] b = new int[m][l];  //b?????????B???????´???§???
	//??????A???????´??????\???????????????	
		for(int i = 0; i < n ; i++) {
			for(int j = 0 ; j < m ; j++) {
				a[i][j] = sc.nextInt();
			}
		}
    //??????B???????´??????\???????????????		
		for(int j = 0 ; j < m ; j++) {
			for(int k = 0 ; k < l ; k++) {
				b[j][k] = sc.nextInt();
			}
		}
		
	//??????c???????´?????¨??????????????????????????????????		
		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];
				}
				if(i < n & k < l)
				System.out.print(c[i][k] +" "); 	//????????????????????????????????????
			}
			System.out.print();
		}
		
		sc.close();
	}

}

Compiler output:
Main.java:35: error: no suitable method found for print(no arguments)
			System.out.print();
			          ^
    method PrintStream.print(boolean) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(char) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(int) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(long) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(float) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(double) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(char[]) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(String) is not applicable
      (actual and formal argument lists differ in length)
    method PrintStream.print(Object) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.Scanner;

public class MaiD {

	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[][] table = new int[num1][num2];
		int[][] grid = new int[num2][num3];

		for (int cnt1 = 0; cnt1 < num1; cnt1++) {

			for (int cnt2 = 0; cnt2 < num2; cnt2++) {

				table[cnt1][cnt2] = sc.nextInt();
			}
		}

		for (int cnt1 = 0; cnt1 < num2; cnt1++) {

			for (int cnt2 = 0; cnt2 < num3; cnt2++) {

				grid[cnt1][cnt2] = sc.nextInt();
			}
		}

		// 2??????????¬????????????????????¨????
		long [][] sum = new long[num1][num3];
		int cnt0;
		int cnt1;
		int cnt2;

		for (cnt0 = 0; cnt0 < num1; cnt0++) {

			for (cnt1 = 0; cnt1 < num3; cnt1++) {

				for (cnt2 = 0; cnt2 < num2; cnt2++) {

					sum[cnt0][cnt1] += table[cnt0][cnt2] * grid[cnt2][cnt1];

				}
				if (cnt1 >= num3-1) {

					System.out.println(sum[cnt0][cnt1]);

				} else {

					System.out.print(sum[cnt0][cnt1] + " ");

				}
			}

		}
		sc.close();
	}

}

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

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().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];
		int C =new int[n][l];
	//A	
		for(int i=0;i<n;i++){
			String[] input = sc.nextLine();
			for(int j=0;j<m;j++){
				A[i][j]=Integer.parseInt(input[j]);
			}
		}
	//B	
		for(int i=0;i<m;i++){
			String[] input= sc.nextLine();
			for(int j=0;j<l;j++){
				B[i][j]=Integer.parseInt(input[j]);
			}
		}
	//C
		for(int i=0;i<n;i++){
			for(int j=0;j<l;l++){
				for(int k=0;k<m;k++){
					C[i][j]=A[i][k]*B[k][j];
				}
			}
		}
	//System.out	
		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][l-1]);
		}
	}
}
		

Compiler output:
Main.java:10: error: incompatible types: int[][] cannot be converted to int
		int A =new int[n][m];
		       ^
Main.java:11: error: incompatible types: int[][] cannot be converted to int
		int B =new int[m][l];
		       ^
Main.java:12: error: incompatible types: int[][] cannot be converted to int
		int C =new int[n][l];
		       ^
Main.java:15: error: incompatible types: String cannot be converted to String[]
			String[] input = sc.nextLine();
			                            ^
Main.java:17: error: array required, but int found
				A[i][j]=Integer.parseInt(input[j]);
				 ^
Main.java:22: error: incompatible types: String cannot be converted to String[]
			String[] input= sc.nextLine();
			                           ^
Main.java:24: error: array required, but int found
				B[i][j]=Integer.parseInt(input[j]);
				 ^
Main.java:31: error: array required, but int found
					C[i][j]=A[i][k]*B[k][j];
					 ^
Main.java:31: error: array required, but int found
					C[i][j]=A[i][k]*B[k][j];
					         ^
Main.java:31: error: array required, but int found
					C[i][j]=A[i][k]*B[k][j];
					                 ^
Main.java:38: error: array required, but int found
				System.out.print(C[i][j]+" ");
				                  ^
Main.java:40: error: array required, but int found
			System.out.println(C[i][l-1]);
			                    ^
12 errors
Language: Java

import java.util.*;

class Main{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().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];
		int[][] c =new int[n][l];
	//A	
		for(int i=0;i<n;i++){
			String[] input = sc.nextLine();
			for(int j=0;j<m;j++){
				a[i][j]=Integer.parseInt(input[j]);
			}
		}
	//B	
		for(int i=0;i<m;i++){
			String[] input= sc.nextLine();
			for(int j=0;j<l;j++){
				b[i][j]=Integer.parseInt(input[j]);
			}
		}
	//C
		for(int i=0;i<n;i++){
			for(int j=0;j<l;l++){
				for(int k=0;k<m;k++){
					c[i][j]=a[i][k]*b[k][j];
				}
			}
		}
	//System.out	
		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][l-1]);
		}
	}
}
		

Compiler output:
Main.java:15: error: incompatible types: String cannot be converted to String[]
			String[] input = sc.nextLine();
			                            ^
Main.java:22: error: incompatible types: String cannot be converted to String[]
			String[] input= sc.nextLine();
			                           ^
2 errors
Language: Java

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();
        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++) {
        	for(int j = 0; j < m; j++) {
        		int x = sc.nextInt();
        		a[i][j] = x;
        	}
        }

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

        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][l-1]);
        }
    }
}


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

import com.sun.javafx.geom.Matrix3f;

import java.util.Scanner;
import java.util.function.Function;

public class Main {

    public static void main(String[] args) {
        new Main().solve();
    }

    Scanner sc = new Scanner(System.in);

    void solve() {
        int n, m, l;
        int[][] m1, m2, m3;
        n = sc.nextInt();
        m = sc.nextInt();
        l = sc.nextInt();
        m1 = new int[n][];
        for (int i = 0; i < n; ++i) {
            m1[i] = new int[m];
            for (int j = 0; j < m; ++j) {
                m1[i][j] = sc.nextInt();
            }
        }
        m2 = new int[m][];
        for (int i = 0; i < m; ++i) {
            m2[i] = new int[l];
            for (int j = 0; j < l; ++j) {
                m2[i][j] = sc.nextInt();
            }
        }
        m3 = new int[n][];
        for (int i = 0; i < n; ++i) {
            m3[i] = new int[l];
            for (int j = 0; j < l; ++j) {
                int temp = 0;
                for (int k = 0; k < m; ++k) {
                    temp += m1[i][k] * m2[k][j];
                }
                m3[i][j] = temp;
            }
        }

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

    }

}




Compiler output:
Main.java:1: error: package com.sun.javafx.geom does not exist
import com.sun.javafx.geom.Matrix3f;
                          ^
1 error
Language: Java

import java.util.Scanner;
public class Main1{
    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 x = 0; x < n; x++){
            for(int y = 0; y < m; y++){
                a[x] [y] = scan.nextInt();
            }
        }
        for(int x = 0; x < m; x++){
            for(int y = 0; y < l; y++){
                b[x] [y] = scan.nextInt();
            }
        }
        for(int x =0; x < n; x++){
            for(int y = 0; y < l; y++){
                for(int r = 0; r < m; r++){
                    c[x][y] = c[x][y] + (a[x][r] * b[r][y]);
                }
            }
        }
        for(int x = 0; x < n; x++){
            for(int y = 0; y < l; y++){
                System.out.print(c[x] [y] + " ");
            }
            System.out.println();
        }
    }
}


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

import java.util.Scanner;

public class Test {
	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[100][100];
			int b[][] =new int[100][100];
			int c[][] = new int[100][100];
			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++) {
					System.out.printf(c[i][j]+" ");
				}
				System.out.println("");
			}
		scan.close();
}
}


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

import java.util.Scanner;

public class Test {
	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[100][100];
			int b[][] =new int[100][100];
			int c[][] = new int[100][100];
			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++) {
					System.out.print(c[i][j]+" ");
				}
				System.out.println();
			}
		scan.close();
}
}


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

import java.util.Scanner;

class Main {
  public static void main(String args[]) {
	  	Scanner scanner = new Scanner(System.in);
	  	int  matrixALine = scanner.nextInt();
	  	int  matrixARow = scanner.nextInt();
	  	int  matrixBRow = scanner.nextInt();
	  	int[][] arrayA;//配列確保
	  	int[][] arrayB;//配列確保
	  	int[][] arrayC;//配列確保
		arrayA = new int[matrixALine + 10][matrixARow + 10];
		arrayB = new int[matrixARow + 10][matrixBRow + 10];
		arrayC = new int[matrixALine + 10][matrixBRow + 10];
		int sum = 0;
  	
		//初期化
		
		// Aのデータ入力
		for (int i = 0; i < matrixALine; i++) {
			for (int j = 0; j < matrixARow; j++) {
				arrayA[i][j] = scanner.nextInt();
		    }
		}
		// Bのデータ入力
		for (int i = 0; i < matrixARow; i++) {
			for (int j = 0; j < matrixBRow; j++) {
				arrayB[i][j] = scanner.nextInt();
		    }
		}
		
		// Cのデータ作成
		for(int i = 0; i < matrixALine; i ++){
			for(int k  = 0; k <matrixBRow; k ++){
				for(int j = 0; j < matrixARow; j ++){
					sum += arrayA[i][j] * arrayB[j][k];
				}
				arrayC[i][k] = sum;
				sum = 0;
			}
		}
  		
		//出力
		for (int i = 0; i < matrixALine; i++) {
			for (int j = 0; j < matrixBRow; j++) {
		        if( (j - 1) == matrixALine && ( i - 1 ) < matrixBRow )
					System.out.println(arrayC[i][j] );
		        else if( (j - 1 ) == matrixALine && ( i - 1 ) == matrixBRow )
					System.out.printｌｎ(arrayC[i][j]);
		        else
					System.out.print(arrayC[i][j] + " ");
		    }
			System.out.print("\n");
		}
		scanner.close();
	}
}



Compiler output:
Main.java:49: error: cannot find symbol
					System.out.print??(arrayC[i][j]);
					          ^
  symbol:   method print??(int)
  location: variable out of type PrintStream
1 error
Language: Java

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();
	    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(intj=0;j<m;j++){
	            A[i][j]=sc.nextInt();
	        }
	    }
	    for(int i=0;i<m;i++){
	        for(intj=0;j<l;j++){
	            B[i][j]=sc.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 j=0;j<l;j++){
	            System.out.print(C[i][j]+" ")
	        }
	        System.out.println("");
	    }
	    
	    sc.close();
	}
}



Compiler output:
Main.java:31: error: ';' expected
	        for(int j j=0;j<l;j++){
	                 ^
Main.java:31: error: not a statement
	        for(int j j=0;j<l;j++){
	                       ^
Main.java:31: error: ')' expected
	        for(int j j=0;j<l;j++){
	                         ^
Main.java:31: error: ';' expected
	        for(int j j=0;j<l;j++){
	                             ^
Main.java:32: error: ';' expected
	            System.out.print(C[i][j]+" ")
	                                         ^
5 errors
Language: Java

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();
	    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(intj=0;j<m;j++){
	            A[i][j]=sc.nextInt();
	        }
	    }
	    for(int i=0;i<m;i++){
	        for(intj=0;j<l;j++){
	            B[i][j]=sc.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++){
	            System.out.print(C[i][j]+" ")
	        }
	        System.out.println("");
	    }
	    
	    sc.close();
	}
}



Compiler output:
Main.java:32: error: ';' expected
	            System.out.print(C[i][j]+" ")
	                                         ^
1 error
Language: Java

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();
	    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(intj=0;j<m;j++){
	            A[i][j]=sc.nextInt();
	        }
	    }
	    for(int i=0;i<m;i++){
	        for(intj=0;j<l;j++){
	            B[i][j]=sc.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++){
	            System.out.print(C[i][j]+" ");
	        }
	        System.out.println("");
	    }
	    
	    sc.close();
	}
}



Compiler output:
Main.java:2: error: class main is public, should be declared in a file named main.java
public class main{
       ^
Main.java:13: error: cannot find symbol
	        for(intj=0;j<m;j++){
	            ^
  symbol:   variable intj
  location: class main
Main.java:13: error: cannot find symbol
	        for(intj=0;j<m;j++){
	                   ^
  symbol:   variable j
  location: class main
Main.java:13: error: cannot find symbol
	        for(intj=0;j<m;j++){
	                       ^
  symbol:   variable j
  location: class main
Main.java:14: error: cannot find symbol
	            A[i][j]=sc.nextInt();
	                 ^
  symbol:   variable j
  location: class main
Main.java:18: error: cannot find symbol
	        for(intj=0;j<l;j++){
	            ^
  symbol:   variable intj
  location: class main
Main.java:18: error: cannot find symbol
	        for(intj=0;j<l;j++){
	                   ^
  symbol:   variable j
  location: class main
Main.java:18: error: cannot find symbol
	        for(intj=0;j<l;j++){
	                       ^
  symbol:   variable j
  location: class main
Main.java:19: error: cannot find symbol
	            B[i][j]=sc.nextInt();
	                 ^
  symbol:   variable j
  location: class main
Main.java:25: error: cannot find symbol
	                c[i][j] = A[i][k]*b[k][j];
	                ^
  symbol:   variable c
  location: class main
Main.java:25: error: cannot find symbol
	                c[i][j] = A[i][k]*b[k][j];
	                                  ^
  symbol:   variable b
  location: class main
11 errors
Language: Java

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();
	    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 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]+" ");
	        }
	        System.out.println("");
	    }
	    
	    sc.close();
	}
}



Compiler output:
Main.java:2: error: class main is public, should be declared in a file named main.java
public class main{
       ^
Main.java:25: error: cannot find symbol
	                c[i][j] = A[i][k]*b[k][j];
	                ^
  symbol:   variable c
  location: class main
Main.java:25: error: cannot find symbol
	                c[i][j] = A[i][k]*b[k][j];
	                                  ^
  symbol:   variable b
  location: class main
3 errors
Language: Java

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();
	    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 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]+" ");
	        }
	        System.out.println("");
	    }
	    
	    sc.close();
	}
}



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

javascript:void(0)import java.io.*;
import java.util.*;
import java.lang.*;

class Main{
  public static void main(String[] args) throws IOException{
    Scanner scan=new Scanner(System.in);
    int n=Integer.parseInt(scan.next());
    int m=Integer.parseInt(scan.next());
    int l=Integer.parseInt(scan.next());
    long[][] arrayA=new long[n][m];
    for(int i=0;i<arrayA.length;i++){
      for(int j=0;j<arrayA[i].length;j++){
        arrayA[i][j]=Long.parseLong(scan.next());
      }
    }
    long[][] arrayB=new long[m][l];
    for(int i=0;i<arrayB.length;i++){
      for(int j=0;j<arrayB[i].length;j++){
        arrayB[i][j]=Long.parseLong(scan.next());
      }
    }

    long[][] arrayC=new int[n][l];
    for(int i=0;i<n;i++){
      for(int j=0;j<l;j++){
        for(int k=0;k<m;k++){
          arrayC[i][j]+=arrayA[i][k]*arrayB[k][j];
        }
      }
    }

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


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
javascript:void(0)import java.io.*;
^
Main.java:2: error: class, interface, enum, or record expected
import java.util.*;
^
Main.java:3: error: class, interface, enum, or record expected
import java.lang.*;
^
3 errors
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.Arrays;
import java.util.stream.Collectors;
import java.util.stream.Stream;
 
public class Main {

  public static void main(String[] args) throws IOException {
    try ( BufferedReader br = new BufferedReader(new InputStreamReader(System.in)) ) {

      String[] lines = br.readLine().split(" ");
      int n = Integer.parseInt(lines[0]);
      int m = Integer.parseInt(lines[1]);
      int l = Integer.parseInt(lines[2]);
      long[][] mA = new long[n][m];
      long[][] mB = new long[m][l];
      long[][] mC = new long[n][l];

      for(int i = 0; i < n; i++ ) {
        lines = br.readLine().split(" ");
        mA[i] = Stream.of(lines)
                      .mapToLong(Long::parseLong)
                      .toArray();
      }
      for( int i = 0; i < m; i++ ) {
        lines = br.readLine().split(" ");
        mB[i] = Stream.of(lines)
                      .mapToLong(Long::parseLong)
                      .toArray();
      }

      for( int i = 0; i < n; i++ ) {
        for( int j = 0; j < l; j++ ){
          for( int k = 0; k < m; k++ )
          mC[i][j] += mA[i][k] * mB[k][j];
        }
      }

      System.out.println(
        Stream.of(mC)
              .map( a -> ArrayToString(a) )
              .collect(Collectors.joining("\n"))
      );
    }
  }
  public static String ArrayToString(long[] a) {
      if (a == null)
          return "null";
      long iMax = a.length - 1;
      if (iMax == -1)
          return "[]";

      StringBuilder b = new StringBuilder();
      for (long i = 0; ; i++) {
          b.append(a[i]);
          if (i == iMax)
              return b.toString();
          b.append(" ");
      }
  }
}


Compiler output:
Main.java:57: error: incompatible types: possible lossy conversion from long to int
          b.append(a[i]);
                     ^
1 error
Language: Java

import java.util.Scanner;

class Main{
    public static void main(String[] args){
        Scanner scan = new Scanner(System.in);
        int n = scan.nextInt(); m = scan.nextInt(); l = scan.nextInt();
        int[][] A = new int[n][m];
        int[][] B = new int[m][l];
        int[][] C = new int[n][l];
        int i, j, k;
        for(i = 0; i < n; i++){
            for(j = 0; j < m; j++){
                A[i][j] = scan.nextInt();
            }
        }
        for(j = 0; j < m; j++){
            for(k = 0; k < l; k++){
                B[j][k] = scan.nextInt();
            }
        }

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


Compiler output:
Main.java:6: error: cannot find symbol
        int n = scan.nextInt(); m = scan.nextInt(); l = scan.nextInt();
                                ^
  symbol:   variable m
  location: class Main
Main.java:6: error: cannot find symbol
        int n = scan.nextInt(); m = scan.nextInt(); l = scan.nextInt();
                                                    ^
  symbol:   variable l
  location: class Main
Main.java:7: error: cannot find symbol
        int[][] A = new int[n][m];
                               ^
  symbol:   variable m
  location: class Main
Main.java:8: error: cannot find symbol
        int[][] B = new int[m][l];
                            ^
  symbol:   variable m
  location: class Main
Main.java:8: error: cannot find symbol
        int[][] B = new int[m][l];
                               ^
  symbol:   variable l
  location: class Main
Main.java:9: error: cannot find symbol
        int[][] C = new int[n][l];
                               ^
  symbol:   variable l
  location: class Main
Main.java:12: error: cannot find symbol
            for(j = 0; j < m; j++){
                           ^
  symbol:   variable m
  location: class Main
Main.java:16: error: cannot find symbol
        for(j = 0; j < m; j++){
                       ^
  symbol:   variable m
  location: class Main
Main.java:17: error: cannot find symbol
            for(k = 0; k < l; k++){
                           ^
  symbol:   variable l
  location: class Main
Main.java:23: error: cannot find symbol
            for(k = 0; k < l; k++){
                           ^
  symbol:   variable l
  location: class Main
Main.java:25: error: cannot find symbol
                for(j = 0; j < m; j++){ C[i][k] += A[i][j] * B[j][k]; }
                               ^
  symbol:   variable m
  location: class Main
Main.java:29: error: cannot find symbol
            for(k = 0; k < l - 1; k++){
                           ^
  symbol:   variable l
  location: class Main
Main.java:32: error: cannot find symbol
            System.out.println(C[i][l]);
                                    ^
  symbol:   variable l
  location: class Main
13 errors
Language: Java

import java.util.*;

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();
    long sum;
    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++) {
      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 i = 0; i < n; i++) {
      for(int j = 0; j < l; j++) {
        sum = 0;
        for(int k = 0; k < m; k++) {
          sum += a[i][k] * b[k][j];
        }
        c[i][j] = sum;
        if(j == l - 1) {
          System.out.println(c[i][j]);
        } else {
          System.out.print(c[i][j] + " ");
        }
      }
    }
  }
}



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

#include <stdio.h>int main(){ int n,m,l; int i,j,k; int a[100][100]; int b[110][110]; long long c[100][100]={}; scanf("%d %d %d",&n,&m,&l); for(i=0;i<n;i++){  for(j=0;j<m;j++){   scanf("%d",&a[i][j]);  } } for(i=0;i<m;i++){  for(j=0;j<l;j++){   scanf("%d",&b[i][j]);  } } for(i=0;i<n;i++){  for(j=0;j<l;j++){   for(k=0;k<m;k++){    c[i][j]+=a[i][k]*b[k][j];   }   if(j!=0) printf(" ");   printf("%lld",c[i][j]);  }  puts(""); } return 0;}
			



Compiler output:
main.c:1:19: warning: extra tokens at end of #include directive
    1 | #include <stdio.h>int main(){ int n,m,l; int i,j,k; int a[100][100]; int b[110][110]; long long c[100][100]={}; scanf("%d %d %d",&n,&m,&l); for(i=0;i<n;i++){  for(j=0;j<m;j++){   scanf("%d",&a[i][j]);  } } for(i=0;i<m;i++){  for(j=0;j<l;j++){   scanf("%d",&b[i][j]);  } } for(i=0;i<n;i++){  for(j=0;j<l;j++){   for(k=0;k<m;k++){    c[i][j]+=a[i][k]*b[k][j];   }   if(j!=0) printf(" ");   printf("%lld",c[i][j]);  }  puts(""); } return 0;}
      |                   ^~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C

#include<stdio.h>
int main()
{
 int n,m,l,i,j,k,sum;
 int nl[100][100]={0};

 scanf("%d%d%d",&n,&m,&l);



for(i=1;i<=n;i++){               
      for(j=1;j<=m;j++){
                        int nm[100][100];
                        nm[i][j]={0};
                        scanf("%d",&nm[i][j]);
                        }
                  }
for(i=1;i<=m;i++){               
      for(j=1;j<=l;j++){
                        int ml[100][100];
                        ml[i][j]={0};
                        scanf("%d",&ml[i][j]);
                        }
                 }

for(i=1;i<=n;i++){      
                  sum=0;         
      for(j=1;j<=l;j++){
            for(k=1;k<=l;k++){
                               sum=nm[i][k]*ml[k][j];
                               printf("%d",sum);
                               if(j==l+1)printf("\n"):
                               else printf(" ");
                               }
                        }
                   }
 return 0;
}







Compiler output:
main.c: In function 'main':
main.c:14:34: error: expected expression before '{' token
   14 |                         nm[i][j]={0};
      |                                  ^
main.c:21:34: error: expected expression before '{' token
   21 |                         ml[i][j]={0};
      |                                  ^
main.c:30:36: error: 'nm' undeclared (first use in this function); did you mean 'nl'?
   30 |                                sum=nm[i][k]*ml[k][j];
      |                                    ^~
      |                                    nl
main.c:30:36: note: each undeclared identifier is reported only once for each function it appears in
main.c:30:45: error: 'ml' undeclared (first use in this function); did you mean 'nl'?
   30 |                                sum=nm[i][k]*ml[k][j];
      |                                             ^~
      |                                             nl
main.c:32:54: error: expected ';' before ':' token
   32 |                                if(j==l+1)printf("\n"):
      |                                                      ^
      |                                                      ;
Language: C

#include<stdio.h>
int main()
{
 int n,m,l,i,j,k,sum;
 int nl[100][100]={0};

 scanf("%d%d%d",&n,&m,&l);
int nm[100][100];
int ml[100][100];


for(i=1;i<=n;i++){               
      for(j=1;j<=m;j++){
                        scanf("%d",&nm[i][j]);
                        }
                  }
for(i=1;i<=m;i++){               
      for(j=1;j<=l;j++){
                        scanf("%d",&ml[i][j]);
                        }
                 }

for(i=1;i<=n;i++){      
                  sum=0;         
      for(j=1;j<=l;j++){
            for(k=1;k<=l;k++){
                               sum=nm[i][k]*ml[k][j];
                               printf("%ld",sum);
                               if(j==l+1)printf("\n"):
                               else printf(" ");
                               }
                        }
                   }
 return 0;
}







Compiler output:
main.c: In function 'main':
main.c:29:54: error: expected ';' before ':' token
   29 |                                if(j==l+1)printf("\n"):
      |                                                      ^
      |                                                      ;
Language: C

#include<stdio.h>
int main()
{
 int n,m,l,i,j,k,sum;
 int nl[100][100]={0};

 scanf("%d%d%d",&n,&m,&l);
int nm[100][100];
int ml[100][100];


for(i=1;i<=n;i++){               
      for(j=1;j<=m;j++){
                        scanf("%d",&nm[i][j]);
                        }
                  }
for(i=1;i<=m;i++){               
      for(j=1;j<=l;j++){
                        scanf("%d",&ml[i][j]);
                        }
                 }

for(i=1;i<=n;i++){      
                  sum=0;         
      for(j=1;j<=l;j++){
            for(k=1;k<=l;k++){
                               sum=nm[i][k]*ml[k][j];
                               printf("%ld",sum);
                               if(j==l+1){printf("\n")
                               }else{ printf(" ")}
                               }
                        }
                   }
 return 0;
}







Compiler output:
main.c: In function 'main':
main.c:29:55: error: expected ';' before '}' token
   29 |                                if(j==l+1){printf("\n")
      |                                                       ^
      |                                                       ;
   30 |                                }else{ printf(" ")}
      |                                ~                       
main.c:30:50: error: expected ';' before '}' token
   30 |                                }else{ printf(" ")}
      |                                                  ^
      |                                                  ;
Language: C

#include<stdio.h>
int main()
{
 int n,m,l,i,j,k;
 long int sum;
 int nl[100][100]={0};

 scanf("%d%d%d",&n,&m,&l);
int nm[100][100];
int ml[100][100];


for(i=0;i<n;i++){               
      for(j=0;j<m;j++){
                        scanf("%d",&nm[i][j]);
                        }
                  }
for(i=0;i<m;i++){               
      for(j=0;j<l;j++){
                        scanf("%d",&ml[i][j]);
                        }
                 }

for(i=0;i<n;i++){      
                         
      for(j=0;j<l;j++){
                        sum=0;  
                        for(k=0;k<m;k++){
                                           sum+=nm[i][k]*ml[k][j];
                                         }
                        printf("%ld",sum);
                        if(j+1==l)printf("\n");
                      

                        }
                    else printf(" ");
                   }
 return 0;
}







Compiler output:
main.c: In function 'main':
main.c:36:21: error: 'else' without a previous 'if'
   36 |                     else printf(" ");
      |                     ^~~~
Language: C

#include<stdio.h>
int main(){
  int i,j,n,m,l,A[100][100],B[100][100],k;
long long int C[100][100],sum=0
  scanf("%d %d %d",&n,&m,&l);
  for(i=0;i<n;i++){
    for(j=0;j<m;j++){
      scanf("%d",&A[i][j]);
    }
  }
  for(i=0;i<m;i++){
    for(j=0;j<l;j++){
      scanf("%d",&B[i][j]);
    }
  }

  for(i=0;i<n;i++){
    for(j=0;j<l;j++){
      sum=0;
      for(k=0;k<m;k++){
        sum += A[i][k] * B[k][j];
      }
      C[i][j] = sum;
    }
  }
  for(i=0;i<n;i++){
    for(j=0;j<l-1;j++){
      printf("%lld ",C[i][j]);
    }
    printf("%lld\n",C[i][l-1]);
  }
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:5:3: error: expected ',' or ';' before 'scanf'
    5 |   scanf("%d %d %d",&n,&m,&l);
      |   ^~~~~
Language: C

#include<stdio.h>

#define MATRIX_SIZE (100)

int main(void)
{
        int n, m, l;
        int mat_a[MATRIX_SIZE][MATRIX_SIZE], mat_b[MATRIX_SIZE][MATRIX_SIZE];
        int row, column, row_column;
        unsigned long sum;


        scanf("%d%d%d", &n, &m, &l);

        for(row=0; row < n; row++){
                for(column=0; column < m; column++){
                        scanf("%d", &mat_a[row][column]);
                }
        }

        for(row=0; row < m; row++){
                for(column=0; column < l; column++){
                        scanf("%d", &mat_b[row][column]);
                }
        }

        for(row=0; row < n; row++){
                for(column=0; column < l; column++){
                        sum = 0;
                        for(row_column=0; row_column < m; row_column++){
                                sum += mat_a[row][row_column] * mat_b[row_column][column];
                        }
                        printf("%lu", sum);
                        if(column < l - 1) printf(" ");
                }
                printf("\n");
        }




Compiler output:
main.c: In function 'main':
main.c:37:9: error: expected declaration or statement at end of input
   37 |         }
      |         ^
Language: C

// 行列計算　掛け算

#include <stdio.h>
#define N 101

int main(void){
  int n, m, l;
  int i, j, k;
  int a[N][N], b[N][N]
  long long c[N][N];

  scanf("%d %d %d", &n, &m, &l);

  for(i=0; i<n; i++){
    for(j=0; j<m; j++){
      scanf("%d", &a[i][j]);
    }
  }

  for(i=0; i<m; i++){
    for(j=0; j<l; j++){
      scanf("%d", &b[i][j]);
    }
  }

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

  for(i=0; i<n; i++){
    for(j=0; j<l; j++){
      printf("11%d", c[i][j]);
      if(j!=l-1)
        printf(" ");
    }
    printf("\n");
  }
  return 0;
}



Compiler output:
main.c: In function 'main':
main.c:10:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'long'
   10 |   long long c[N][N];
      |   ^~~~
main.c:22:20: error: 'b' undeclared (first use in this function)
   22 |       scanf("%d", &b[i][j]);
      |                    ^
main.c:22:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:29:9: error: 'c' undeclared (first use in this function)
   29 |         c[i][j] += a[i][k] * b[k][j];
      |         ^
Language: C

#include<stdio.h>

int main() {
	int a[100][100], b[100][100], m, n, l, i, j, k, c = 0;
	scanf("%d %d %d", &m, &n ,&l);
	for(i = 0; i < m; ++i) {
		for(j = 0; j < n; ++j) {
			scanf("%d", &a[i][j]);
		}
	}
	for(i = 0; i < n; ++i) {
		for(j = 0; j < l; ++j) {
			scanf("%d", &b[i][j]);
		}
	}
	for(i = 0; i < m; ++i) {
		for(j = 0; j < l; ++j) {
			for(k = 0; k < n; ++k) {
				c += a[i][k] * b[k][j];
				// printf("---------------%d %d\n---------------", a[i][k], b[k][j]);
			}
			printf("%d", c);
			if(k != n - 1) printf(" ", );
			c = 0;
		}
		puts("");
	}
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:23:52: error: expected expression before ')' token
   23 |                         if(k != n - 1) printf(" ", );
      |                                                    ^
Language: C

#include<stdio.h>

int main(){
 int i,j,k,n,m,l,A[100][100]={},B[100][100]={};
 ong long int C[100][100]={};
 scanf("%d %d %d", &n, &m, &l);
 for(i=0; i<n; i++){
  for(j=0; j<m; j++){
   scanf("%d", &A[i][j]);
  }
 }
 for(i=0; i<m; i++){
  for(j=0; j<l; j++){
   scanf("%d", &B[i][j]);
  }
 }
 for(i=0; i<n; i++){
  for(j=0; j<l; j++){
   for(k=0; k<m; k++){
    C[i][j]+=A[i][k]*B[k][j];
   }
  if(j!=l-1){printf("%d ",C[i][j]);}
  else{printf("%d\n", C[i][j]);}
  }
 }
 return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:2: error: 'ong' undeclared (first use in this function)
    5 |  ong long int C[100][100]={};
      |  ^~~
main.c:5:2: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:5: error: expected ';' before 'long'
    5 |  ong long int C[100][100]={};
      |     ^~~~~
      |     ;
main.c:20:5: error: 'C' undeclared (first use in this function)
   20 |     C[i][j]+=A[i][k]*B[k][j];
      |     ^
Language: C

#include<stdio.h>

long n , m , l;
long a[100][100] , b[100][100] , ab[100][100] = {0};

long func(long y , long x) {
	long i;
	for(i = 0; i < m; i++) {
		ab[y][x] += a[y][i] * b[i][x];
	}
}

long main () {
	long i , s , k;

	scanf("%ld %ld %ld" , &n , &m , &l);
	for(i = 0; i < n; i++) {
		for(s = 0; s < m; s++) {
			scanf("%ld" , &a[i][s]);
		}
	}
	for(i = 0; i < m; i++) {
		for(s = 0; s < l; s++) {
			scanf("%ld" , &b[i][s]);
		}
	}



	for(i = 0; i < n; i++) {
		for(s = 0; s < l; s++) {
			if (s > 0) prlongf(" ");
			func(i,s);
			prlongf("%ld" , ab[i][s]);
		}
		prlongf("\n");
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:32:36: error: implicit declaration of function 'prlongf' [-Wimplicit-function-declaration]
   32 |                         if (s > 0) prlongf(" ");
      |                                    ^~~~~~~
Language: C

#include <stdio.h>

int main(void){

  int n,m,l;
  int a[100][100] = {0};
  int b[100][100] = {0};
  int c[100][100] = {0};
  register int i,j,s;

  scanf("%d %d %d",&n,&m,&l);
  for(i = 0;i < n;i++){
    for(j = 0;j < m;j++){
      scanf("%d",&a[i][j]);
    }
  }
  for(i = 0;i < m;i++){
    for(j = 0;j < l;j++){
      for(s = 0;s < m;s++){
        c[i][j] += a[i][s] * b[s][j];
    }
  }
  for(i = 0;i < m;i++){
    for(j = 0;j < l;j++){
      if(j == (l - 1)){
        printf("%d\n",c[i][j]);
      }else{
        printf("%d ",c[i][j]);
      }
    }
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:33:1: error: expected declaration or statement at end of input
   33 | }
      | ^
Language: C

#include <stdio.h>
#include <limits.h>

int main(){
  long long int A[100][100]={0},B[100][100]={0},C[100][100]={0};
  int n,m,l,i,j,k;
  scanf("%d %d %d",&n,&m,&l);
  for(i=0;i<n;i++){
    for(j=0;j<m;j++){
      scanf("%d",&A[i][j]);
    }
  }
  for(i=0;i<m;i++){
    for(j=0;j<l;j++){
      scanf("%d",&B[i][j]);
    }
  }
  for(i=0;i<n;i++){
    for(j=0;j<l;j++){
      for(k=0;k<m;k++){
	C[i][j] += A[i][k] * B[k][j];
	}
      }
      printf("%lld",C[i][j]);
      if(j!=l-1)printf(" ");
    }
    puts("");
  }
  return 0;
}

Compiler output:
main.c:29:3: error: expected identifier or '(' before 'return'
   29 |   return 0;
      |   ^~~~~~
main.c:30:1: error: expected identifier or '(' before '}' token
   30 | }
      | ^
Language: C

#include <stdio.h>

int main(){
  int n,m,l;
  int a[100][100],b[100][100],i,j,k;
 long c[100][100]
  scanf("%d %d %d",&n,&m,&l);
  for(i=0; i<n; i++){
    for(j=0; j<m; j++){
      scanf("%d",&a[i][j]);
    }
  }
  for(i=0; i<m; i++){
    for(j=0; j<l; j++){
      scanf("%d",&b[i][j]);
    }
  }
  for(i=0; i<n; i++){
    for(j=0; j<l; j++){
      c[i][j]=0;
    }
  }//----       
 for(i=0; i<n; i++){//                                                         
    for(j=0; j<l; j++){
      for(k=0; k<m; k++){
        c[i][j]+=(a[i][k]*b[k][j]);
      }
    }
  }
  for(i=0; i<n; i++){
    for(j=0; j<l; j++){
      if(j==l-1)printf("%d\n",c[i][j]);
      else printf("%d ",c[i][j]);
    }
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    7 |   scanf("%d %d %d",&n,&m,&l);
      |   ^~~~~
main.c:20:7: error: 'c' undeclared (first use in this function)
   20 |       c[i][j]=0;
      |       ^
main.c:20:7: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(void){
  int n, m, l, i, j, k;
  scanf("%d %d %d", &n, &m, &l);
  int A[n][m], B[m][l];
  long C[n][l];

  // array C initialize
  for (i = 0; i < n; i++)
    for (k = 0; k < l; k++)
      C[i][k] = 0;

  // determination A
  for (i = 0; i < n; i++)
    for (j = 0; j < m; j++)
      scanf("%d", &A[i][j]);

  // determination B
  for (j = 0; j < m; j++)
    for (k = 0; k < l; k++)
      scanf("%d", &B[j][k]);

  // determination C
  for (i = 0; i < n; i++){
    for (k = 0; k < l; k++){
      for (j = 0; j < m; j++){
	C[i][k] += A[i][j] * B[j][k];
      }
      if (k)
	printf(" ");
      printf("%ld", C[i][k]);
    }
    printf("\n");
  }
      
  return 0;
}
n

Compiler output:
main.c:39:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   39 | n
      | ^
Language: C

include<stdio.h>
int main(){

  int i,j,k,num1,num2,num3;
 long long A[100][100],B[100][100],C[100][100];


  scanf("%d%d%d",&num1,&num2,&num3);

  for(i=0;i<num1;i++){
    for(j=0;j<num2;j++){
      scanf("%lld",&A[i][j]);
    }}

  for(i=0;i<num2;i++){
    for(j=0;j<num3;j++){
      scanf("%lld",&B[i][j]);
    }}


  for(i=0;i<num1;i++){
    for(j=0;j<num3;j++){
      C[i][j]=0;

  for(k=0;k<num2;k++){
    C[i][j] += A[i][k]*B[k][j];
  }}}

for(i=0;i<num1;i++){
    for(j=0;j<num3-1;j++){
      printf("%lld ",C[i][j]);
    }
    printf("%lld",C[i][num3-1]);
    printf("\n");
}

 return 0;
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

#include(stdio.h)
int main(){
int a,b,c,d,e,f,g,h;
int A[100][100],B[100][100],C[100][100];

scanf("%d %d %d",&a,&b,&c);
for(d=0;d<a;d++){
for(e=0;e<b;e++){
scanf("%d",&A[d][e]);
}
}
for(d=0;d<b;d++){
for(e=0;e<c;e++){
scanf("%d", B[d][e]);
}
}
for(f=0;f<a;f++){
for(d=0;d<b;d++){
for(e=0;e<c;e++){
C[f][e]=A[e][d]*B[d][e];
}
}
}
for(d=0;d<a;d++){
for(e=0;e<c;e++){
printf("%d",C[d][e]);
if(e!=c-1)
printf(" ");
else
printf("\n");
}
return 0;
}

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(stdio.h)
      |         ^
main.c: In function 'main':
main.c:6:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 | scanf("%d %d %d",&a,&b,&c);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include(stdio.h)
main.c:6:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 | scanf("%d %d %d",&a,&b,&c);
      | ^~~~~
main.c:6:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:26:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   26 | printf("%d",C[d][e]);
      | ^~~~~~
main.c:26:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:26:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:26:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:33:1: error: expected declaration or statement at end of input
   33 | }
      | ^