criyle/codenet-compile-errors huggingface dataset:
Language: C++

#include <iostream>
using namespace std;
int main(){
    int n,b,f,r,v;
    cin >> n;
    int T[4][3][10];
        for(int j=1;j<=4;j++){
            for(int k=1;k<=3;k++){
                for(int l=1;l<=10;l++){
                    T[j][k][l]=0;
                }
            }
        }
         for(int i=0;i<n;i++){
        cin >> b >> f >> r >> v;
        T[b][f][r]+=v;
    }
    for(int f=1;f<=4;f++){
        if(f>1){
            cout <<"####################" << endl;
        }
        for(int b=1;b<=3;b++){
            for(int r=1;r<=10;r++){
                cout << " " << T[f][b][r];
            }
            cout << endl;
    }


Compiler output:
a.cc: In function 'int main()':
a.cc:27:6: error: expected '}' at end of input
   27 |     }
      |      ^
a.cc:18:26: note: to match this '{'
   18 |     for(int f=1;f<=4;f++){
      |                          ^
a.cc:27:6: error: expected '}' at end of input
   27 |     }
      |      ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include <iostream>
using namespace std;

int main(){
  int A[5][4][11], n;
  for(int i=1; i<=4; i++)
    for(int j=1; J<=3; J++)
      for(int k =1; k<=10; k++)A[i][j][k]=0;

  cin>>n;
  for(int i=0; i<n; i++){
    int b, f, r, v;
    cin >> b>>f>>r>>v;
    A[b][f][r]+=v;
  }
  for(int f=1; f<=4; f++){
    if(f>1)cout<<"####################\n";
    for(int b=1; b<=3; b++){
      for(int r=1; r<=10; r++){
        cout<<" "<<A[f][b][r];
      }
      cout<<endl;
    }
  }
  return 0;
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: 'J' was not declared in this scope
    7 |     for(int j=1; J<=3; J++)
      |                  ^
Language: C++

#include<iostream>
using namespace std;

int main(){
    int a[5][4][11],n;

    for(int i=1;i<=4;i++)
    for(int j=1;j<=3;j++)
    for(int k=1;k<=10;k++)a[i][j][k]=0
    cin>>n;
    for(int i=0;i<n;i++){
        int b,f,r,v;
        cin>>b>>f>>r>>v;
        a[b][f][r]+=v;
    }

    for(int f=1;f<=4;f++){
        if(f>1)cout<<"####################\n";
        for(int b=1;b<=3;b++){
            for(int r=1;r<=10;r++){
                cout<<" "<<a[f][b][r];
        }
        cout<<endl;
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:39: error: expected ';' before 'cin'
    9 |     for(int k=1;k<=10;k++)a[i][j][k]=0
      |                                       ^
      |                                       ;
   10 |     cin>>n;
      |     ~~~                                
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
    int a[5][4][11],n;
 
    for(int i=1;i<=4;i++)
    for(int j=1;j<=3;j++)
    for(int k=1;k<=10;k++)a[i][j][k]=0;
    cin>>n;
    for(int i=0;i<n;i++){
        int b,f,r,v;
        cin>>b>>f>>r>>v;
        a[b][f][r]+=v;
    }
 
    for(int f=1;f<=4;f++){
        if(f>1)cout<<"####################\n";
        for(int b=1;b<=3;b++){
            for(int r=1;r<=10;r++){
                cout<<" "<<a[f][b][r];
        }
        cout<<endl;
    }
 
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:27:2: error: expected '}' at end of input
   27 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<cstdio>
#include<cstdlib>
#include<cstring>
#include<cmath>
#include<iostream>
#include<string>
#include<vector>
#include<map>
#include<set>
#include<stack>
#include<list>
#include<queue>
#include<deque>
#include<algorithm>
#include<numeric>
#include<utility>
#include<complex>
#include<functional>
#include<stdio.h>
using namespace std;
int main(){
    int count[4][3][10] ;
    int j,k,l;
    for(j=0;j<4;j++){
        for(k=0;k<3;k++){
            for(l=0;l<10;l++){
                count[j][k][l] = 0;
            }
        }
    }

    int n;
    cin >> n;
    int i;
    for(i = 0;i < n; i++){
        int b,f,r,v;
        cin >> b,f,r,v;
        count[b-1][f-1][r-1] += v;
    }


    for(j=0;j<4;j++){
        for(k=0;k<3;k++){
                for(l=0;l<10;l++){
                        cout << " " << count[j][k][l];
                }
                cout << endl;
        }
        if (j != 3){
            cout << "####################" << endl;
        }else{
            ciut << endl;

        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:52:13: error: 'ciut' was not declared in this scope
   52 |             ciut << endl;
      |             ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
    int d[4][3][10] = { 0 };
    int n, b, f, r, v;
 
    cin >> n;
    for (int i=0; i<n; i++) {
        cin >> b >> f >> r >> v;
        d[b-1][f-1][r-1] += v;
    }
    for (int i=0; i<4; i++) {
        for (int j=0; j<3; j++) {
            for (int k=0; k<10; k++)
            	cout << " " << d[i][j][k];
            cout << endl;
        }
        if(i!=3)


Compiler output:
a.cc: In function 'int main()':
a.cc:19:17: error: expected statement at end of input
   19 |         if(i!=3)
      |                 ^
a.cc:19:17: error: expected '}' at end of input
a.cc:13:29: note: to match this '{'
   13 |     for (int i=0; i<4; i++) {
      |                             ^
a.cc:19:17: error: expected '}' at end of input
   19 |         if(i!=3)
      |                 ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<iostream>
using namespace std;

int main(){
	int A[5][4][11], n;
	for(int i=1; i <=4; i++){
		for(int j = 1; j<=3; j++){
			for(int k=1; k<=10; k++){
				A[i][j][k] = 0;
			}
		}
	}

	cin >> n;
	for(int i=0; i<n; i++){
		int b, f, r, v;
		cin >> b >> f >> r >> v;
		A[b][f][r] +=v;
	}

	for(int f=1; f<=4; f++){
		if(f >1) cout << "####################\n";
		for(int b=1; b<=3; b++){
			for(int r=1; r<=10; r++){
				cout << " "A << [f][b][r]
			}
			cout << endl;
		}
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:25:41: error: unable to find string literal operator 'operator""A' with 'const char [2]', 'long unsigned int' arguments
   25 |                                 cout << " "A << [f][b][r]
      |                                         ^~~~
a.cc: In lambda function:
a.cc:25:52: error: expected '{' before '[' token
   25 |                                 cout << " "A << [f][b][r]
      |                                                    ^
a.cc: In function 'int main()':
a.cc:25:52: error: no match for 'operator[]' (operand types are 'main()::<lambda()>' and 'int')
Language: C++

#include<iostream>
using namespace std;

int main(){
	int A[5][4][11], n;
	for(int i=1; i <=4; i++){
		for(int j = 1; j<=3; j++){
			for(int k=1; k<=10; k++){
				A[i][j][k] = 0;
			}
		}
	}

	cin >> n;
	for(int i=0; i<n; i++){
		int b, f, r, v;
		cin >> b >> f >> r >> v;
		A[b][f][r] +=v;
	}

	for(int f=1; f<=4; f++){
		if(f >1) cout << "####################\n";
		for(int b=1; b<=3; b++){
			for(int r=1; r<=10; r++){
				cout << " " << A[f][b][r]
			}
			cout << endl;
		}
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:25:58: error: expected ';' before '}' token
   25 |                                 cout << " " << A[f][b][r]
      |                                                          ^
      |                                                          ;
   26 |                         }
      |                         ~
Language: C++

#include <iostream>
using namespace std;

int main()
{
  int houses[4][3][10];
  for (int i=0; i<4; i++){ for (int j=0; j<3; j++){ for (int k=0; k<10; k++)
  {
     houses[i][j][k] = 0;
  }}}
  int n;
  cin >> n;
  int b,f,r,v;
  for (int i=0; i<n; i++)
  {
    cin >> b >> f >> r >> v;
    houses[b-1][f-1][r-1] += v;
  }
  for (int i=0; i<4; i++)
  {
    for (int j=0; j<3; j++)
    {
      for (int k=0; k<10; k++)
      {
        cout << houses[i][j][k] << flush;
      }
      cout << endl;
    }
    if ( i == 3) return;
    cout << "####################" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:18: error: return-statement with no value, in function returning 'int' [-fpermissive]
   29 |     if ( i == 3) return;
      |                  ^~~~~~
Language: C++

#include <iostream>
#include <cstdio>
using namespace std;

int main(){
    int a[4][3][10],n;
    memset(a,0,sizeof(a));
    
    cin >> n;
    while(n--){
        for(int i = 0 ; i < n ; i++){
            int b,f,r,v;
            cin >> b >> f >> r >> v;
            a[b-1][f-1][r-1] += v;
        }
        for(int i = 0 ; i < 4 ; i++){
            if(i) cout << "####################" << endl;
            for(int j = 0 ; j < 3 ; j++){
                for(int k = 0 ; k < 10 ; k++){
                    cout << ' ' << a[i][j][k];
                }
                puts("");
            }
        }
    }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'memset' was not declared in this scope
    7 |     memset(a,0,sizeof(a));
      |     ^~~~~~
a.cc:3:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    2 | #include <cstdio>
  +++ |+#include <cstring>
    3 | using namespace std;
Language: C++

#include <iostream>
#include <cstdio>
using namespace std;

int main(){
    int a[4][3][10],n;
    memset(a,0,sizeof(a));
    
    cin >> n;
    while(n--){
        for(int i = 0 ; i < n ; i++){
            int b,f,r,v;
            cin >> b >> f >> r >> v;
            a[b-1][f-1][r-1] += v;
        }
    }
        for(int i = 0 ; i < 4 ; i++){
            if(i) cout << "####################" << endl;
            for(int j = 0 ; j < 3 ; j++){
                for(int k = 0 ; k < 10 ; k++){
                    cout << ' ' << a[i][j][k];
                }
                puts("");
            }
        }

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'memset' was not declared in this scope
    7 |     memset(a,0,sizeof(a));
      |     ^~~~~~
a.cc:3:1: note: 'memset' is defined in header '<cstring>'; this is probably fixable by adding '#include <cstring>'
    2 | #include <cstdio>
  +++ |+#include <cstring>
    3 | using namespace std;
Language: Java

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


Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:27: error: class, interface, enum, or record expected
}
^
2 errors
Language: Java

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



public class Main {
	public static void main(String[] args) {
		//BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
				
		int[][] a;
		int[] b;
		int []c;
		try{Scanner sc =new Scanner(System.in);
			int n=sc.nextInt();
			int m=sc.nextInt();
			a=new int[n][m];
			b=new int[m];
			c=new int[n];
			for(int i=0;i<n;i++){
				for(int l=0;l<m;l++){
					a[i][l]=sc.nextInt();
				}
			}
			for(int i=0;i<m;i++){
				b[i]=sc.nextInt();
			}sc.close();
			//////////////////////////////////////////////////////////
		    //ここまで入力部
		    //////////////////////////////////////////////////////////
		    //↓より計算部
			
			for(int i=0;i<n;i++){
				for(int l=0;l<m;l++){
					c[i]+=b[l]*a[i][l];
					}System.out.println(c[i]);
				}
			
			}catch(FileNotFoundException ee){}
		catch(ArrayIndexOutOfBoundsException e){System.out.println("配列エラーです");}
		
		}
	}

Compiler output:
Main.java:40: error: exception FileNotFoundException is never thrown in body of corresponding try statement
			}catch(FileNotFoundException ee){}
			 ^
1 error
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[] str = br.readLine().split(" ");
 int n = Integer.parseInt(str[0]);
 int m = Integer.parseInt(str[1]);
 int[][] matrixA = new int[n][m];
 int[] matrixB = new int[m];
 int ans = 0;

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

 for(int l = 0; l < m; l++){
  String stry = br.readLine();
  matrixB[l] = Integer.parseInt(stry);
 }

 for(int x = 0; x < n; n++){
	for(int y = 0; y < m; m++){
		ans += matrixA[x][y] * matrixB[y];
	}
 System.out.println(ans);
 a = 0;
 }
}
}

Compiler output:
Main.java:30: error: cannot find symbol
 a = 0;
 ^
  symbol:   variable a
  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[] sp1 = line1.split(" ");
		int n = Integer.parseInt(sp1[0]);
		int m = Integer.parseInt(sp1[1]);
		int[][] a = new int[n][m];
		int[] b = new int[m];
		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();
			b[i] = Integer.parseInt(line);
		}
		int[] c = new int[n];
		for (int i=0 ; i<n ; i++) {
			for (int j = 0; j<m ; j++) {
				c[i] += (a[i][j] * b[j]); 
			}
		}
		for (int youso : c) {
			System.out.println(youso);
		}
	}

}

Compiler output:
Main.java:6: error: ')' or ',' expected
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in);
		                                                                       ^
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 A[][] = new int[n][m];
        int b[] = new int[m];
        int i,j,c;
        
        for(i=0; i<n; i++){
            for(j=0; j<m; j++){
                A[i][j] = sc.nextInt();
            }
        }
        
        for(j=0; j<m; j++){
            b[j] = sc.nextInt();
        }
        
        for(i=0; i<n; i++){
            c = 0;
            for(j=0; j<m; j++){
                c += ( A[i][j] * b[j] );
            }
            System.out.println(c);
        }
    }
}
}

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

#include <iostream>       
                           
int main(int argc, char *argv[]) {
    int matrix[100][100] = {{0}};
    int n, m = 0;         
    int vector[100] = {0};
                           
    std::cin >> n >> m;   
    for(int i = 0; i < n; i++) {
        for(int j = 0; j < m; j++) {
            std::cin >> matrix[i][j];
        }                 
    }                     
    for(int i = 0; i < m; i++) {
        std::cin >> vector[i];
    }                     
                           
    for(int i = 0; i < n; i++) {
        long int ret = 0; 
        for(int j = 0; j < m; j++) {
            ret += matrix[i][j] * vector[j];
        }                 
        std::cout << ret << std::endl;
    }                     
    return 0;             
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include <iostream>       
^
Main.java:4: error: not a statement
    int matrix[100][100] = {{0}};
                             ^
Main.java:6: error: not a statement
    int vector[100] = {0};
                       ^
Main.java:8: error: not a statement
    std::cin >> n >> m;   
                  ^
Main.java:11: error: not a statement
            std::cin >> matrix[i][j];
                     ^
Main.java:15: error: not a statement
        std::cin >> vector[i];
                 ^
Main.java:19: error: not a statement
        long int ret = 0; 
        ^
Main.java:23: error: not a statement
        std::cout << ret << std::endl;
                         ^
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
#include <iostream>       
         ^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: <identifier> expected
int main(int argc, char *argv[]) {
                       ^
Main.java:4: error: ']' expected
    int matrix[100][100] = {{0}};
               ^
Main.java:4: error: ';' expected
    int matrix[100][100] = {{0}};
                              ^
Main.java:6: error: ']' expected
    int vector[100] = {0};
               ^
Main.java:6: error: ';' expected
    int vector[100] = {0};
                        ^
Main.java:19: error: ';' expected
        long int ret = 0; 
            ^
15 errors
Language: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;
import java.util.ArrayList;
  
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 num_a[][] = new int[n][m];
        
        for (int i = 0; i < n; i++) {
            String[] line1 = br.readLine().split(" ");
            for (int x = 0; x < m; x++) {
                num_a[i][x] = Integer.parseInt(line1[x]);
            }
        }
          
        int num_b[] = new int[m];
        int num_c[] = new int[n];
          
        for(int i = 0; i < m; i++) {
            num_b[i] = Integer.parseInt(br.readLine());
        }
        
        for(int i = 0; i < n; i++) {
            for(int x = 0; x < m; x++) {
                num_c[i] += num_a[i][x] * num_b[x];
            }
        }
          
        for(int i = 0; i < n; i++) {
            System.out.println(num_c[i]);
        }
    }
  
}

Compiler output:
Main.java:7: error: cannot find symbol
    public static void main(String[] args) throws IOException {
                                                  ^
  symbol:   class IOException
  location: class Main
1 error
Language: Java

import java.util.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[][] mtrix_A = new int[n][m];
		int[] matrix_B = new int[m];
		int[] matrix_C = new int[n];
		for(int i = 0; i<n; i++){
			for(int j = 0;j<m;j++){
				int matrix_element = scan.nextInt();
				matrix_A[i][j] = matrix_element;
			}
		}

		for(int k=0;k<m;k++){
			int matrix_element2 = scan.nextInt();
			matrix_B[k] = matrix_element2;
		}

		for(int l = 0;l<n; l++){
			for(int p = 0; p<m; p++){
				matrix_C[l] = matrix_C[l]+mtrix_A[l][m] * matrix_B[l];
			}
		}

		for(int q = 0; q<matrix_C.length; q++){
			System.out.println(matrix_C[q]);
		}  
	}
}

Compiler output:
Main.java:13: error: cannot find symbol
				matrix_A[i][j] = matrix_element;
				^
  symbol:   variable matrix_A
  location: class Main
1 error
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[] b = new int[m];
		int[][] A = new int[n][m];
		int[] c = new int[n];
		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++){
			b[i] = scan.nextInt();
		}

		for(int i = 0; i < n; i++){
			for(int j = 0; j < m; j++){
				c[i] += a[i][j] * b[j];
			}
			System.out.printf("%d\n", c[i]);
		}
	}
}

Compiler output:
Main.java:23: error: cannot find symbol
				c[i] += a[i][j] * b[j];
				        ^
  symbol:   variable a
  location: class Main
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;
   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]);
   int[][] matrixA = new int[n][m];
   int[] matrixB = new int[m];

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

Compiler output:
Main.java:20: error: ')' or ',' expected
       matrixA[i][j] = Integer.parseInt(numList[j];
                                                  ^
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;
   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]);
   int[][] matrixA = new int[n][m];
   int[] matrixB = new int[m];

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

