criyle/codenet-compile-errors huggingface dataset:
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[l]=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: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)
Main.java:19: error: array required, but int found
      C[n][1]+=A[n][m]*B[m][1];
          ^
Main.java:19: error: array required, but int found
      C[n][1]+=A[n][m]*B[m][1];
                           ^
Main.java:23: error: array required, but int found
          System.out.println(C[i][j]);
                                 ^
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];
      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[l]=scan.nextInt();}

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

        }
      
}}

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.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

      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[l]=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:6: error: array dimension missing
    	int[][] A=new int[][];
    	                     ^
Main.java:7: error: array dimension missing
    	int[] B=new int[];
    	                 ^
2 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

    	int[][] A=new int[100][100];
    	int[] B=new int[100];
      int C;

      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[l]=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:10: error: cannot find symbol
      for (int s = 0;s<n;s++) {
                       ^
  symbol:   variable n
  location: class Main
Main.java:11: error: cannot find symbol
        for(int t =0;t<m;t++){
                       ^
  symbol:   variable m
  location: class Main
Main.java:14: error: cannot find symbol
    	for (int l = 0;l<m;l++)   {
    	                 ^
  symbol:   variable m
  location: class Main
Main.java:18: error: cannot find symbol
      C[n][1]+=A[n][m]*B[m][1];
        ^
  symbol:   variable n
  location: class Main
Main.java:18: error: array required, but int found
      C[n][1]+=A[n][m]*B[m][1];
       ^
Main.java:18: error: cannot find symbol
      C[n][1]+=A[n][m]*B[m][1];
                 ^
  symbol:   variable n
  location: class Main
Main.java:18: error: cannot find symbol
      C[n][1]+=A[n][m]*B[m][1];
                    ^
  symbol:   variable m
  location: class Main
Main.java:18: error: cannot find symbol
      C[n][1]+=A[n][m]*B[m][1];
                         ^
  symbol:   variable m
  location: class Main
Main.java:18: error: array required, but int found
      C[n][1]+=A[n][m]*B[m][1];
                           ^
Main.java:20: error: cannot find symbol
      for(i=0;i<n;i++){
                ^
  symbol:   variable n
  location: class Main
Main.java:22: error: array required, but int found
          System.out.println(C[i][j]);
                              ^
11 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

    	int[][] A=new int[100][100];
    	int[] B=new int[100];
      int C;

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

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

Compiler output:
Main.java:10: error: cannot find symbol
      for (int s = 0;s<n;s++) {
                       ^
  symbol:   variable n
  location: class Main
Main.java:11: error: cannot find symbol
        for(int t =0;t<m;t++){
                       ^
  symbol:   variable m
  location: class Main
Main.java:14: error: cannot find symbol
    	for (int s = 0;s<m;s++)   {
    	                 ^
  symbol:   variable m
  location: class Main
Main.java:15: error: cannot find symbol
         B[l]=scan.nextInt();}
           ^
  symbol:   variable l
  location: class Main
Main.java:20: error: cannot find symbol
      for(i=0;i<n;i++){
                ^
  symbol:   variable n
  location: class Main
Main.java:22: error: cannot find symbol
          C += A[n][m]*B[m];
                 ^
  symbol:   variable n
  location: class Main
Main.java:22: error: cannot find symbol
          C += A[n][m]*B[m];
                    ^
  symbol:   variable m
  location: class Main
Main.java:22: error: cannot find symbol
          C += A[n][m]*B[m];
                         ^
  symbol:   variable m
  location: class Main
8 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

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

Compiler output:
Main.java:28: error: class, interface, enum, or record expected
        System.out.println(C);
        ^
Main.java:29: error: class, interface, enum, or record expected
}}
^
2 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

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

Compiler output:
Main.java:11: error: variable s is already defined in method main(String[])
      for (int s = 0;s<n;s++) {
               ^
Main.java:11: error: cannot find symbol
      for (int s = 0;s<n;s++) {
                       ^
  symbol:   variable n
  location: class Main
Main.java:12: error: variable t is already defined in method main(String[])
        for(int t =0;t<m;t++){
                ^
Main.java:12: error: cannot find symbol
        for(int t =0;t<m;t++){
                       ^
  symbol:   variable m
  location: class Main
Main.java:15: error: variable s is already defined in method main(String[])
    	for (int s = 0;s<m;s++)   {
    	         ^
Main.java:15: error: cannot find symbol
    	for (int s = 0;s<m;s++)   {
    	                 ^
  symbol:   variable m
  location: class Main
Main.java:16: error: cannot find symbol
         B[l]=scan.nextInt();}
           ^
  symbol:   variable l
  location: class Main
Main.java:21: error: cannot find symbol
      for(i=0;i<n;i++){
                ^
  symbol:   variable n
  location: class Main
Main.java:22: error: cannot find symbol
        for(j=0;j<m;j++){
                  ^
  symbol:   variable m
  location: class Main
Main.java:23: error: cannot find symbol
          C += A[n][m]*B[m];
                 ^
  symbol:   variable n
  location: class Main
Main.java:23: error: cannot find symbol
          C += A[n][m]*B[m];
                    ^
  symbol:   variable m
  location: class Main
Main.java:23: error: cannot find symbol
          C += A[n][m]*B[m];
                         ^
  symbol:   variable m
  location: class Main
12 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

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

Compiler output:
Main.java:16: error: cannot find symbol
         B[l]=scan.nextInt();}
           ^
  symbol:   variable l
  location: class Main
1 error
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

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

Compiler output:
Main.java:23: error: variable C might not have been initialized
          C += A[n][m]*B[m];
          ^
Main.java:25: error: variable C might not have been initialized
        System.out.println(C);
                           ^
2 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

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

Compiler output:
Main.java:23: error: variable C might not have been initialized
          C += A[i][j]*B[j];
          ^
Main.java:25: error: variable C might not have been initialized
        System.out.println(C);
                           ^
2 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

Compiler output:
Main.java:19: error: cannot find symbol
      for(s=0;s<n;s++){
          ^
  symbol:   variable s
  location: class Main
Main.java:19: error: cannot find symbol
      for(s=0;s<n;s++){
              ^
  symbol:   variable s
  location: class Main
Main.java:19: error: cannot find symbol
      for(s=0;s<n;s++){
                  ^
  symbol:   variable s
  location: class Main
Main.java:20: error: cannot find symbol
        for(t=0;t<m;t++){
            ^
  symbol:   variable t
  location: class Main
Main.java:20: error: cannot find symbol
        for(t=0;t<m;t++){
                ^
  symbol:   variable t
  location: class Main
Main.java:20: error: cannot find symbol
        for(t=0;t<m;t++){
                    ^
  symbol:   variable t
  location: class Main
Main.java:21: error: cannot find symbol
          C += A[i][j]*B[j];
                 ^
  symbol:   variable i
  location: class Main
Main.java:21: error: cannot find symbol
          C += A[i][j]*B[j];
                    ^
  symbol:   variable j
  location: class Main
Main.java:21: error: cannot find symbol
          C += A[i][j]*B[j];
                         ^
  symbol:   variable j
  location: class Main
9 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

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

Compiler output:
Main.java:21: error: cannot find symbol
          C += A[i][j]*B[j];
                 ^
  symbol:   variable i
  location: class Main
Main.java:21: error: cannot find symbol
          C += A[i][j]*B[j];
                    ^
  symbol:   variable j
  location: class Main
Main.java:21: error: cannot find symbol
          C += A[i][j]*B[j];
                         ^
  symbol:   variable j
  location: class Main
3 errors
Language: Java

import java.util.*;
  public class Main{
    public static void main(String[] args){
      Scanner scan = new Scanner(System.in);

    	int[][] A=new int[100][100];
    	int[] B=new int[100];
      int C;
     int n =scan.nextInt();
     int m = scan.nextInt();
      for (int s = 0;s<n;s++) {
        for(int t =0;t<m;t++){
        A[s][t]=scan.nextInt();
      }}
    	for (int s = 0;s<m;s++)   {
         B[s]=scan.nextInt();
      }
      
      for(int s=0;s<n;s++){
        for(int t=0;t<m;t++){
          C += A[s][t]*B[t];
        }
        System.out.println(C);
      }
}}

Compiler output:
Main.java:21: error: variable C might not have been initialized
          C += A[s][t]*B[t];
          ^
Main.java:23: error: variable C might not have been initialized
        System.out.println(C);
                           ^
2 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[][] a = new int[n][m];
		int[] b   = new int[m];
		int[] c   = new int[n];
	//a	
		for(int i=0;i<n;i++){
			String[] input=sc.nextLine().split(" ");
			for(int j=0;j<m;j++){
				a[i][j]=Integer.parseInt(input[j]);
			}
		}	
	//b	
		for(int i=0;i<m;i++){
			b[i]=sc.nextInt();
		}
	//c	
		for(int i=0;i<n;i++){
			int sum;
			for(int j=0;j<m;j++){
				sum=sum+a[i][j]*b[j];
			}
			c[i]=sum;
			sum=0;
		}
	//output
		for(int i=0;i<n;i++){
			System.out.println(c[i]);
		}
	}
}

Compiler output:
Main.java:29: error: variable sum might not have been initialized
				sum=sum+a[i][j]*b[j];
				    ^
Main.java:31: error: variable sum might not have been initialized
			c[i]=sum;
			     ^
2 errors
Language: Java

import java.util.Scanner;

/**
 *
 * @author k16075kk
 */
public class ITP16D {

    /**
     * @param args the command line arguments
     */
    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[] C = new int[n];
        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++) {
            B[i] = sc.nextInt();
        }

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

        for (int i = 0; i < n; i++) {
            System.out.println(C[i]);
        }
    }

}



Compiler output:
Main.java:7: error: class ITP16D is public, should be declared in a file named ITP16D.java
public class ITP16D {
       ^
1 error
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j,c;
int a[][]=0;
int b[]=0;
intc[][]=0;

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


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

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


for(i=0;i<n;i++){
                 for(j=0;j<m;j++){
                                  printf("%d/n",c=a[i][j]*b[j]);
                                  }
                 }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:6:5: error: array type has incomplete element type 'int[]'
    6 | int a[][]=0;
      |     ^
main.c:6:5: note: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
main.c:7:9: error: invalid initializer
    7 | int b[]=0;
      |         ^
main.c:8:1: error: 'intc' undeclared (first use in this function); did you mean 'int'?
    8 | intc[][]=0;
      | ^~~~
      | int
main.c:8:1: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:6: error: expected expression before ']' token
    8 | intc[][]=0;
      |      ^
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",b[j])
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",b[j])
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",b[j])
      |                          ^~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",b[j])
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j,c;
int a[][]={0};
int b[]={0};


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


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

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


for(i=0;i<n;i++){
                 for(j=0;j<m;j++){
                                  printf("%d/n",c=a[i][j]*b[j]);
                                  }
                 }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:6:5: error: array type has incomplete element type 'int[]'
    6 | int a[][]={0};
      |     ^
main.c:6:5: note: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j])
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j])
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j])
      |                          ^~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j])
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j,c;
int a[][]={0};
int b[]={0};


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


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

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


for(i=0;i<n;i++){
                 for(j=0;j<m;j++){
                                  printf("%d/n",c=a[i][j]*b[j]);
                                  }
                 }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:6:5: error: array type has incomplete element type 'int[]'
    6 | int a[][]={0};
      |     ^
main.c:6:5: note: declaration of 'a' as multidimensional array must have bounds for all dimensions except the first
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j]);
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^~~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j]);
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j,c;
int a[100][100];
int b[100];


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


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

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


for(i=0;i<n;i++){
                 for(j=0;j<m;j++){
                                  printf("%d/n",c=a[i][j]*b[j]);
                                  }
                 }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j]);
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^~~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j]);
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j;
int a[100][100];
int b[100];
int c[100];

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


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

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


