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

#include <stdio.h>
int main() 
{
	int A, B;
	scanf("%d", & A);
	scanf("%d", & B);
	
	for(i = 1; i <= 100; i++)
	{
	printf("A * B,\n", A * B);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:13: error: 'i' undeclared (first use in this function)
    8 |         for(i = 1; i <= 100; i++)
      |             ^
main.c:8:13: note: each undeclared identifier is reported only once for each function it appears in
Language: C

include <stdio.h>
int main() 
{
	int A, B;
	scanf("%d", & A);
	scanf("%d", & B);
	
	for(i = 1; i <= 100; i++)
	{
	printf("A * B,\n", A * B);
	}
	return 0;
}

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

#include <stdio.h>

main()
{
int A, B;

scanf("%d",& A );
scanf("%d",& B;

for( i >=1; i <=100; i++)

printf("A * B\n");

return0;
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
main.c: In function 'main':
main.c:8:15: error: expected ')' before ';' token
    8 | scanf("%d",& B;
      |      ~        ^
      |               )
main.c:14:9: error: expected ';' before '}' token
   14 | return0;
      |         ^
      |         ;
   15 | }
      | ~
Language: C++

#include <iostream>

int main(){
	int a,b,ans;
  
  	cin >> a >> b;
  
  	ans = a * b;
  
  	cout << ans << endl;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         cout << ans << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |         cout << ans << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

public class Main {
 
 
 
	public static void main(String[] args) {
 
 
		Scanner myObj = new Scanner(System.in);
 
		long ans = sol(myObj);
		
		
		myObj.close();
		
		System.out.println(ans);
	}
	
	
	public static long sol(Scanner obj)
	{
		ArrayList<Long> arr = new ArrayList<>();
		
		long n = obj.nextLong();
		
		for(long i = 0; i < n; i++)
		{
			long num = obj.nextLong();
			if(num == 0)
				return 0;
			else
				arr.add(num);
		}
		long total = 1;
		long bound = (long)Math.pow(10.0, 18.0);
		
		for(long i = 0; i < n; i++)
		{
			if(total > bound)
				return -1;
			else
			{
				try{
					total *= obj.nextLong();
				}
				catch(Exception e)
				{
					return -1;
				}
			}
				
		}
		return total;
	}
}

Compiler output:
Main.java:19: error: cannot find symbol
	public static long sol(Scanner obj)
	                       ^
  symbol:   class Scanner
  location: class Main
Main.java:8: error: cannot find symbol
		Scanner myObj = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:8: error: cannot find symbol
		Scanner myObj = new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Main
Main.java:21: error: cannot find symbol
		ArrayList<Long> arr = new ArrayList<>();
		^
  symbol:   class ArrayList
  location: class Main
Main.java:21: error: cannot find symbol
		ArrayList<Long> arr = new ArrayList<>();
		                          ^
  symbol:   class ArrayList
  location: class Main
5 errors
Language: Java

//package codef;

import java.util.Scanner;

public class main {
 
 
 
	public static void main(String[] args) {
 
 
		Scanner myObj = new Scanner(System.in);
 
		long bound = (long)Math.pow(10.0, 18.0);
		
		long total = 1;
		
		long n = myObj.nextLong();
		
		while(n != 0)
		{
			
			total *= myObj.nextLong();
			n--;
		}
		
		if(total > bound)
		{
			total = -1;
		}
		myObj.close();
		
		System.out.println(total);
	}
 
}

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

import java.util.Scanner;

public class main {
 
 
 
	public static void main(String[] args) {
 
 
		Scanner myObj = new Scanner(System.in);
 
		long bound = (long)Math.pow(10.0, 18.0);
		
		long total = 1;
		
		long n = myObj.nextLong();
		
		while(n != 0)
		{
			
			total *= myObj.nextLong();
			n--;
		}
		
		if(total > bound)
		{
			total = -1;
		}
		myObj.close();
		
		System.out.println(total);
	}
 
}

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

int a;
int b;
cin>>a>>b;
return a*b;

Compiler output:
a.cc:3:1: error: 'cin' does not name a type
    3 | cin>>a>>b;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'return'
    4 | return a*b;
      | ^~~~~~
Language: C

#include<stdio.h>
main()
{
int A,B,sum;
scanf("%d %d",&A,&B);
sum=A*B
printf("%d",sum);
}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:6:8: error: expected ';' before 'printf'
    6 | sum=A*B
      |        ^
      |        ;
    7 | printf("%d",sum);
      | ~~~~~~
Language: C

#include<stdio.h.
main()
{
int A,B,sum;
scanf("%d %d",&A,&B);
sum=A*B
printf("%c",sum);
}

Compiler output:
main.c:1:18: error: missing terminating > character
    1 | #include<stdio.h.
      |                  ^
main.c:1:9: fatal error: stdio.h.: No such file or directory
    1 | #include<stdio.h.
      |         ^
compilation terminated.
Language: C

#include<stdio.h>
int main()
{
    int A,B,M;
    scanf("%d", &A);
    scanf("%d", &B);
    if(1<=A && A<=100 && 1<=B && B<=100){
        M=A*B;
        printf("M=%d", M);
    }
    return 0;

Compiler output:
main.c: In function 'main':
main.c:11:5: error: expected declaration or statement at end of input
   11 |     return 0;
      |     ^~~~~~
Language: C++

#include<stdio.h>
#include<iostream>
using namespace std;
int main()
{
  int num1,num2;
  cin>>num1>>num2;
  cout<<num1num2;
  return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'num1num2' was not declared in this scope
    8 |   cout<<num1num2;
      |         ^~~~~~~~
Language: C++

include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long lim = 1e18;
  long long tmp = 1;
  
  int n;
  cin >> n;
  long long input;
 
  //calculation
  for(int i = 0; i < n ; i++)
    cin >> input;
   
    // input 0
    if(input == 0){
      cout << 0 << "¥n" ;
      return 0;
    }
     
    tmp *= input;
  
    // over the limit answer
    if(temp > lim || temp < 0){
      temp = -1;
      return 0;
    }
  }
 
    cout << (long long)temp << "\n";
}
#include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long lim = 1e18;
  long long tmp = 1;
  
  int n;
  cin >> n;
  long long input;
 
  //calculation
  for(int i = 0; i < n ; i++){
    cin >> input;
   
    // input 0
    if(input == 0){
      cout << 0 << "¥n" ;
      return 0;
    }
     
    tmp *= input;
  
    // over the limit answer
    if(tmp > lim || tmp < 0){
      tmp = -1;
      return 0;
    }
  }
 
    cout << (long long)tmp << "\n";
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'ios' has not been declared
    6 |   ios::sync_with_stdio(0);
      |   ^~~
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin.tie(0);
      |   ^~~
a.cc:23:7: error: 'cout' was not declared in this scope
   23 |       cout << 0 << "¥n" ;
      |       ^~~~
a.cc:30:8: error: 'temp' was not declared in this scope; did you mean 'tmp'?
   30 |     if(temp > lim || temp < 0){
      |        ^~~~
      |        tmp
a.cc: At global scope:
a.cc:36:5: error: 'cout' does not name a type
   36 |     cout << (long long)temp << "\n";
      |     ^~~~
a.cc:37:1: error: expected declaration before '}' token
   37 | }
      | ^
a.cc:41:5: error: redefinition of 'int main()'
   41 | int main(){
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main(){
      |     ^~~~
Language: C++

include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long lim = 1e18;
  long long tmp = 1;
  
  int n;
  cin >> n;
  long long input;
 
  //calculation
  for(int i = 0; i < n ; i++)
    cin >> input;
   
    // input 0
    if(input == 0){
      cout << 0 << "¥n" ;
      return 0;
    }
     
    tmp *= input;
  
    // over the limit answer
    if(temp > lim || temp < 0){
      temp = -1;
      return 0;
    }
  }
 
    cout << (long long)temp << "\n";
}
#include <bits/stdc++.h>
using namespace std;
 
int main(){
  //acceleration
  ios::sync_with_stdio(0);
  cin.tie(0);
  
  //initialization
  long long lim = 1e18;
  long long tmp = 1;
  
  int n;
  cin >> n;
  long long input;

  //calculation
  for(int i = 0; i < n ; i++)
    cin >> input;
   
    // input 0
    if(input == 0){
      cout << 0 << "¥n" ;
      return 0;
    }
     
    tmp *= input;
  
    // over the limit answer
    if(tmp > lim || tmp < 0){
      tmp = -1;
      return 0;
    }
  }
 
    cout << (long long)tmp << "\n";
}
提出情報
提出日時

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'ios' has not been declared
    6 |   ios::sync_with_stdio(0);
      |   ^~~
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin.tie(0);
      |   ^~~
a.cc:23:7: error: 'cout' was not declared in this scope
   23 |       cout << 0 << "¥n" ;
      |       ^~~~
a.cc:30:8: error: 'temp' was not declared in this scope; did you mean 'tmp'?
   30 |     if(temp > lim || temp < 0){
      |        ^~~~
      |        tmp
a.cc: At global scope:
a.cc:36:5: error: 'cout' does not name a type
   36 |     cout << (long long)temp << "\n";
      |     ^~~~
a.cc:37:1: error: expected declaration before '}' token
   37 | }
      | ^
a.cc:41:5: error: redefinition of 'int main()'
   41 | int main(){
      |     ^~~~
a.cc:4:5: note: 'int main()' previously defined here
    4 | int main(){
      |     ^~~~
a.cc:73:5: error: 'cout' does not name a type
   73 |     cout << (long long)tmp << "\n";
      |     ^~~~
a.cc:74:1: error: expected declaration before '}' token
   74 | }
      | ^
a.cc:75:1: error: '\U000063d0\U000051fa\U000060c5\U00005831' does not name a type
   75 | 提出情報
      | ^~~~~~~~
Language: C++

#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
// long long型の整数定数 大きな整数を扱うときに使う　慣習みたいなもの
using ll = long long;
// map splitみたいなもんなんかな？
using P = pair<int,int>;
 
int main() {
//   変数を指定
  int a, b;
//   c言語を使って入力 >>で入力in　<<で出力out
  cin >> a >> b;
//   endlは開業
  cout << a*b << endl;
//   pythonでいうところのbreakみたいなもん
  return 0;
}

Compiler output:
a.cc:6:11: error: 'pair' does not name a type
    6 | using P = pair<int,int>;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:12:3: error: 'cin' was not declared in this scope
   12 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #define rep(i,n) for (int i = 0; i < (n); ++i)
a.cc:14:3: error: 'cout' was not declared in this scope
   14 |   cout << a*b << endl;
      |   ^~~~
a.cc:14:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:18: error: 'endl' was not declared in this scope
   14 |   cout << a*b << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #define rep(i,n) for (int i = 0; i < (n); ++i)
Language: C++

// 指定回数ループして現時点の回数も分かるrepマクロ
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
// long long型の整数定数 大きな整数を扱うときに使う　慣習みたいなもの
using ll = long long;
// map splitみたいなもんなんかな？
using P = pair<int,int>;
 
int main() {
//   変数を指定
  int a, b;
//   c言語を使って入力 >>で入力in　<<で出力out
  cin >> a >> b;
//   endlは開業
  cout << a*b << endl;
//   pythonでいうところのbreakみたいなもん
  return 0;
}

Compiler output:
a.cc:7:11: error: 'pair' does not name a type
    7 | using P = pair<int,int>;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:13:3: error: 'cin' was not declared in this scope
   13 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | // 指定回数ループして現時点の回数も分かるrepマクロ
a.cc:15:3: error: 'cout' was not declared in this scope
   15 |   cout << a*b << endl;
      |   ^~~~
a.cc:15:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:18: error: 'endl' was not declared in this scope
   15 |   cout << a*b << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | // 指定回数ループして現時点の回数も分かるrepマクロ
Language: C++

// 指定回数ループして現時点の回数も分かるrepマクロ
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
// long long型の整数定数 大きな整数を扱うときに使う　慣習みたいなもの
using ll = long long;
// map splitみたいなもんなんかな？
using P = pair<int,int>;
 
int main() {
    // 変数を指定
  int a, b;
//   c言語を使って入力 >>で入力in　<<で出力out
  cin >> a >> b;
//   endlは開業
  cout << a*b << endl;
//   pythonでいうところのbreakみたいなもん
  return 0;
}

Compiler output:
a.cc:7:11: error: 'pair' does not name a type
    7 | using P = pair<int,int>;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:13:3: error: 'cin' was not declared in this scope
   13 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | // 指定回数ループして現時点の回数も分かるrepマクロ
a.cc:15:3: error: 'cout' was not declared in this scope
   15 |   cout << a*b << endl;
      |   ^~~~
a.cc:15:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:18: error: 'endl' was not declared in this scope
   15 |   cout << a*b << endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | // 指定回数ループして現時点の回数も分かるrepマクロ
Language: Java

    import java.util.*;
    public class Main{
      public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
    	int arrayNum = sc.next();
        longlong quo = 1;
        for(int i = 0; i < arrayNum; i++){
          quo *= sc.nextLong();
        }
        int check = quo / 1000000000000000000;
        if(check > 1){
          quo = -1;
        }
        System.out.println(quo);
      
      }
    }

Compiler output:
Main.java:10: error: integer number too large
        int check = quo / 1000000000000000000;
                          ^
1 error
Language: Java

    import java.util.*;
    public class Main{
      public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
    	int arrayNum = sc.next();
        long quo = 1;
        for(int i = 0; i < arrayNum){
          quo *= sc.nextLong();
        }
        if(quo - 1000000000000000000 > 1){
          quo = -1;
        }
        System.out.println(quo);
      
      }
    }

Compiler output:
Main.java:7: error: ';' expected
        for(int i = 0; i < arrayNum){
                                   ^
Main.java:10: error: integer number too large
        if(quo - 1000000000000000000 > 1){
                 ^
2 errors
Language: C++

int main(){
  	int a,b;
	cin >> a >> b;
  	cout << a*b<< "\n";

}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin >> a >> b;
      |         ^~~
a.cc:4:9: error: 'cout' was not declared in this scope
    4 |         cout << a*b<< "\n";
      |         ^~~~
Language: C++

// date: 11.06.20
// author: Tibbarnit

#include <bits/stdc++.h>
#define X first
#define Y second
typedef long long ll;
typedef pair<int,int> pii;
typedef vector<pii> vii;
typedef vector<int> vi;

using namespace std;

int main()
{
    ios_base::sync_with_stdio(false);cin.tie(0);
    cin>>a>>b;
    cout<<a*b;
    return 0;
}


Compiler output:
a.cc:8:9: error: 'pair' does not name a type
    8 | typedef pair<int,int> pii;
      |         ^~~~
a.cc:9:9: error: 'vector' does not name a type
    9 | typedef vector<pii> vii;
      |         ^~~~~~
a.cc:10:9: error: 'vector' does not name a type
   10 | typedef vector<int> vi;
      |         ^~~~~~
a.cc: In function 'int main()':
a.cc:17:10: error: 'a' was not declared in this scope
   17 |     cin>>a>>b;
      |          ^
a.cc:17:13: error: 'b' was not declared in this scope
   17 |     cin>>a>>b;
      |             ^
Language: C++

#include<stdio.h>

int main(void) {
	int a,b;

	scanf_s("%d",&a);
	scanf_s("%d",&b);
	printf("%d", a*b);

	return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    6 |         scanf_s("%d",&a);
      |         ^~~~~~~
      |         scanf
Language: C

#include<stdio.h>

int main()
{
        double R,diameter, pie=3.1416;

        printf("Enter the circumference of the 
                   circle-");
        scanf("%lf",&R);

        diameter =R*2;
        
        printf("%0.2lf",diameter*pie);
        
   return 0;
    
}

Compiler output:
main.c: In function 'main':
main.c:7:16: warning: missing terminating " character
    7 |         printf("Enter the circumference of the
      |                ^
main.c:7:16: error: missing terminating " character
    7 |         printf("Enter the circumference of the
      |                ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~ 
main.c:8:20: error: 'circle' undeclared (first use in this function)
    8 |                    circle-");
      |                    ^~~~~~
main.c:8:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:27: warning: missing terminating " character
    8 |                    circle-");
      |                           ^
main.c:8:27: error: missing terminating " character
    8 |                    circle-");
      |                           ^~~
main.c:9:24: error: expected ')' before ';' token
    9 |         scanf("%lf",&R);
      |                        ^
      |                        )
main.c:7:15: note: to match this '('
    7 |         printf("Enter the circumference of the
      |               ^
main.c:15:13: error: expected ';' before '}' token
   15 |    return 0;
      |             ^
      |             ;
   16 | 
   17 | }
      | ~
Language: C++


    {
        long long num;
        scanf("%I64d",&num);
        if(num==0)
        {
            cout<<0;
            return 0;
        }
        if(num<=(1e18)/prod)
            prod*=num;
        else
        {
            cout<<-1;
            return 0;
        }
    }

    printf("%I64d",prod);

    return 0;
}


Compiler output:
a.cc:2:5: error: expected unqualified-id before '{' token
    2 |     {
      |     ^
a.cc:19:11: error: expected constructor, destructor, or type conversion before '(' token
   19 |     printf("%I64d",prod);
      |           ^
a.cc:21:5: error: expected unqualified-id before 'return'
   21 |     return 0;
      |     ^~~~~~
a.cc:22:1: error: expected declaration before '}' token
   22 | }
      | ^
Language: Java

import java.util.*;
public class Main(){
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    System.out.println(a * b);
  
  }
}
  

Compiler output:
Main.java:2: error: '{' expected
public class Main(){
                 ^
1 error
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main()
{
    int n;
    cin>>n;
    while(n--)
    {
        long long  prod=1,num;
        scanf("%lld",&num);
        if(num==0)
        {
            cout<<0;
            return 0;
        }
        if(num<=(1e18)/prod)
            prod*=num;
        else
        {
            cout<<-1;
            return 0;
        }
    }
    
    printf("%lld",prod);
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:27:19: error: 'prod' was not declared in this scope
   27 |     printf("%lld",prod);
      |                   ^~~~
Language: C

#include<stdio.h>
int main()
{
  int a, b;
  scanf("%d %d", &a, &b);
  printf("%d\n", a*b)
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:22: error: expected ';' before 'return'
    6 |   printf("%d\n", a*b)
      |                      ^
      |                      ;
    7 |     return 0;
      |     ~~~~~~
Language: C

#include<stdio.h>
int main()
{
  int a,b;
  scanf("%d %d",&a,&b);
  printf("%d\n",a*b)
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:21: error: expected ';' before 'return'
    6 |   printf("%d\n",a*b)
      |                     ^
      |                     ;
    7 |     return 0;
      |     ~~~~~~
Language: C

include<stdio.h>
int main()
{
  int a,b;
  scanf("%d %d",&a,&b);
  printf("%d\n",a*b)
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
using f32 = float;
using f64 = double;
using LL = long long;
using ULL = unsigned long long;
#define REP(i, n) for (LL i = 0; i < (int)(n); i++)
#define FOR(i, m, n) for (LL i = m; i < n; i++)
#define SORT(x) sort(x.begin(), x.end())
#define REVE(x) reverse(x.begin(), x.end())
#define all(x) (x).begin(), (x).end()
const long long MOD = 998244353;
int main(){
    long long N,S;
    scanf("%lld",&N);
    scanf("%lld",&S);
    vector<long long> A(N);
    REP(i,N)scanf("%lld",&A[i]);
    vector<vector<long long>> dp(N+1, vector<long long>(S+1, 0));
    dp[0][0] = 1;
    REP(i,N){
        REP(j,S+1){
          dp[i + 1][j] += 2 * dp[i][j];
             dp[i + 1][j] %= MOD;
           if (j + A[i] <= S) dp[i + 1][j + A[i]] += dp[i][j];
           dp[i + 1][j + A[i]] %= MOD;
        }
    }
    printf("%lld",dp[N][S]);
    return 0;
}


Compiler output:
main.c:1:10: fatal error: bits/stdc++.h: No such file or directory
    1 | #include <bits/stdc++.h>
      |          ^~~~~~~~~~~~~~~
compilation terminated.
Language: C

#include<stdio.h>

int main()
{
        int 2,5;
                
            printf("We have %d × %d = %d",2*5);
            
    return 0;
    
}

Compiler output:
main.c: In function 'main':
main.c:5:13: error: expected identifier or '(' before numeric constant
    5 |         int 2,5;
      |             ^
Language: C

#include <stdio.h>

int main ()
{
    int A=3 , B=6  A*B ;
    scanf("%d%d",&A,&B);
    printf("%d\n",A*B);

    return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:5:20: error: expected ',' or ';' before 'A'
    5 |     int A=3 , B=6  A*B ;
      |                    ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main(){
  int A, B;
  cin A >> B;
  cout << A*B << endl;
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'A'
    6 |   cin A >> B;
      |      ^~
      |      ;
Language: C++

#include <iostream>

int main(){
  int a,b;
  std::cin >> a >> b;
  cout << a * b << '\n';
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << a * b << '\n';
      |   ^~~~
      |   std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C

#include <stdio.h>

int main ()
{
    int A,B,multiply ;
    A = 6 ;
    Scanf ("%d, &A") ;
    B = 3 ;
    Sacnf ("%d, &B") ;
    multiply = A * B ;
    Printf ("%d * %d =%d\n", A,B,multiply) ;

    return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'Scanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |     Scanf ("%d, &A") ;
      |     ^~~~~
      |     scanf
main.c:9:5: error: implicit declaration of function 'Sacnf' [-Wimplicit-function-declaration]
    9 |     Sacnf ("%d, &B") ;
      |     ^~~~~
main.c:11:5: error: implicit declaration of function 'Printf'; did you mean 'printf'? [-Wimplicit-function-declaration]
   11 |     Printf ("%d * %d =%d\n", A,B,multiply) ;
      |     ^~~~~~
      |     printf
Language: C

#include <stdio.h>

int main ()
{
    int A,B,A*B ;
    A = 6 ;
    B = 3 ;
    A * B ;
    printf ("%d * %d =%d\n", A,B,A*B) ;

    return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before '*' token
    5 |     int A,B,A*B ;
      |              ^
Language: C

#include <stdio.h>

int main ()
{
    int A,B,multiply ;
    A = 2 ;
    B = 5 ;
    A = 100 ;
    B = 100 ;
    multiply = A * B ;
    sign ='*' ; 
    printf ("%d * %d =%d\n", A,B,multiply) ;

    return 0 ;
}



Compiler output:
main.c: In function 'main':
main.c:11:5: error: 'sign' undeclared (first use in this function)
   11 |     sign ='*' ;
      |     ^~~~
main.c:11:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int a,b;
    cin>>a>>b
    cout<<a*b;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected ';' before 'cout'
    6 |     cin>>a>>b
      |              ^
      |              ;
    7 |     cout<<a*b;
      |     ~~~~
Language: C

#include <stdio.h>
int main ()
{
    int A,B ;
    A = 2 ;
    B = 5 ;
    A = 100 ;
    B = 100 ;
    multiply = A*B ;
    printf(" %d*%d=%d\n ", A,B,multiply) ;
    
    return 0 ;
}

Compiler output:
main.c: In function 'main':
main.c:9:5: error: 'multiply' undeclared (first use in this function)
    9 |     multiply = A*B ;
      |     ^~~~~~~~
main.c:9:5: note: each undeclared identifier is reported only once for each function it appears in
Language: C++


int main() {

	int a, b;
	cin >> a >> b;
	cout << a * b;

	return 0;


}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> a >> b;
      |         ^~~
a.cc:6:9: error: 'cout' was not declared in this scope
    6 |         cout << a * b;
      |         ^~~~
Language: C++

#include<stdio.h>
int main（）
{
  int A,B;
  scanf（"%d%d"，&A,&B）;
  printf（"%d\n",A*B）;
  return 0;
}

Compiler output:
a.cc:4:3: error: expected primary-expression before 'int'
    4 |   int A,B;
      |   ^~~
a.cc:4:3: error: expected '}' before 'int'
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
a.cc:5:3: error: 'scanf\U0000ff08' does not name a type
    5 |   scanf（"%d%d"，&A,&B）;
      |   ^~~~~~~
a.cc:6:3: error: 'printf\U0000ff08' does not name a type
    6 |   printf（"%d\n",A*B）;
      |   ^~~~~~~~
a.cc:7:3: error: expected unqualified-id before 'return'
    7 |   return 0;
      |   ^~~~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

#include<stdio.h>
int main()
{
  int A,B;
  scanf("%d%d",&A,&B);
  printf(A*B)
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   printf(A*B)
      |          ~^~
      |           |
      |           int
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:6:14: error: expected ';' before 'return'
    6 |   printf(A*B)
      |              ^
      |              ;
    7 |   return 0;
      |   ~~~~~~
Language: C++

#include<iostream.h>
#include<conio.h>
void main()
{
  int a,b,c:
  cin>> a>>b:
  c= a*b:
  cout<<c:
}


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

#imclude<bits/stdc++.h>
using namespace std;
int main() {
  int a,b;
  cin>>a>>b;
  cout<<a*b<<endl;
  return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #imclude; did you mean #include?
    1 | #imclude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #imclude<bits/stdc++.h>
a.cc:6:3: error: 'cout' was not declared in this scope
    6 |   cout<<a*b<<endl;
      |   ^~~~
a.cc:6:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:14: error: 'endl' was not declared in this scope
    6 |   cout<<a*b<<endl;
      |              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #imclude<bits/stdc++.h>
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long; using vi = vector<int>; using vll = vector<long long>; 
using vvi = vector<vector<int> >; using vb = vector<bool>;
using pii = pair<int,int>; 
#define pb push_back
#define all(v) v.begin(),v.end()
#define llmax 9223372036854775807
#define intmax 2147483647
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL)
const ll mod = 1e9+7;
//////////////////////////////////////////
#define test(t) int t; cin>>t; while(t--)
#define rep(i,n) for(int i=0;i<n;i++)
#define rep1(i,n) for(int i=1;i<=n;i++)
////////////////////////////////////////////
#define tki take_input 
#define tkii take_input<int>
template <typename T> void take_input(vector<T> &a, int size){ T tmp; for(int i=0;i<size;i++){ cin>>tmp; a.push_back(tmp); } }
#define prv print_vector
#define prvi print_vector<int> 
template <typename T> void print_vector(vector<T> v){ for(int i=0;i<v.size();i++){ cout<<v[i]<<" "; } cout<<endl; }
/////////////////////////////////////////

int main(){
	fastio;

	int a,b; cin>>a>>b;
	cout<<*b<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:15: error: invalid type argument of unary '*' (have 'int')
   29 |         cout<<*b<<endl;
      |               ^~
Language: Java

public class Main {
	public static void Main(String[] args){
		Scanner scanner = new Scanner(System.in);
		int factor1 = scanner.nextInt();
		int factor2 = scanner.nextInt();
      	int result = factor1 * factor2;
      	System.out.println(result);
	}
}

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

#include<iostream>
#include<cmath>
using namespace std;
int main(void){
  int N;
  int A[1e5+10];
  int a=1;
  cin >> N;
  for(int i=0; i<N; ++i) cin >> A[i];
  for(int i=0; i<N; ++i) a*=A[i];
  if(a>1e18){
    cout << -1 <<endl;
  }else{
    cout << a << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
    6 |   int A[1e5+10];
      |         ~~~^~~
a.cc:6:12: error: could not convert '(1.0e+5 + (double)10)' from 'double' to 'long unsigned int'
    6 |   int A[1e5+10];
      |         ~~~^~~
      |            |
      |            double
a.cc:6:12: error: size of array 'A' has non-integral type 'double'
Language: C++

#include<iostream>
int main(){
  int A,B;
  std::cin>>A>>B;
  cout<<A*B;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout<<A*B;
      |   ^~~~
      |   std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>
#include<cmath>
using namespace std;
int main(void){
  int N;
  int A[1.0e+5 +10];
  int a=1;
  cin >> N;
  for(int i=0; i<N; ++i) cin >> A[i];
  for(int i=0; i<N; ++i) a*=A[i];
  if(a>1.0e+18){
    cout << -1 <<endl;
  }else{
    cout << a << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:16: error: conversion from 'double' to 'long unsigned int' in a converted constant expression
    6 |   int A[1.0e+5 +10];
      |         ~~~~~~~^~~
a.cc:6:16: error: could not convert '(1.0e+5 + (double)10)' from 'double' to 'long unsigned int'
    6 |   int A[1.0e+5 +10];
      |         ~~~~~~~^~~
      |                |
      |                double
a.cc:6:16: error: size of array 'A' has non-integral type 'double'
Language: C++

#include<iostream>
int main(){
  int A, B;
  cin>>A>>B;
  cout<<A*B;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>A>>B;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   cout<<A*B;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: Java

import java.util.Scanner;

public class multiplication1 {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A = sc.nextInt(), B = sc.nextInt();
		System.out.println(A * B);
		sc.close();
	}
}


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

#include <iostream>
 
using namespace std;
 
int main(void){
    int l, i=0, a=0;
    while(cin>>l) {
 
        if (i == 0) {
            a = l;
        } else {
          a *= l;
          cout << a;
        }
        i++;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:16:6: error: expected '}' at end of input
   16 |     }
      |      ^
a.cc:5:15: note: to match this '{'
    5 | int main(void){
      |               ^
Language: C++

#include <iostream>

using namespace std;

int main(void){
    int l, i=0, a=0;
    while(cin>>l) {

        if (i == 0) {
            a = l;
        } else {
          a *= l
          cout << a;
        }
        i++;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before 'cout'
   12 |           a *= l
      |                 ^
      |                 ;
   13 |           cout << a;
      |           ~~~~
Language: C++

#include<iostream>
int(main){
int a,b;
cin>>a>>b;
cout<<a*b<<endl;
}

Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int(main){
      |     ^~~~
a.cc:3:1: error: expected primary-expression before 'int'
    3 | int a,b;
      | ^~~
a.cc:3:1: error: expected '}' before 'int'
a.cc:2:10: note: to match this '{'
    2 | int(main){
      |          ^
a.cc:4:1: error: 'cin' does not name a type
    4 | cin>>a>>b;
      | ^~~
a.cc:5:1: error: 'cout' does not name a type
    5 | cout<<a*b<<endl;
      | ^~~~
a.cc:6:1: error: expected declaration before '}' token
    6 | }
      | ^
Language: Java

import java.util.Scanner;

public class Multi1 {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		System.out.println(a*b);
	}

}


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

import java.util.Scanner;

public class Mul1 {

	public static void main(String[] args) {
		Scanner scan= new Scanner(System.in);
		int a=scan.nextInt();
		int b=scan.nextInt();
		System.out.println(a*b);
	}

}


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

#include <stdio.h>
long long a [100010];
int main (){
int n;
scanf("%d",&n);
for(int i=0;i<n;i++) scanf("%lld",&a[i]);
int zero =0;
2
for(int i=0;i<n;i++)if(a[i]==0) zero ++;
if(zero >0){
// a[i] contains 0
printf("0\n");
return 0;
}
long long prod =1;
for(int i=0;i<n;i++){
if(a[i ] <=1000000000000000000/ prod ){
// This condition is equivalent to prod*a[i] <=10ˆ18
prod *=a[i];
}else{
printf("-1\n");
return 0;
}
}
printf("%lld\n",prod );
}

Compiler output:
main.c: In function 'main':
main.c:8:2: error: expected ';' before 'for'
    8 | 2
      |  ^
      |  ;
    9 | for(int i=0;i<n;i++)if(a[i]==0) zero ++;
      | ~~~
Language: C++

include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b;
  
  cin >> a >> b;
  
  cout << a * b << endl;
 
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b;
      |   ^~~
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << a * b << endl;
      |   ^~~~
a.cc:9:20: error: 'endl' was not declared in this scope
    9 |   cout << a * b << endl;
      |                    ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
  cin >> a >> b;
  
  cout << a * b << endl;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'a' was not declared in this scope
    5 |   cin >> a >> b;
      |          ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |   cin >> a >> b;
      |               ^
Language: C++

#include <bits/stdc++.h>
using namespace std;

int main() {
	int a,b;
  
  	cin >> a >. b;
  	
  cout << a * b << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: expected primary-expression before '.' token
    7 |         cin >> a >. b;
      |                   ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n); for(int i=0; i<n; i++)
using namespace std;


int main() {
    long long g = 1;
    rep(i,18) g *= 10;
    int n;
    cin >> n;
    long long ans = 1;
    bool ng = false;
    rep(i,n) {
        long long a;
        cin >> a;
        if(a == 0) {
            cout << 0 << endl;
            return 0;
        }
        if(ng || vec.at(i) > g/ans) {
            ng = true;
        }
    }
    if(ng) cout << -1 << endl;
    else cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:20:18: error: 'vec' was not declared in this scope
   20 |         if(ng || vec.at(i) > g/ans) {
      |                  ^~~
Language: Java

import java.util.*;

public class Main {
  private static final long MAX = (long)1e18;
  
  public static void main(String args[]) {
  	long multiplication = 1;
    Scanner in = new Scanner(System.in);
    int n = in.nextInt();
    
    for (int i=0; i<n; i++) {
      long num = in.nextLong();
      if (num == 0) {
        System.out.print(0);
        return;
      } 
      
      if (multiplication != -1) {
        if ((double)max / multiplication > num) {
          mulitplication = -1;
        } else {        
          multiplication *= num;
        }
      }
    }
    
    System.out.print(multiplication);
  }
}


Compiler output:
Main.java:19: error: cannot find symbol
        if ((double)max / multiplication > num) {
                    ^
  symbol:   variable max
  location: class Main
Main.java:20: error: cannot find symbol
          mulitplication = -1;
          ^
  symbol:   variable mulitplication
  location: class Main
2 errors
Language: C


#include <stdio.h> int main (){
int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*b);
}

Compiler output:
main.c:2:20: warning: extra tokens at end of #include directive
    2 | #include <stdio.h> int main (){
      |                    ^~~
main.c:3:16: error: expected declaration specifiers or '...' before string constant
    3 | int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*b);
      |                ^~~~~~
main.c:3:23: error: expected declaration specifiers or '...' before '&' token
    3 | int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*b);
      |                       ^
main.c:3:26: error: expected declaration specifiers or '...' before '&' token
    3 | int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*b);
      |                          ^
main.c:3:38: error: expected declaration specifiers or '...' before string constant
    3 | int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*b);
      |                                      ^~~~~~
main.c:3:45: error: expected declaration specifiers or '...' before 'a'
    3 | int a,b; scanf("%d%d",&a,&b); printf("%d\n",a*b);
      |                                             ^
main.c:4:1: error: expected identifier or '(' before '}' token
    4 | }
      | ^
Language: Java

public class Main{

     public static void main(String []args){
       Scanner in = new Scanner(System.in);
       int a = in.nextInt();
       int b = in.nextInt();
       
       System.out.println(a*b);
     }
}


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

public class Solution{

     public static void main(String []args){
        System.out.println(Integer.parseint(args[0])*Integer.parseint(args[1]));
     }
}

Compiler output:
Main.java:1: error: class Solution is public, should be declared in a file named Solution.java
public class Solution{
       ^
Main.java:4: error: cannot find symbol
        System.out.println(Integer.parseint(args[0])*Integer.parseint(args[1]));
                                  ^
  symbol:   method parseint(String)
  location: class Integer
Main.java:4: error: cannot find symbol
        System.out.println(Integer.parseint(args[0])*Integer.parseint(args[1]));
                                                            ^
  symbol:   method parseint(String)
  location: class Integer
3 errors
Language: Java

public class Solution {
  public static void main(String[] args) {
   System.out.println(Integer.parseint(args[0]) * Integer.parseint(args[1]); 
  }
}

Compiler output:
Main.java:3: error: ')' or ',' expected
   System.out.println(Integer.parseint(args[0]) * Integer.parseint(args[1]); 
                                                                           ^
1 error
Language: Java

import java.util.Scanner;

public class Multiplication {
    public static void main(String [] args){
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
        System.out.println(a*b);
    }
    
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
	int A, B:
	cin >> A >> B;
	cout << A * B;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:4:17: error: found ':' in nested-name-specifier, expected '::'
    4 |         int A, B:
      |                 ^
      |                 ::
a.cc:4:16: error: 'B' has not been declared
    4 |         int A, B:
      |                ^
a.cc:5:13: error: qualified-id in declaration before '>>' token
    5 |         cin >> A >> B;
      |             ^~
a.cc:6:21: error: 'B' was not declared in this scope
    6 |         cout << A * B;
      |                     ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
long long a, b;
cin >> a >> b;
cout << a*b;
|

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: expected primary-expression before '|' token
    7 | |
      | ^
a.cc:7:2: error: expected primary-expression at end of input
    7 | |
      |  ^
a.cc:7:2: error: expected '}' at end of input
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include<bits/bits/stdc++.h>
using namespace std;

int main() {
    int a, b;
    cin >> a >> b;
    cout << a*b;
}


Compiler output:
a.cc:1:9: fatal error: bits/bits/stdc++.h: No such file or directory
    1 | #include<bits/bits/stdc++.h>
      |         ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>

int main()
{
  int A, B;
  cin >> A >> B;
  cout << A * B;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> A >> B;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout << A * B;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<iostream>

using namespaca std;

int main(){
  int a,b;
  cin>>a>>b;
  
  cout<<a*b<<endl;
}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespaca'
    3 | using namespaca std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin>>a>>b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout<<a*b<<endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout<<a*b<<endl;
      |              ^~~~
      |              std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

$include<iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
cout<<a*b<<endl;
return 0;
}

Compiler output:
a.cc:1:1: error: '$include' does not name a type
    1 | $include<iostream>
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | cin>>a>>b;
      | ^~~
a.cc:7:1: error: 'cout' was not declared in this scope
    7 | cout<<a*b<<endl;
      | ^~~~
a.cc:7:12: error: 'endl' was not declared in this scope
    7 | cout<<a*b<<endl;
      |            ^~~~