Compiler output:
Main.java:17: error: variable line is already defined in method main(String[])
    String line = br.readLine(); 
           ^
Main.java:18: error: variable token is already defined in method main(String[])
    String[] token = line.split(" ");
             ^
2 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;
   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]);
   int[][] matrixA = new int[n][m];
   int[] matrixB = new int[m];
   int[] matrixanswer = new int[n]; 

   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 i = 0; i < m ;i++){
      matrixB[i] = Integer.parseInt(br.readLine());
   }

   for(int i = 0; i < n ;i++){
      matrixanswer[i] = 0;
   }   

   for(int i = 0; i < n ;i++){
      for(int j = 0; j < m ;j++){
        matrixanswer[i] += matrixA[i][j]*matrixB[m];
      }
   }

    for(int j = 0; j < m ;j++){
       System.out.println(matrixanswer[i]);
      }


  }
}

Compiler output:
Main.java:41: error: cannot find symbol
       System.out.println(matrixanswer[i]);
                                       ^
  symbol:   variable i
  location: class Main
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;
   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]);
   int[][] matrixA = new int[n][m];
   int[] matrixB = new int[m];
   int[] matrixanswer = new int[n]; 

   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 i = 0; i < m ;i++){
      matrixB[i] = Integer.parseInt(br.readLine());
   }

   for(int i = 0; i < n ;i++){
      matrixanswer[i] = 0;
   }   

  for(int i = 0; i < n ;i++){
      for(int j = 0; j < m ;j++){
        matrixanswer[i] += matrixA[i][j]*matrixB[j];
      }
   }

    for(int j = 0; j < n ;j++){
       System.out.println(matrixanswerjn]);
    }


  }
}