for(i=0;i<n;i++){
                 for(j=0;j<m;j++){
                                  printf("%d/n",c[i]+=a[i][j]*b[j]);
                                  }
                 }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j]);
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^~~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j]);
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j;
int a[100][100];
int b[100];
int c[100];

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


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

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


for(i=0;i<n;i++){
                 c[i]=0;
                 for(j=0;j<m;j++){
                                  printf("%d/n",c[i]+=a[i][j]*b[j]);
                                  }
                 }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j]);
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^~~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j]);
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j;
int a[100][100];
int b[100];
int c[100];

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


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

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


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

 for(j=0;j<m;j++){
                 printf("%d/n",c[i]);
                  }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j]);
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^~~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j]);
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>

 main() 
{
int n,m,i,j;
int a[100][100];
int b[100];
int c[100];

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


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

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


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

 for(i=0;i<n;i++){
                 printf("%d/n",c[i]);
                  }
return 0; 
}




Compiler output:
main.c:3:2: error: return type defaults to 'int' [-Wimplicit-int]
    3 |  main()
      |  ^~~~
main.c: In function 'main':
main.c:21:24: error: expected expression before '%' token
   21 |                  scanf(%d",&b[j]);
      |                        ^
main.c:21:26: warning: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^
main.c:21:26: error: missing terminating " character
   21 |                  scanf(%d",&b[j]);
      |                          ^~~~~~~~~
main.c:21:26: error: expected ';' before '}' token
   21 |                  scanf(%d",&b[j]);
      |                          ^
      |                          ;
   22 |                  }
      |                  ~
Language: C

#include<stdio.h>
main(void){
    
  int n,m,i,j;
  int a[100][100],b[100]={};
  scanf("%d%d",&n,&m);
  for(i=0;i<n;i++){
    for(j=0;j<m;j++){
      scanf("%d",&a[i][j]);
      
    }
    
  }
  for(i=0;i<m;i++){
      
    scanf("%d",&b[i]);
  }
  for(i=0;i<n;i++){
    for(j=0;j<m;j++){
      c[i]+=a[i][j]*b[j];
    }
    printf("%d\n",c[i]);
  }
  
  return 0;
}



Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(void){
      | ^~~~
main.c: In function 'main':
main.c:20:7: error: 'c' undeclared (first use in this function)
   20 |       c[i]+=a[i][j]*b[j];
      |       ^
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(){
  int n,m,i,j,ans=0;
  scanf("%d %d",&n,&m);
  int A[n][m],b[m];
  for(i=0;i<n;i++){
    for(j=0;j<m;j++){
      scanf(%d,&A[i][j]);
    }
  }
  for(i=0;i<m;i++){
    scanf("%d",&b[i]);
  }
  for(i=0;i<n;i++){
    for(j=0;j<m;j++){
      ans+=A[i][j]*b[m];
      printf("%d\n",ans);
      ans=0;
    }
  }
}



Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected expression before '%' token
    8 |       scanf(%d,&A[i][j]);
      |             ^
Language: C

#include<stdio.h>

int main(){

int i,j,k,h,n,m;

scanf("%d %d",&n,&m);
int A[n][m];
int b[m];

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

for(k = 0; k < m;k++){
  scanf("%d",&b[k]);
  }
int c = 0;
for(i = 0; i < n;i++){
  for(h = 0; h < m;h++){
  c += A[i][h]*b[h];
  }
printf("%d\n",c);
}

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:15:1: error: implicit declaration of function 'primtf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   15 | primtf("%n");
      | ^~~~~~
      | printf
Language: C

#include<stdio.h>
int main(void){
int n,m,a,aa,A[100][100],b[100],sum=0;
scanf("%d %d",&n,&m);
for(a=0;a<n;a++)for(aa=0;aa<m;aa++)scanf("%d",&A[a][b]);
for(a=0;a<m;a++)scanf("%d",&b[a]);
for(a=0;a<n;a++){
for(aa=0;a<m;a++){
sum+=A[a][aa]*b[aa];
}
printf("%d\n",sum);
sum=0;
}

return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:52: error: array subscript is not an integer
    5 | for(a=0;a<n;a++)for(aa=0;aa<m;aa++)scanf("%d",&A[a][b]);
      |                                                    ^
Language: C

#include<iostream>
using namespace std;

int main(){

int a[100][100] ;
int b[100] ;
int c[100] ;

int n,m;

cout << "行列の型" ;
cin >> n >> m ;

cout << "行列の入力" ;
for(int i=0; i<n ; i++){
  for(int j=0; j<m ; j++){
   cin >> a[i][j] ;
  }
}

cout <<"ベクトルの入力";

for(int i=0;i<m;i++){
  cin >> b[i] ;
}

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


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

return 0 ;

}

Compiler output:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

main()
{
	int n,m;
	scanf("%d %d",&n,&m);
	
	int a[n][m];
	int b[m];
	int c[n]={};
	
	int i,j;
	
	for(i=0;i<m;i++){
		for(j=0;j<n;j++){
			scanf(" %d",&a[i][j]);
		}
	}
	for(i=0;i<m;i++){
		scanf(" %d",&b[i]);
	}
	
	for(i=0;i<n;i++){
		for(j=0;j<m;j++){
			c[i] += a[i][j]*b[j];
		}
		printf("%d\n",c[i]);
	}
	return 0;
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
Language: C

#include<stdio.h>

int main(void){
  int i,j,s;
  static int a[100][100],b[100],c[100];

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

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

  for(i=0;i<m;i++)
    scanf("%d",&c[i]);

  for(i=0;i<n;i++){
    s = 0;
    for(j=0;j<m;j++)
      s += a[i][j] * c[i];
    printf("%d\n",s);
  }
  
  return 0;
}
    

Compiler output:
main.c: In function 'main':
main.c:7:17: error: 'n' undeclared (first use in this function)
    7 |   scanf("%d%d",&n,&m);
      |                 ^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:20: error: 'm' undeclared (first use in this function)
    7 |   scanf("%d%d",&n,&m);
      |                    ^
Language: C

/*
   1 2 3
   4 5 6
   7 8 9

   1
   2
   3

   c1=1*1+2*2+3*3
   c2=4*1+5*2+6*3
   c3=7*1+8*2+9*3
*/

#include<stdio.h>
#define SIZE 100

int main(void)
{
  int n, m;
  int A[SIZE][SIZE];
  int b[size];
  int i, j, c;

  scanf("%d %d", &n, &m);
  for(i=1; i <= n; i++){
    for(j = 1; j <= m-1; j++){
      scanf("%d ", &A[i][j]);
    }
    scanf("%d", &A[]i[j]);
  }
  for(i = 1; i <= m; i++){
    scanf("%d", %b[size]);
  }

  for(i = 1; i <= n; i++){
    c = 0;
    for(j = 1; j <= m; j++){
      c = c + A[i][j] + b[j]; 
    }
    printf("%d\n", c);
  }

  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:22:9: error: 'size' undeclared (first use in this function); did you mean 'size_t'?
   22 |   int b[size];
      |         ^~~~
      |         size_t
main.c:22:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:30:20: error: expected expression before ']' token
   30 |     scanf("%d", &A[]i[j]);
      |                    ^
main.c:33:17: error: expected expression before '%' token
   33 |     scanf("%d", %b[size]);
      |                 ^
Language: C

/*
   1 2 3
   4 5 6
   7 8 9

   1
   2
   3

   c1=1*1+2*2+3*3
   c2=4*1+5*2+6*3
   c3=7*1+8*2+9*3
*/

#include<stdio.h>
#define SIZE 100

int main(void)
{
  int n, m;
  int A[SIZE][SIZE];
  int b[SIZE];
  int i, j, c;

  scanf("%d %d", &n, &m);
  for(i=1; i <= n; i++){
    for(j = 1; j <= m-1; j++){
      scanf("%d ", &A[i][j]);
    }
    scanf("%d", &A[]i[j]);
  }
  for(i = 1; i <= m; i++){
    scanf("%d", %b[size]);
  }

  for(i = 1; i <= n; i++){
    c = 0;
    for(j = 1; j <= m; j++){
      c = c + A[i][j] + b[j]; 
    }
    printf("%d\n", c);
  }

  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:30:20: error: expected expression before ']' token
   30 |     scanf("%d", &A[]i[j]);
      |                    ^
main.c:33:17: error: expected expression before '%' token
   33 |     scanf("%d", %b[size]);
      |                 ^
Language: C

#include <stdio.h>

int main(void){

  int A[][];
  int b[];
  int c[];
  int n,m;
  register int i,j;

  scanf("%d %d",&n,&m);
  for(i = 0;i < n;i++){
    for(j = 0;j < m;j++){
      scanf("%d",&A[i][j]);
    }
  }
  for(i = 0;i < m;i++){
    scanf("%d",&b[i]);
  }
  for(i = 0;i < m;i++){
    for(j = 0;j < n;j++){
      c[i] += (A[i][j] * b[i]);
    }
  }
  for(i = 0;i < m;i++){
    printf("%d\n",c[m]);
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: array type has incomplete element type 'int[]'
    5 |   int A[][];
      |       ^
main.c:5:7: note: declaration of 'A' as multidimensional array must have bounds for all dimensions except the first
main.c:6:7: error: array size missing in 'b'
    6 |   int b[];
      |       ^
main.c:7:7: error: array size missing in 'c'
    7 |   int c[];
      |       ^
Language: C

#include <stdio.h>

int main(void){

  int A[][] = {0};
  int b[] = {0};
  int c[] = {0};
  int n,m;
  register int i,j;

  scanf("%d %d",&n,&m);
  for(i = 0;i < n;i++){
    for(j = 0;j < m;j++){
      scanf("%d",&A[i][j]);
    }
  }
  for(i = 0;i < m;i++){
    scanf("%d",&b[i]);
  }
  for(i = 0;i < m;i++){
    for(j = 0;j < n;j++){
      c[i] += (A[i][j] * b[i]);
    }
  }
  for(i = 0;i < m;i++){
    printf("%d\n",c[m]);
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: array type has incomplete element type 'int[]'
    5 |   int A[][] = {0};
      |       ^
main.c:5:7: note: declaration of 'A' as multidimensional array must have bounds for all dimensions except the first
Language: C

#include <stdio.h>
 
int main(void){
 
  int A[][] = {0};
  int b[] = {0};
  int c[] = {0};
  int n,m;
  register int i,j;
 
  scanf("%d %d",&n,&m);
  for(i = 0;i < n;i++){
    for(j = 0;j < m;j++){
      scanf("%d",&A[i][j]);
    }
  }
  for(i = 0;i < m;i++){
    scanf("%d",&b[i]);
  }
  for(i = 0;i < m;i++){
    for(j = 0;j < n;j++){
      c[i] += (A[i][j] * b[i]);
    }
  }
  for(i = 0;i < m;i++){
    printf("%d\n",c[m]);
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:7: error: array type has incomplete element type 'int[]'
    5 |   int A[][] = {0};
      |       ^
main.c:5:7: note: declaration of 'A' as multidimensional array must have bounds for all dimensions except the first
Language: C

#include <stdio.h>
 
int A[100][100];
int b[100], c[100];
 
int main(){
  int n,m,a,i,j;
  scanf("%d%d", &n, &m);
   
  for(i=0; i<n; i++)
      scanf("%d", &a);
      A[i][j] = a;
    }
  for(j=0; j<m; j++){
    scanf("%d", &a);
    b[j] = a;
  }
  for(i=0; i<n; i++)
    for(j=0; j<m; j++)
      c[i] += A[i][j] * b[j]; 
     
  for(i=0; i<n; i++)
    printf("%d\n", c[i]);
   
  return 0;
}

Compiler output:
main.c:14:3: error: expected identifier or '(' before 'for'
   14 |   for(j=0; j<m; j++){
      |   ^~~
main.c:14:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   14 |   for(j=0; j<m; j++){
      |             ^
main.c:14:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   14 |   for(j=0; j<m; j++){
      |                  ^~
main.c:18:3: error: expected identifier or '(' before 'for'
   18 |   for(i=0; i<n; i++)
      |   ^~~
main.c:18:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   18 |   for(i=0; i<n; i++)
      |             ^
main.c:18:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   18 |   for(i=0; i<n; i++)
      |                  ^~
main.c:19:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   19 |     for(j=0; j<m; j++)
      |               ^
main.c:19:20: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   19 |     for(j=0; j<m; j++)
      |                    ^~
main.c:22:3: error: expected identifier or '(' before 'for'
   22 |   for(i=0; i<n; i++)
      |   ^~~
main.c:22:13: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
   22 |   for(i=0; i<n; i++)
      |             ^
main.c:22:18: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
   22 |   for(i=0; i<n; i++)
      |                  ^~
main.c:25:3: error: expected identifier or '(' before 'return'
   25 |   return 0;
      |   ^~~~~~
main.c:26:1: error: expected identifier or '(' before '}' token
   26 | }
      | ^
Language: C

#include <stdio.h>
int main(void)
{

int x[101][101], y[101];
int a[101] = {0};
int m, n, i, j;

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

for(i = 1; i <= m; i++)
 for(j = 1; j <= n; j++)
scanf("%d",&x[i][j]);

for(i = 1; i <= n; i++)
scanf("%d",&y[i]);

for(i = 1; i <= n; i++){
for(j = 1; j <= m; j++)
a[i] += x[i][j] * y[j];

printf("%d\n",a[i])};

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:22:20: error: expected ';' before '}' token
   22 | printf("%d\n",a[i])};
      |                    ^
      |                    ;
Language: C

#include<stdio.h>

int main (void){
	
	int n,m,i,s,t,a,b,n,sum;
	int matrix[100][100]={0},vector[100]={0};
	
	scanf("%d %d",&n,&m);
	
	for(i=0;i<n;i++){
		for(t=0;t<m;t++){
			
			scanf("%d",&a);
			matrix[i][t] += a;
		}
	}
	
	for(s=0;s<m;s++){
		scanf("%d",&b);
		vector[s] += b;
	}
	
	for(i=0;i<n;i++){
		sum = 0;
		for(t=0;t<m;t++){
			
		sum += matrix[i][t]*vector[t];
		}
	printf("%d\n",sum);
	}
	
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:27: error: redeclaration of 'n' with no linkage
    5 |         int n,m,i,s,t,a,b,n,sum;
      |                           ^
main.c:5:13: note: previous declaration of 'n' with type 'int'
    5 |         int n,m,i,s,t,a,b,n,sum;
      |             ^
Language: C

#include <stdio.h>

int main() {

  int i,j,n,m;
  int a[100][100], b[100], c[100];

//c?????????
  for ( i = 0; i < n; i++) {

    c[i] = 0;

  }

//n,m??\???
  scanf("%d %d", &n, &m);


//a??\???
  for( i = 0; i < n; i++){
    for ( j = 0; j < m; j++) {

      scanf("%d ", &a[i][j]);

    }
  }


//b??\???
  for ( i = 0; i < m; i++) {

    scanf("%d", &b[i]);

  }



//????¨????
  for( i = 0; i < n; i++){
    for ( j = 0; j < m; j++) {

      c[i] += a[i][j] * b[j];

    }
  }

//c??????
  for( i = 0; i < n; i++){

      printf("%d\n", c[i]);

  }



  return???0;
}

Compiler output:
main.c: In function 'main':
main.c:56:9: error: expected expression before '?' token
   56 |   return???0;
      |         ^
Language: C

#include<stdio.h>
int main(void)
{
  int column;
  int row;
  int i,j;

  scanf("%d %d",&column,&row);

  int a[column][row];
  int b[row];
  int c[column];

  for(i=0;i<row;i++){
    c[i] = 0;
  }


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

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

  for(i=0;i<column;i++){
    for(j=0;j<row;j++){
      c[i] += a[i][j]*b[j];
    }
    printf("%d\n",c[i]);
  }
???printf("\n");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:35:1: error: expected expression before '?' token
   35 | ???printf("\n");
      | ^
Language: C

#include<stdio.h>

int main(void) {
int n,m;
int i,j;
int ans = 0;

scanf("%d %d", &n, &m);
int matA[n][m];
int matB[m];

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

for(int i = 0; i < n; i++) {
for(int j = 0; j < m; j++) {
ans += matAi][j]*matB[j];
}
}
printf("%d", ans);

return (0);
}

Compiler output:
main.c: In function 'main':
main.c:18:22: error: expected ';' before '}' token
   18 | scanf("%d", &matB[j])
      |                      ^
      |                      ;
   19 | }
      | ~                     
main.c:23:8: error: 'matAi' undeclared (first use in this function); did you mean 'matA'?
   23 | ans += matAi][j]*matB[j];
      |        ^~~~~
      |        matA
main.c:23:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:23:13: error: expected ';' before ']' token
   23 | ans += matAi][j]*matB[j];
      |             ^
      |             ;
main.c:23:13: error: expected statement before ']' token
main.c:23:14: error: expected expression before '[' token
   23 | ans += matAi][j]*matB[j];
      |              ^
Language: C

#include<stdio.h>

int main(void) {
int n,m;
int i,j;
int ans = 0;

scanf("%d %d", &n, &m);
int matA[n][m];
int matB[m];

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

for(int i = 0; i < n; i++) {
for(int j = 0; j < m; j++) {
ans += matAi][j]*matB[j];
}
}
printf("%d", ans);

return (0);
}

Compiler output:
main.c: In function 'main':
main.c:23:8: error: 'matAi' undeclared (first use in this function); did you mean 'matA'?
   23 | ans += matAi][j]*matB[j];
      |        ^~~~~
      |        matA
main.c:23:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:23:13: error: expected ';' before ']' token
   23 | ans += matAi][j]*matB[j];
      |             ^
      |             ;
main.c:23:13: error: expected statement before ']' token
main.c:23:14: error: expected expression before '[' token
   23 | ans += matAi][j]*matB[j];
      |              ^