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

#include<bits/stdc++.h>
//#include <ext/pb_ds/assoc_container.hpp>
#define fastio std::ios_base::sync_with_stdio(false), std::cout.tie(0), std::cin.tie(0);
#define N 1000000007
#define mxx INT_MAX
const double pi = 3.14159265359;

typedef long long ll;
//using namespace __gnu_pbds;
/*typedef tree<int,null_type,less<int>,rb_tree_tag,
tree_order_statistics_node_update> indexed_set;*/

void solve() {
	int num1,num2;
	std::cin>>num1>>num2;
	cout<<(num1*num2);
}

int main() {
	int t;
	/*std::cin>>t;
	while(t--)*/
	solve();
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:16:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |         cout<<(num1*num2);
      |         ^~~~
      |         std::cout
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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: Java

import java.util.*;

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



Compiler output:
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  public static void main(String args[])
                ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <iostream>
using namespace std;

int main()
{
  int i, j;
  cin >> i >> j;
  cout << i*j:
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected ';' before ':' token
    8 |   cout << i*j:
      |              ^
      |              ;
Language: C++

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


Compiler output:
a.cc:2:22: error: 'cin' is not a namespace-name
    2 | using namespace std::cin;
      |                      ^~~
a.cc:3:22: error: 'cout' is not a namespace-name
    3 | using namespace std::cout;
      |                      ^~~~
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;
      |   ^~~
      |   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:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |   cout << result << 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:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |   cout << result << 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 <bits/stdc++.h>
#include <iostream>
using namespace std;

int main()
{
    // 整数の入力
    int a,b;
    cin >> a>>b;
    cout << a*b1 << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:15: error: 'b1' was not declared in this scope; did you mean 'b'?
   10 |     cout << a*b1 << endl;
      |               ^~
      |               b
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:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> A >> B;
      |     ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout << A*B;
      |     ^~~~
Language: Java

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

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

int a;
int b;
int sum;

a=2;
b=5;

a*b=c;

system.out.print(c);


Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int a;
^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
a=2;
^
Main.java:6: error: class, interface, enum, or record expected
b=5;
^
Main.java:8: error: class, interface, enum, or record expected
a*b=c;
^
Main.java:10: error: class, interface, enum, or record expected
system.out.print(c);
^
5 errors
Language: C++

#include<stdio.h>

int main()
{
	int A, B;
	int N;
	N = A*B
    printf("%d\n", N);
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:16: error: expected ';' before 'printf'
    7 |         N = A*B
      |                ^
      |                ;
    8 |     printf("%d\n", N);
      |     ~~~~~~
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaced'
    2 | using namespaced std;
      |       ^~~~~~~~~~
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 /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 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

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

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c: In function 'main':
main.c:5:3: error: 'cin' undeclared (first use in this function)
    5 |   cin >> a >> b;
      |   ^~~
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:3: error: 'cout' undeclared (first use in this function)
    6 |   cout << a*b;
      |   ^~~~
Language: C++

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

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

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

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

#include <iostream>
using namespace std;

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

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


#include  "bits/stdc++.h"
using namespace std;
#define I_AM_SPEED  ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); 
#define mem(a,v)    memset((a), (v), sizeof (a))
#define mp(a , b)   make_pair(a , b)
#define eb(a)       emplace_back(a)
#define anal         '\n'
#define mod 1000000007
//const double PI = acos(-1.0);
typedef long long ll;


//_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
     


//_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-


int main(){
I_AM_SPEED;


//_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
      
      ll a;
      cin >> a;
     intb; 
      cin >> b;
      ll ans = a * b;
      cout << ans << anal;
//_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-_-
return  0 ;      
}        





Compiler output:
a.cc: In function 'int main()':
a.cc:29:6: error: 'intb' was not declared in this scope; did you mean 'int'?
   29 |      intb;
      |      ^~~~
      |      int
a.cc:30:14: error: 'b' was not declared in this scope
   30 |       cin >> b;
      |              ^
Language: C++

#include <cstddef>
#include <limits>
#include <climits>
#include <cfloat>
#include <cstdint>
#include <cstdlib>
#include <new>
#include <typeinfo>
#include <exception>
#include <initializer_list>
// #include <cstdalign>
#include <stdexcept>
#include <cassert>
#include <cerrno>
#include <system_error>
#include <string>
 
#if __has_include(<string_view>)
#include <string_view>
#endif
 
#include <array>
#include <deque>
#include <forward_list>
#include <list>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <queue>
#include <stack>
#include <iterator>
#include <algorithm>
#include <cfenv>
#include <random>
#include <numeric>
#include <cmath>
#include <iosfwd>
#include <iostream>
#include <ios>
#include <streambuf>
#include <istream>
#include <ostream>
#include <iomanip>
#include <sstream>
#include <fstream>
 
int main() {
  int a, b;
  scanf("%d", &a);
  scanf("%d", &b);
  
  cout << a * b << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:54:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   54 |   cout << a * b << endl;
      |   ^~~~
      |   std::cout
In file included from a.cc:40:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:54:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   54 |   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<stdio.h>
int main()
{
    int A, B;
    int N = A*B
    printf("N");
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected ',' or ';' before 'printf'
    6 |     printf("N");
      |     ^~~~~~
Language: C++

#include <iostream>
using namespace std;
#define fo(i, a, b) for (int i=a; i<(b); i++)

int main() {
	freopen("input.txt", "r", stdin);
	fast;
	// int t; cin >> t; while (t--)

	int n; cin >> n;
	int temp;
	long long int ans = 1;
	fo(i, 0, n) cin >> temp, ans *= temp;

	if (ans > 1000000000000000000) {
		cout << "-1";
		return 0;
	}

	cout << ans;

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'fast' was not declared in this scope
    7 |         fast;
      |         ^~~~
Language: Java

public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Integer int1 = scanner.nextInt();
        Integer int2 = scanner.nextInt();
        int result = int1 * int2;
        System.out.println(result);
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

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

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

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

import java.io.BufferedReader;
import java.io.InputStreamReader;
public class mul
{
  public void main(String args[])
  {
   // Scanner sc = new Scanner(System.in);
    
    java.io.BufferedReader x = new java.io.BufferedReader(new java.io.InputStreamReader(System.in));
    String s=(x.readLine()).split(" ");

int K=Integer.parseInt(s[0]);

int N=Integer.parseInt(s[1]);
      
    int c=K*N;
    System.out.println(c);
  }
}


Compiler output:
Main.java:3: error: class mul is public, should be declared in a file named mul.java
public class mul
       ^
Main.java:10: error: incompatible types: String[] cannot be converted to String
    String s=(x.readLine()).split(" ");
                                 ^
Main.java:12: error: array required, but String found
int K=Integer.parseInt(s[0]);
                        ^
Main.java:14: error: array required, but String found
int N=Integer.parseInt(s[1]);
                        ^
4 errors
Language: C

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

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++

#includ<iostream>
using namespace std;
int main()
{
  int A,B;
  cin>>A>>B;
  cout<<A*B<<endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ<iostream>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   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 | #includ<iostream>
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout<<A*B<<endl;
      |   ^~~~
a.cc:7:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:14: error: 'endl' was not declared in this scope
    7 |   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 | #includ<iostream>
Language: Java

/*
 * @author- Vardhan Shah
@Roll no AU1841138
@date-//2019
@description
 * To change this template file, choose Tools | Templates
 * and open the template in the editor.
 */
    import java.util.Scanner;
/**
 *
 * @author vardh
 */
public class mul {
    public static void main(String[] args) {
        int x,y;
        Scanner sc = new Scanner(System.in);
        x=sc.nextInt();
        y=sc.nextInt();
        System.out.println(x*y);
    }
}


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

import java.util.Scanner;

public class run
{
	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 run is public, should be declared in a file named run.java
public class run
       ^
1 error
Language: C++

#include <cstddef>
#include <limits>
#include <climits>
#include <cfloat>
#include <cstdint>
#include <cstdlib>
#include <new>
#include <typeinfo>
#include <exception>
#include <initializer_list>
// #include <cstdalign>
#include <stdexcept>
#include <cassert>
#include <cerrno>
#include <system_error>
#include <string>

#if __has_include(<string_view>)
#include <string_view>
#endif

#include <array>
#include <deque>
#include <forward_list>
#include <list>
#include <vector>
#include <map>
#include <set>
#include <unordered_map>
#include <unordered_set>
#include <queue>
#include <stack>
#include <iterator>
#include <algorithm>
#include <cfenv>
#include <random>
#include <numeric>
#include <cmath>
#include <iosfwd>
#include <iostream>
#include <ios>
#include <streambuf>
#include <istream>
#include <ostream>
#include <iomanip>
#include <sstream>
#include <fstream>

int main() {
  int a, b;
  scanf("%d", &a);
  scanf("%d", b);
  
  cout << a * b << endl;
  
  return 0;
}  

Compiler output:
a.cc: In function 'int main()':
a.cc:54:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   54 |   cout << a * b << endl;
      |   ^~~~
      |   std::cout
In file included from a.cc:40:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:54:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   54 |   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 <bits/stdc++.h>
using namespace std;
 
int main() {
  cout << /A*B/ << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected primary-expression before '/' token
    5 |   cout << /A*B/ << endl;
      |           ^
a.cc:5:12: error: 'A' was not declared in this scope
    5 |   cout << /A*B/ << endl;
      |            ^
a.cc:5:14: error: 'B' was not declared in this scope
    5 |   cout << /A*B/ << endl;
      |              ^
a.cc:5:17: error: expected primary-expression before '<<' token
    5 |   cout << /A*B/ << endl;
      |                 ^~
Language: C

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

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

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

import java.util.Scanner;

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

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


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: 'a' was not declared in this scope
    4 |   cin>>a>>b;
      |        ^
a.cc:4:11: error: 'b' was not declared in this scope
    4 |   cin>>a>>b;
      |           ^
Language: Java

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

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

#include <iostream>
using namespace std;

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

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

#include<iostream>
usingnamespace std;

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


Compiler output:
a.cc:2:1: error: 'usingnamespace' does not name a type
    2 | usingnamespace std;
      | ^~~~~~~~~~~~~~
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 << 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:7:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   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 <stdio.h>

int main(){
    int A,B;
    scanf("%s",&A);
  　scanf("%s",&B);
    printf("%d",A*B);
}

Compiler output:
main.c: In function 'main':
main.c:6:3: error: stray '\343' in program
    6 |   <U+3000>scanf("%s",&B);
      |   ^~~~~~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
   cin << A << B;
   
   int Answer;
   Answer = A * B;
  
  cout << Answer << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: 'A' was not declared in this scope
    5 |    cin << A << B;
      |           ^
a.cc:5:16: error: 'B' was not declared in this scope
    5 |    cin << A << B;
      |                ^
Language: Java

import java.util.Scanner;

public class A {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        Integer int1 = scanner.nextInt();
        Integer int2 = scanner.nextInt();
        int result = int1 * int2;
        System.out.println(result);
    }
}


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

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

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

#include<abits/stdc++.h>
using namespace sstd;
int main(
  )
{
  int n,m;
  cin>>n>>m;
  cout<<n*m;
}

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

import java.io.BufferedReader;
import java.io.InputStreamReader;
public class mul
{
  public void main(String args[])
  {
   // Scanner sc = new Scanner(System.in);
    
    java.io.BufferedReader x = new java.io.BufferedReader(new java.io.InputStreamReader(System.in))
    String s=(x.readLine()).split(" ");

int K=Integer.parseInt(s[0]);

int N=Integer.parseInt(s[1];
      
    int c=K*N;
    System.out.println(c);
  }
}

Compiler output:
Main.java:9: error: ';' expected
    java.io.BufferedReader x = new java.io.BufferedReader(new java.io.InputStreamReader(System.in))
                                                                                                   ^
Main.java:14: error: ')' or ',' expected
int N=Integer.parseInt(s[1];
                           ^
2 errors
Language: Java

public class Main {

	public static void main(String[] args) {
		// TODO Auto-generated method stub
		Scanner in = new Scanner(System.in);
		int a = in.nextInt();
		int b = in.nextInt();
		System.out.println(a*b);

	}
}


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

#include <iostream>
#include <string>
#include <vector>
#include <set>
#include <bits/stdc++.h>
#include <iomanip>
#include <numeric>
#include <utility>
#include <map>
#include <algorithm>
typedef long long ll;
using namespace std;
#define MX 1000000000

long long GCD(long long a, long long b)
{
    if (b > a)
        swap(a, b);
    if (a % b == 0)
        return b;
    return GCD(b, a % b);
}
long long LCM(long long a, long long b)
{
    return a * b / GCD(a, b);
}
int main(void)
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    ll a, b;
    cin >> a >> b;
    cout << a * b << "\n";
}


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

#include <bits/stdc++.h>

using namespace std;

int main() {
    int A, B;

    cin >> A >> B;

    cout << (A * B) << endl;   

    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<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
  ll a,b;
  cin>>a>>b;
  ll t=a*b;
  cout<<t<<"\n;
    return 0;}

Compiler output:
a.cc:8:12: warning: missing terminating " character
    8 |   cout<<t<<"\n;
      |            ^
a.cc:8:12: error: missing terminating " character
    8 |   cout<<t<<"\n;
      |            ^~~~
a.cc: In function 'int main()':
a.cc:9:5: error: expected primary-expression before 'return'
    9 |     return 0;}
      |     ^~~~~~
Language: C++

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

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

#include<bits/stdc++.h>
#include<string.h>
#include<math.h>
#include<stdlib.h>

#define ls   /
	 ios_base::sync_with_stdio(false);  /
	 cin.tie(0);cout.tie(0);
#define quit return 0

using namespace std;
int main()
{
    ls;
    
    int a,b;
    cin >> a >> b ;
    cout << a*b ;
    quit;
}

Compiler output:
a.cc:7:10: error: 'ios_base' does not name a type
    7 |          ios_base::sync_with_stdio(false);  /
      |          ^~~~~~~~
a.cc:7:45: error: expected unqualified-id before '/' token
    7 |          ios_base::sync_with_stdio(false);  /
      |                                             ^
a.cc:8:21: error: 'cout' does not name a type
    8 |          cin.tie(0);cout.tie(0);
      |                     ^~~~
a.cc: In function 'int main()':
a.cc:6:14: error: expected primary-expression before '/' token
    6 | #define ls   /
      |              ^
a.cc:14:5: note: in expansion of macro 'ls'
   14 |     ls;
      |     ^~
a.cc:14:7: error: expected primary-expression before ';' token
   14 |     ls;
      |       ^
Language: Java

import java.util.*;
public class Solution{
  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: class Solution is public, should be declared in a file named Solution.java
public class Solution{
       ^
1 error
Language: C

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

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

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

// atcoder.cpp.cpp : このファイルには 'main' 関数が含まれています。プログラム実行の開始と終了がそこで行われます。
//

#include <iostream>
#include<stdio.h>
#include<string.h>
#include <math.h>
#include<stdlib.h>
#include<time.h>
#include<random>
#include "D:\\Code\\C++\\Headers\zooheader.h"
using namespace std;
//std::random_device rnd;

//グロ変




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


	return 0;

}




Compiler output:
a.cc:11:10: fatal error: D:\\Code\\C++\\Headers\zooheader.h: No such file or directory
   11 | #include "D:\\Code\\C++\\Headers\zooheader.h"
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>

int main(){
  int ans,x,y;
  cin >> x >> y;
  ans = x * y;
  cout << ans;
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> x >> y;
      |   ^~~
      |   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 << ans;
      |   ^~~~
      |   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 <bits/stdc++.h>
using namespace std;

int main() {
  int A int B;
  cin >> A ;
  cin >> B ;


  cout << A * B << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'int'
    5 |   int A int B;
      |         ^~~
a.cc:6:10: error: 'A' was not declared in this scope
    6 |   cin >> A ;
      |          ^
a.cc:7:10: error: 'B' was not declared in this scope
    7 |   cin >> B ;
      |          ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:1: error: expected primary-expression before '}' token
   10 | }
      | ^
a.cc:9:9: error: expected ';' before '}' token
    9 |   return
      |         ^
      |         ;
   10 | }
      | ~
Language: C++

#include<bits\stdc++.h>
using namespace std;
int main()
{
int a,b,c;
cin>>a>>b;
c=a*b;
cout<<c<<endl;
return 0;



}


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

#include <iostream> 
#include <cstdio>
#include <vector>
#include <algorithm>

using namespace std;

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


Compiler output:
a.cc:9:1: error: 'cin' does not name a type
    9 | cin >> a >> b;
      | ^~~
a.cc:10:1: error: 'cout' does not name a type
   10 | cout << a*b;
      | ^~~~
Language: C++

#include <iostream.h>
using namespace std;

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

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

#include<bits/stdc++.h>
using namespace std;
#define ll long long
#define n_l '\n'
#define dbg(...) cout << "[" << #__VA_ARGS__ << "]: "; cout << to_string(__VA_ARGS__) << endl
template <typename T, size_t N> int SIZE(const T (&t)[N]){ return N; } template<typename T> int SIZE(const T &t){ return t.size(); } string to_string(const string s, int x1=0, int x2=1e9){ return '"' + ((x1 < s.size()) ? s.substr(x1, x2-x1+1) : "") + '"'; } string to_string(const char* s) { return to_string((string) s); } string to_string(const bool b) { return (b ? "true" : "false"); } string to_string(const char c){ return string({c}); } template<size_t N> string to_string(const bitset<N> &b, int x1=0, int x2=1e9){ string t = ""; for(int __iii__ = min(x1,SIZE(b)),  __jjj__ = min(x2, SIZE(b)-1); __iii__ <= __jjj__; ++__iii__){ t += b[__iii__] + '0'; } return '"' + t + '"'; } template <typename A, typename... C> string to_string(const A (&v), int x1=0, int x2=1e9, C... coords); int l_v_l_v_l = 0, t_a_b_s = 0; template <typename A, typename B> string to_string(const pair<A, B> &p) { l_v_l_v_l++; string res = "(" + to_string(p.first) + ", " + to_string(p.second) + ")"; l_v_l_v_l--; return res; } template <typename A, typename... C> string to_string(const A (&v), int x1, int x2, C... coords) { int rnk = rank<A>::value; string tab(t_a_b_s, ' '); string res = ""; bool first = true; if(l_v_l_v_l == 0) res += n_l; res += tab + "["; x1 = min(x1, SIZE(v)), x2 = min(x2, SIZE(v)); auto l = begin(v); advance(l, x1); auto r = l; advance(r, (x2-x1) + (x2 < SIZE(v))); for (auto e = l; e != r; e = next(e)) { if (!first) { res += ", "; } first = false; l_v_l_v_l++; if(e != l){ if(rnk > 1) { res += n_l; t_a_b_s = l_v_l_v_l; }; } else{ t_a_b_s = 0; } res += to_string(*e, coords...); l_v_l_v_l--; } res += "]"; if(l_v_l_v_l == 0) res += n_l; return res; } void dbgm(){;} template<typename Heads, typename... Tails> void dbgm(Heads H, Tails... T){ cout << to_string(H) << " | "; dbgm(T...); } 
#define dbgm(...) cout << "[" << #__VA_ARGS__ << "]: "; dbgm(__VA_ARGS__); cout << endl

#define pb push_back
#define all(x) (x).begin(),(x).end()
#define fi first
#define se second
#define sz(x) ((int)(x).size())
typedef vector<int> vi;
typedef vector<ll> vl;
typedef pair<int,int> pii;
typedef double db;
typedef vector<vi> vvi;
const ll mod=1000000007;
const ll N=200005; //check this
 
ll powmod(ll a,ll b) {ll res=1;a%=mod; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a%mod;a=a*a%mod;}return res;}
ll powb(ll a,ll b) {ll res=1;a ; assert(b>=0); for(;b;b>>=1){if(b&1)res=res*a;a=a*a;}return res;}
ll gcd(ll a,ll b) { return b?gcd(b,a%b):a;}

int main(){
    ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);

    #ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    #endif
    int n,m;cin>>n>>m;
    cout<<a*b;
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:34:11: error: 'a' was not declared in this scope
   34 |     cout<<a*b;
      |           ^
a.cc:34:13: error: 'b' was not declared in this scope
   34 |     cout<<a*b;
      |             ^
Language: C

#include <iostream>
#include <bits/stdc++.h>
using namespace std;
int main() {
	long long t,s;cin>>t>>s;
	cout<<s*t;
	return 0;
}


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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  ios::sync_with_stdio(false);
  cin.tie(0);
  int a,b; cin>>a>>b;
  if(a>=1&&a<=100&&b>=1&&b<=100)
   cout<< a*b <<'\n';
 return 0;
}

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

include <bits/stdc++.h>
using namespace std;
 
int main() {
  int 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:6:3: error: 'cout' was not declared in this scope
    6 |   cout << A*B << endl;
      |   ^~~~
a.cc:6:18: error: 'endl' was not declared in this scope
    6 |   cout << A*B << endl;
      |                  ^~~~
Language: C

int main(){
int a,b;
  scanf("%d %d",&a,&b);
  prentf("%d",a*b);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |   scanf("%d %d",&a,&b);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(){
main.c:3:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |   scanf("%d %d",&a,&b);
      |   ^~~~~
main.c:3:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:4:3: error: implicit declaration of function 'prentf' [-Wimplicit-function-declaration]
    4 |   prentf("%d",a*b);
      |   ^~~~~~
Language: Java

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

public class S {

    private final BufferedReader in = new BufferedReader(new InputStreamReader(System.in));
    private final PrintWriter out = new PrintWriter(System.out);

    public void solve() throws IOException {
        String[] vals = in.readLine().split(" ");
        out.println(Integer.parseInt(vals[0]) * Integer.parseInt(vals[1]));
    }

    private void go() throws IOException {
        solve();
        in.close();
        out.close();
    }

    public static void main(String[] args) throws IOException {
        new S().go();
    }
}

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

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

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

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<iostream>
using namespace std;
typedef unsingned long long int ulli;
int main()
{
  ulli a,b;
  cin>>a>>b;
  cout<<a*b;
  return 0;
}

Compiler output:
a.cc:3:9: error: 'unsingned' does not name a type; did you mean 'unsigned'?
    3 | typedef unsingned long long int ulli;
      |         ^~~~~~~~~
      |         unsigned
a.cc: In function 'int main()':
a.cc:6:3: error: 'ulli' was not declared in this scope
    6 |   ulli a,b;
      |   ^~~~
a.cc:7:8: error: 'a' was not declared in this scope
    7 |   cin>>a>>b;
      |        ^
a.cc:7:11: error: 'b' was not declared in this scope
    7 |   cin>>a>>b;
      |           ^
Language: C++

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected '}' at end of input
    9 |     printf("%d\n", c);
      |                       ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: Java

    import java.io.*;
    public class Main{
    	public static void main(String args[]) throws IOException{
         	BufferedReader in=new BufferedReader(new InputStreamReader(System.in));
          	StringTokenizer st=new StringTokenizer(in.readLine());
          	int a=Integer.parseInt(st.nextToken());
          	int b=Integer.parseInt(st.nextToken());
          	System.out.println(a*b);
        }
    }

Compiler output:
Main.java:5: error: cannot find symbol
          	StringTokenizer st=new StringTokenizer(in.readLine());
          	^
  symbol:   class StringTokenizer
  location: class Main
Main.java:5: error: cannot find symbol
          	StringTokenizer st=new StringTokenizer(in.readLine());
          	                       ^
  symbol:   class StringTokenizer
  location: class Main
2 errors
Language: C++

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:12: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   int a,b; 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<<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:7:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   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>
#usingnamespace std;

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


Compiler output:
a.cc:2:2: error: invalid preprocessing directive #usingnamespace
    2 | #usingnamespace std;
      |  ^~~~~~~~~~~~~~
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 << 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:7:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   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++

#inclued<iostream>

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclued; did you mean #include?
    1 | #inclued<iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   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 | #inclued<iostream>
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout<<a*b;
      |   ^~~~
a.cc:8:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: Java

import java.util.Scanner;

public class C {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        long a = sc.nextLong();
        long b  = sc.nextLong();

        System.out.println(a*b);
    }
}


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

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

Compiler output:
a.cc:1:5: error: stray '#' in program
    1 | int #include <bits/stdc++.h>
      |     ^
a.cc:1:14: error: expected initializer before '<' token
    1 | int #include <bits/stdc++.h>
      |              ^
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> A >> B;
      |   ^~~
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout << A * B << endl;
      |   ^~~~
a.cc:8:20: error: 'endl' was not declared in this scope
    8 |   cout << A * B << endl;
      |                    ^~~~
Language: C++

#include <iostream>


int main(void){
    int a, b;
    std::cin >> a >> b;
    std::cout << (a*b) << " " << s << std::endl;
    return 0;
}





Compiler output:
a.cc: In function 'int main()':
a.cc:7:34: error: 's' was not declared in this scope
    7 |     std::cout << (a*b) << " " << s << std::endl;
      |                                  ^
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:18: error: found ':' in nested-name-specifier, expected '::'
    6 |     cin >> A >> B:
      |                  ^
      |                  ::
a.cc:6:17: error: 'B' is not a class, namespace, or enumeration
    6 |     cin >> A >> B:
      |                 ^
Language: Java

public class Solution{
  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:1: error: class Solution is public, should be declared in a file named Solution.java
public class Solution{
       ^
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Solution
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Solution
3 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x, y;
  cout << x*y <, endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: expected primary-expression before ',' token
    5 |   cout << x*y <, endl;
      |                ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long int

int main()
{
	ll t,n,i,j;
	cin >> t >> n;
    cout t*n;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected ';' before 't'
    9 |     cout t*n;
      |         ^~
      |         ;
Language: C++

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

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

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

int main(){
  int x,y;
  cin>>x>>y;
  res = x*y;
  cout<<res<<endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'res' was not declared in this scope
    7 |   res = x*y;
      |   ^~~
Language: Java

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:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected '}' at end of input
    7 |   return 0;
      |            ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include <bits/stdc++.h>
 
using namespace std;
 
int main()
{
  int A,B;
  cin>>A>>B;
  cout<<A*B<<endl;
  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: Java

import java.util.*;
import java.io.*;
import java.math.*;
public class Java
{
  
    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*1l);
        }
            
    }
   
}

Compiler output:
Main.java:4: error: class Java is public, should be declared in a file named Java.java
public class Java
       ^
1 error
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:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | 
    4 | int main(){
      | ~~~