Compiler output:
Main.java:41: error: ')' or ',' expected
       System.out.println(matrixanswerjn]);
                                        ^
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();
        int m = scan.nextInt();
        int [][]A;
        A = new int[n][m];
        int []b;
        b = new int[m];
        int []c;
        c = new int[n];
        int i,j;

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

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

        for(i = 0; i < n; i++){
        	for(j = 0; j < m; j++){
        	c[i] += A[n][m]*b[j]
        	}
        }
        System.out.println(c[i]);
        
    }
}

Compiler output:
Main.java:29: error: ';' expected
        	c[i] += A[n][m]*b[j]
        	                    ^
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();
        int m = scan.nextInt();
        int [][]A;
        A = new int[n][m];
        int []b;
        b = new int[m];
        int []c;
        c = new int[n];
        int i,j;

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

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

        for(i = 0; i < n; i++){
        	for(j = 0; j < m; j++){
        	c[i] += A[i][j]*b[j]
        	}
        }
        System.out.println(c[i]);
        
    }
}

Compiler output:
Main.java:29: error: ';' expected
        	c[i] += A[i][j]*b[j]
        	                    ^
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();
        int m = scan.nextInt();
        int [][]A;
        A = new int[n][m];
        int []b;
        b = new int[m];
        int []c;
        c = new int[n];
        int i,j;
 
        for(i = 0; i < n; i++){
            for(j = 0; j < m; j++){
            A[i][j] = scan.nextInt;
            }
        }
 
        for(j = 0; j < m ; j++){
        b[j] = scan.nextInt;
        }
 
        for(i = 0; i < n; i++){
            for(j = 0; j < m; j++){
            c[i] += A[i][j]*b[j]
            }
        }
        System.out.println(c[i]);
         
    }
}

Compiler output:
Main.java:29: error: ';' expected
            c[i] += A[i][j]*b[j]
                                ^
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();
        int m = scan.nextInt();
        int [][]A;
        A = new int[n][m];
        int []b;
        b = new int[m];
        int []c;
        c = new int[n];
        int i,j;
 
        for(i = 0; i < n; i++){
            for(j = 0; j < m; j++){
            A[i][j] = scan.nextInt;
            }
        }
 
        for(j = 0; j < m ; j++){
        b[j] = scan.nextInt;
        }
 
        for(i = 0; i < n; i++){
            for(j = 0; j < m; j++){
            c[i] += A[i][j]*b[j];
            }
        }
        System.out.println(c[i]);
         
    }
}

Compiler output:
Main.java:19: error: cannot find symbol
            A[i][j] = scan.nextInt;
                          ^
  symbol:   variable nextInt
  location: variable scan of type Scanner
Main.java:24: error: cannot find symbol
        b[j] = scan.nextInt;
                   ^
  symbol:   variable nextInt
  location: variable scan of type Scanner
2 errors
Language: Java

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

/**
 * 
 */

/**
 * @author cthanh
 *
 */
public class???Main {

	/**
	 * @param args
	 * @throws IOException
	 */

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

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


		for (int i = 0; i < n; i++) {
			str = br.readLine().split(" ");
			for (int j = 0; j < m; j++) {

				matrix[i][j] = Integer.parseInt(str[j]);
			}
		}
		for (int k = 0; k < m; k++) {
			String str1 = br.readLine();
			vector[k] = Integer.parseInt(str1);
		}

		for (int i = 0; i < n; i++) {
			int kakezan= 0;
			for (int j = 0; j < m; j++) {
				
				kakezan += matrix[i][j] * vector[j];

			}
			System.out.println(kakezan);
		}

	}

}

Compiler output:
Main.java:13: error: <identifier> expected
public class???Main {
            ^
1 error
Language: Java

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

Compiler output:
Main.java:7: error: ']' expected
    	int A[n][m];
    	      ^
Main.java:7: error: ';' expected
    	int A[n][m];
    	       ^
Main.java:7: error: not a statement
    	int A[n][m];
    	         ^
Main.java:7: error: ';' expected
    	int A[n][m];
    	          ^
Main.java:8: error: ']' expected
    	int B[m][1];
    	      ^
Main.java:8: error: ';' expected
    	int B[m][1];
    	       ^
Main.java:9: error: not a statement
    	A[][]= scan.nextInt[][];
    	 ^
Main.java:9: error: ';' expected
    	A[][]= scan.nextInt[][];
    	     ^
Main.java:9: error: not a statement
    	A[][]= scan.nextInt[][];
    	                   ^
Main.java:10: error: not a statement
    	B[][]= scan.nextInt[][];
    	 ^
Main.java:10: error: ';' expected
    	B[][]= scan.nextInt[][];
    	     ^
Main.java:10: error: not a statement
    	B[][]= scan.nextInt[][];
    	                   ^
Main.java:11: error: not a statement
      C[][]= scan.nextInt[][];
       ^
Main.java:11: error: ';' expected
      C[][]= scan.nextInt[][];
           ^
Main.java:11: error: not a statement
      C[][]= scan.nextInt[][];
                         ^
Main.java:17: error: ';' expected
            C[n][1]+=A[n][m]*B[n][1]
                                    ^
16 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	A[][]= scan.nextInt[][];
    	B[][]= scan.nextInt[][];
      C[][]= scan.nextInt[][];

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[n][1]
          }
        }
      }
}}

Compiler output:
Main.java:11: error: not a statement
    	A[][]= scan.nextInt[][];
    	 ^
Main.java:11: error: ';' expected
    	A[][]= scan.nextInt[][];
    	     ^
Main.java:11: error: not a statement
    	A[][]= scan.nextInt[][];
    	                   ^
Main.java:12: error: not a statement
    	B[][]= scan.nextInt[][];
    	 ^
Main.java:12: error: ';' expected
    	B[][]= scan.nextInt[][];
    	     ^
Main.java:12: error: not a statement
    	B[][]= scan.nextInt[][];
    	                   ^
Main.java:13: error: not a statement
      C[][]= scan.nextInt[][];
       ^
Main.java:13: error: ';' expected
      C[][]= scan.nextInt[][];
           ^
Main.java:13: error: not a statement
      C[][]= scan.nextInt[][];
                         ^
Main.java:19: error: ';' expected
            C[n][1]+=A[n][m]*B[n][1]
                                    ^
10 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	int A[][]= scan.nextInt[][];
    	int B[][]= scan.nextInt[][];
      int C[][]= scan.nextInt[][];

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[n][1]
          }
        }
      }
}}

Compiler output:
Main.java:11: error: '.class' expected
    	int A[][]= scan.nextInt[][];
    	                           ^
Main.java:12: error: '.class' expected
    	int B[][]= scan.nextInt[][];
    	                           ^
Main.java:13: error: '.class' expected
      int C[][]= scan.nextInt[][];
                                 ^
Main.java:19: error: ';' expected
            C[n][1]+=A[n][m]*B[n][1]
                                    ^
4 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	int A[][]= scan.nextInt[][];
    	int B[][]= scan.nextInt[][];
      int C[][]= scan.nextInt[][];

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[n][1]
          }
        }
      }
}}

Compiler output:
Main.java:11: error: '.class' expected
    	int A[][]= scan.nextInt[][];
    	                           ^
Main.java:12: error: '.class' expected
    	int B[][]= scan.nextInt[][];
    	                           ^
Main.java:13: error: '.class' expected
      int C[][]= scan.nextInt[][];
                                 ^
Main.java:21: error: ';' expected
            C[n][1]+=A[n][m]*B[n][1]
                                    ^
4 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	A[][]= scan.nextInt[][];
    	B[][]= scan.nextInt[][];
      C[][]= scan.nextInt[][];

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1]
          }
        }
      }
}}

Compiler output:
Main.java:11: error: not a statement
    	A[][]= scan.nextInt[][];
    	 ^
Main.java:11: error: ';' expected
    	A[][]= scan.nextInt[][];
    	     ^
Main.java:11: error: not a statement
    	A[][]= scan.nextInt[][];
    	                   ^
Main.java:12: error: not a statement
    	B[][]= scan.nextInt[][];
    	 ^
Main.java:12: error: ';' expected
    	B[][]= scan.nextInt[][];
    	     ^
Main.java:12: error: not a statement
    	B[][]= scan.nextInt[][];
    	                   ^
Main.java:13: error: not a statement
      C[][]= scan.nextInt[][];
       ^
Main.java:13: error: ';' expected
      C[][]= scan.nextInt[][];
           ^
Main.java:13: error: not a statement
      C[][]= scan.nextInt[][];
                         ^
Main.java:21: error: ';' expected
            C[n][1]+=A[n][m]*B[m][1]
                                    ^
10 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	A[][]=new int[][];
    	B[][]=new int[][];
      C[][]=new int[][];

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1]
          }
        }
      }
}}

Compiler output:
Main.java:11: error: not a statement
    	A[][]=new int[][];
    	 ^
Main.java:11: error: ';' expected
    	A[][]=new int[][];
    	     ^
Main.java:11: error: array dimension missing
    	A[][]=new int[][];
    	                 ^
Main.java:12: error: not a statement
    	B[][]=new int[][];
    	 ^
Main.java:12: error: ';' expected
    	B[][]=new int[][];
    	     ^
Main.java:12: error: array dimension missing
    	B[][]=new int[][];
    	                 ^
Main.java:13: error: not a statement
      C[][]=new int[][];
       ^
Main.java:13: error: ';' expected
      C[][]=new int[][];
           ^
Main.java:13: error: array dimension missing
      C[][]=new int[][];
                       ^
Main.java:21: error: ';' expected
            C[n][1]+=A[n][m]*B[m][1]
                                    ^
10 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	A[][]=scan.nextInt[][];
    	B[][]=scan.nextInt[][];
      C[][]=scan.nextInt[][];

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1]
          }
        }
      }
}}

Compiler output:
Main.java:11: error: not a statement
    	A[][]=scan.nextInt[][];
    	 ^
Main.java:11: error: ';' expected
    	A[][]=scan.nextInt[][];
    	     ^
Main.java:11: error: not a statement
    	A[][]=scan.nextInt[][];
    	                  ^
Main.java:12: error: not a statement
    	B[][]=scan.nextInt[][];
    	 ^
Main.java:12: error: ';' expected
    	B[][]=scan.nextInt[][];
    	     ^
Main.java:12: error: not a statement
    	B[][]=scan.nextInt[][];
    	                  ^
Main.java:13: error: not a statement
      C[][]=scan.nextInt[][];
       ^
Main.java:13: error: ';' expected
      C[][]=scan.nextInt[][];
           ^
Main.java:13: error: not a statement
      C[][]=scan.nextInt[][];
                        ^
Main.java:21: error: ';' expected
            C[n][1]+=A[n][m]*B[m][1]
                                    ^
10 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	A[][]=scan.nextInt[][];
    	B[][]=scan.nextInt[][];
      C[][]=scan.nextInt[][];

      Main f = new Main();

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

Compiler output:
Main.java:11: error: not a statement
    	A[][]=scan.nextInt[][];
    	 ^
Main.java:11: error: ';' expected
    	A[][]=scan.nextInt[][];
    	     ^
Main.java:11: error: not a statement
    	A[][]=scan.nextInt[][];
    	                  ^
Main.java:12: error: not a statement
    	B[][]=scan.nextInt[][];
    	 ^
Main.java:12: error: ';' expected
    	B[][]=scan.nextInt[][];
    	     ^
Main.java:12: error: not a statement
    	B[][]=scan.nextInt[][];
    	                  ^
Main.java:13: error: not a statement
      C[][]=scan.nextInt[][];
       ^
Main.java:13: error: ';' expected
      C[][]=scan.nextInt[][];
           ^
Main.java:13: error: not a statement
      C[][]=scan.nextInt[][];
                        ^
Main.java:21: error: ';' expected
            C[n][1]+=A[n][m]*B[m][1]
                                    ^
Main.java:22: error: '.class' expected
            System.out.println(C[][])
                                    ^
Main.java:22: error: ';' expected
            System.out.println(C[][])
                                     ^
12 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
    	int A[][]=scan.nextInt[][];
    	int B[][]=scan.nextInt[][];
      int C[][]=scan.nextInt[][];

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1];
          }
        }
      }
}}

Compiler output:
Main.java:11: error: '.class' expected
    	int A[][]=scan.nextInt[][];
    	                          ^
Main.java:12: error: '.class' expected
    	int B[][]=scan.nextInt[][];
    	                          ^
Main.java:13: error: '.class' expected
      int C[][]=scan.nextInt[][];
                                ^
3 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
      int A[][]=scan.nextInt[][];
    	int B[][]=scan.nextInt[][];
      int C[][]=scan.nextInt[][];

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1];
          }
        }
      }
}}

Compiler output:
Main.java:11: error: '.class' expected
      int A[][]=scan.nextInt[][];
                                ^
Main.java:12: error: '.class' expected
    	int B[][]=scan.nextInt[][];
    	                          ^
Main.java:13: error: '.class' expected
      int C[][]=scan.nextInt[][];
                                ^
3 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      

      Main f = new Main();

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1];
          }
        }
      }
}}

Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
      Scanner scan = new Scanner();
                     ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
      int A[][]=scan.nextInt[][];
    	int B[][]=scan.nextInt[][];
      int C[][]=scan.nextInt[][];

      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<m;j++){
          for(k=0;k<1;k++){
            C[n][1]+=A[n][m]*B[m][1];
          }
        }
      }
}}

Compiler output:
Main.java:11: error: '.class' expected
      int A[][]=scan.nextInt[][];
                                ^
Main.java:12: error: '.class' expected
    	int B[][]=scan.nextInt[][];
    	                          ^
Main.java:13: error: '.class' expected
      int C[][]=scan.nextInt[][];
                                ^
3 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[][] B=new int[m][1];
      int[][] C=new int[n][1];
      
      int A[][]=scan.nextInt[][];
    	int B[][]=scan.nextInt[][];
      int C[][]=scan.nextInt[][];
      
      C[n][1]+=A[n][m]*B[m][1];
      int i,j,k;
      for(i=0;i<n;i++){
        for(j=0;j<2;j++){
          System.out.println(C[i][j]);  
          
        }
      }
}}

Compiler output:
Main.java:11: error: '.class' expected
      int A[][]=scan.nextInt[][];
                                ^
Main.java:12: error: '.class' expected
    	int B[][]=scan.nextInt[][];
    	                          ^
Main.java:13: error: '.class' expected
      int C[][]=scan.nextInt[][];
                                ^
3 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[] B=new int[m];
      int[] C=new int[n];

      for (int s = 0;s<n;s++) {
        for(int t =0;t<m){
        A[s][t]=scan.nextInt();
      }}
    	for (int l = 0;l<m;l++)   {
         B[]=scan.nextInt();}

     int i,j;
      C[n][1]+=A[n][m]*B[m][1];
      
      for(i=0;i<n;i++){
        for(j=0;j<2;j++){
          System.out.println(C[i][j]);

        }
      }
}}

Compiler output:
Main.java:12: error: ';' expected
        for(int t =0;t<m){
                        ^
Main.java:16: error: not a statement
         B[]=scan.nextInt();}
          ^
Main.java:16: error: ';' expected
         B[]=scan.nextInt();}
            ^
3 errors
Language: Java

import java.util.Scanner;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner();
    	int m,n = scan.nextInt();

    	int[][] A=new int[n][m];
    	int[] B=new int[m];
      int[] C=new int[n];

      for (int s = 0;s<n;s++) {
        for(int t =0;t<m;t++){
        A[s][t]=scan.nextInt();
      }}
    	for (int l = 0;l<m;l++)   {
         B[]=scan.nextInt();}

     int i,j;
      C[n][1]+=A[n][m]*B[m][1];
      
      for(i=0;i<n;i++){
        for(j=0;j<2;j++){
          System.out.println(C[i][j]);

        }
      }
}}

Compiler output:
Main.java:16: error: not a statement
         B[]=scan.nextInt();}
          ^
Main.java:16: error: ';' expected
         B[]=scan.nextInt();}
            ^
2 errors