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

import java.util.Scanner;
public class shika{
  public static void main(String[] args){
    Scanner stdIn = new Scanner(System.in);
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    if((a*b)%2==0){
      System.out.println("Even");
    }else{
      System.out.println("Odd");
    }
  }
}

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

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

int main(){
  int a , b ;
  cin >> a >> b ;
  
  if( a % 2 == 1 $$ b % 2 == 1 )
    cout << "Odd" << endl;
  else
    cout << "Even" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ')' before '$$'
    8 |   if( a % 2 == 1 $$ b % 2 == 1 )
      |     ~           ^~~
      |                 )
Language: Java

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

Compiler output:
Main.java:1: error: '.' expected
import java util. *;
           ^
Main.java:7: error: illegal start of expression
      		if ((a * b) % == 0) {
      		              ^
Main.java:8: error: not a statement
              System.out,println(Even);
                    ^
Main.java:8: error: ';' expected
              System.out,println(Even);
                        ^
4 errors
Language: C++

#include <bits/stdc++.h>
using namespase std;
 
int main(){
  int A,B;
  cin >> A >> B;
  if(A*B%2 == 0){
    cout << "Even" << endl;
  }else{
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase 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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << "Even" << 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:8:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Even" << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << "Odd" << 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:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << "Odd" << endl;
      |                      ^~~~
      |                      std::endl
/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 namespase std;

int main(){
  int A,B;
  cin >> A >> B;
  if(a*b%2 == 0){
    cout << "Even" << endl;
  }else{
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase 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:6: error: 'a' was not declared in this scope
    7 |   if(a*b%2 == 0){
      |      ^
a.cc:7:8: error: 'b' was not declared in this scope
    7 |   if(a*b%2 == 0){
      |        ^
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << "Even" << 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:8:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Even" << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << "Odd" << 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:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << "Odd" << endl;
      |                      ^~~~
      |                      std::endl
/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("%d %d",&a ,&b);
	int c = a * b;
	switch (c % 2) {
	case(1):
		printf("Odd\n");
	break;
	default:
		printf("Even\n");
	}
	return 0;
}

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

#include<stdio.h>

int main() {
	int a,b;
	scanf_s("%d %d",&a ,&b);
	int c = a * b;
	switch (c % 2) {
	case(1):
		printf_s("Odd\n");
	break;
	default:
		printf_s("Even\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         scanf_s("%d %d",&a ,&b);
      |         ^~~~~~~
      |         scanf
a.cc:9:17: error: 'printf_s' was not declared in this scope; did you mean 'printf'?
    9 |                 printf_s("Odd\n");
      |                 ^~~~~~~~
      |                 printf
Language: C++

#include<stdio.h>

void main() {
	int a,b;
	scanf_s("%d %d",&a ,&b);
	int c = a * b;
	switch (c % 2) {
	case(1):
		printf_s("Odd\n");
	break;
	default:
		printf_s("Even\n");
	}
}


Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         scanf_s("%d %d",&a ,&b);
      |         ^~~~~~~
      |         scanf
a.cc:9:17: error: 'printf_s' was not declared in this scope; did you mean 'printf'?
    9 |                 printf_s("Odd\n");
      |                 ^~~~~~~~
      |                 printf
Language: C++

#include<stdio.h>

void main() {
	int a,b;
	scanf_s("%d %d",&a ,&b);
	int c = a * b;
	switch (c % 2) {
	case(1):
		printf_s("Odd");
	break;
	default:
		printf_s("Even");
	}
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:9: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         scanf_s("%d %d",&a ,&b);
      |         ^~~~~~~
      |         scanf
a.cc:9:17: error: 'printf_s' was not declared in this scope; did you mean 'printf'?
    9 |                 printf_s("Odd");
      |                 ^~~~~~~~
      |                 printf
Language: Java

import java.util.Scanner;
 
class aaa{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
        int a = scan.next();
        int b = scan.next();
        int c = a * b;
        
        if(c / 2 == 0){
        	System.out.print("Even");
        }else {
        	System.out.print("Odd");
        }
    }
}

Compiler output:
Main.java:6: error: incompatible types: String cannot be converted to int
        int a = scan.next();
                         ^
Main.java:7: error: incompatible types: String cannot be converted to int
        int b = scan.next();
                         ^
2 errors
Language: Java

import java.util.Scanner;
 
class aaa{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
        String a = scan.next();
        String b = scan.next();
        String c = a * b;
        
        if(c / 2 == 0){
        	System.out.print("Even");
        }else {
        	System.out.print("Odd");
        }
    }
}

Compiler output:
Main.java:8: error: bad operand types for binary operator '*'
        String c = a * b;
                     ^
  first type:  String
  second type: String
Main.java:10: error: bad operand types for binary operator '/'
        if(c / 2 == 0){
             ^
  first type:  String
  second type: int
2 errors
Language: Java

import java.util.Scanner;
 
class aaa{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
        String a = scan.next();
        String b = scan.next();
        String c = a * b;
        
        if(c / 2 == 0){
        	System.out.print("Even");
        }else {
        	System.out.print("Odd");
        }
    }

Compiler output:
Main.java:15: error: reached end of file while parsing
    }
     ^
1 error
Language: Java

import java.util.Scanner;

class aaa{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
        String a = scan.next();
        String b = scan.next();
        String c = a*b;
        
        if(c/2 == 0){
        	System.out.print("Even");
        }else {
        	System.out.print("Odd");
        }
    }
}

Compiler output:
Main.java:8: error: bad operand types for binary operator '*'
        String c = a*b;
                    ^
  first type:  String
  second type: String
Main.java:10: error: bad operand types for binary operator '/'
        if(c/2 == 0){
            ^
  first type:  String
  second type: int
2 errors
Language: Java

class aaa{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
        String a = scan.next();
        String b = scan.next();
        String c = a*b;
        
        if(c/2 == 0){
        	System.out.print("Even");
        }else {
        	System.out.print("Odd");
        }
    }
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner scan = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class aaa
Main.java:3: error: cannot find symbol
		Scanner scan = new Scanner(System.in);
		                   ^
  symbol:   class Scanner
  location: class aaa
Main.java:6: error: bad operand types for binary operator '*'
        String c = a*b;
                    ^
  first type:  String
  second type: String
Main.java:8: error: bad operand types for binary operator '/'
        if(c/2 == 0){
            ^
  first type:  String
  second type: int
4 errors
Language: Java

class aaa{
	public static void main(String[] args){
		Scanner scan = new Scanner(System.in);
        String a = scan.next();
        String b = scan.next();
        String c = a*b
        
        If(c/2 = 0){
        	System.out.print("Even");
        }Else{
        	System.out.print("Odd");
        }
    }
}

Compiler output:
Main.java:6: error: ';' expected
        String c = a*b
                      ^
Main.java:8: error: ';' expected
        If(c/2 = 0){
                   ^
Main.java:10: error: not a statement
        }Else{
         ^
Main.java:10: error: ';' expected
        }Else{
             ^
4 errors
Language: Java

class name{
	public static void main(String[] args){
    	int a = 1;
    	int b = 2;
      
      	If(a*b/2 = 0){
        	System.out.print("Even");
        }Else{
        	System.out.print("Odd");
        }
      
    }

}

Compiler output:
Main.java:6: error: ';' expected
      	If(a*b/2 = 0){
      	             ^
Main.java:8: error: not a statement
        }Else{
         ^
Main.java:8: error: ';' expected
        }Else{
             ^
3 errors
Language: C++

#include<iostream>
using namesace std;
int main()
{
    long long int p,q,r;
cin>>p>>q;
r=p*q;
if(r%2==0)
{
     cout<<"Even"<<endl;
}
else
{
   cout<<"Odd"<<endl;
}

}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesace'
    2 | using namesace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin>>p>>q;
      | ^~~
      | 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:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |      cout<<"Even"<<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:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |      cout<<"Even"<<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)
      |     ^~~~
a.cc:14:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |    cout<<"Odd"<<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:14:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |    cout<<"Odd"<<endl;
      |                 ^~~~
      |                 std::endl
/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 namesace std;
int main()
{
    long long int p,q,r;
cin>>p>>q;
r=p*q;
if(r%2==0)
{
     cout<<"Even"<<endl;
}
else
{
   cout<<"Odd"<<endl;
}

}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namesace'
    2 | using namesace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin>>p>>q;
      | ^~~
      | 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:10:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |      cout<<"Even"<<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:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |      cout<<"Even"<<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |    cout<<"Odd"<<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:14:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |    cout<<"Odd"<<endl;
      |                 ^~~~
      |                 std::endl
/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>

int main(){
  int a, b;
  cin >> a >> b;
  
  int product = a*b; // product
  if(product%2==0){
    printf("Odd");
  }else{
  	printf("Even");
  }
  
  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 >> 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
      |                  ^~~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
  if ((a*b)% == 0)
    cout << "Even" ;
  else
    cout << "Odd" ;
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '==' token
    7 |   if ((a*b)% == 0)
      |              ^~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
  if ((a*b)% == 0)
    cout << "Even" ;
  else
    cout << "Odd"
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '==' token
    7 |   if ((a*b)% == 0)
      |              ^~
a.cc:10:18: error: expected ';' before '}' token
   10 |     cout << "Odd"
      |                  ^
      |                  ;
   11 | 
   12 | }
      | ~
Language: C++

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

int main() {
  int a, b;
  
  cin >> a >> b;

  if ( a * b % 2 ==0 ) {
    cout << "even" << endl; 
  }
  else {
    cout << "0dd" << endl;
  }  
 
  


Compiler output:
a.cc: In function 'int main()':
a.cc:14:4: error: expected '}' at end of input
   14 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.Scanner;

public class Abc086A {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();

    String result = a * b % 2 == 0 ? "Even" : "Odd";

    System.out.println(result);
  }
}

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

import java.util.Scanner;

public class Abc086A {
  public static main(String[] args){
    Scanner scanner = new Scanner(System.in);

    int a = scanner.nextInt();
    int b = scanner.nextInt();
    
    String result = a*b % 2 == 0? "Even":"Odd";

    System.out.println(result);
  }
}

Compiler output:
Main.java:4: error: invalid method declaration; return type required
  public static main(String[] args){
                ^
1 error
Language: C++

#include <iostream>

int a, b;
cin >> a >> b ;
if((a*b)%2 == 1){
  cout >> "Odd" >> endl;
}
else {
 cout >> "Even" >> endl;
}

Compiler output:
a.cc:4:1: error: 'cin' does not name a type
    4 | cin >> a >> b ;
      | ^~~
a.cc:5:1: error: expected unqualified-id before 'if'
    5 | if((a*b)%2 == 1){
      | ^~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else {
      | ^~~~
Language: C++

int a, b;
cin >> a >> b ;
if((a*b)%2 == 1){
  cout >> "Odd" >> endl;
}
else {
 cout >> "Even" >> endl;
}

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin >> a >> b ;
      | ^~~
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if((a*b)%2 == 1){
      | ^~
a.cc:6:1: error: expected unqualified-id before 'else'
    6 | else {
      | ^~~~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;

  if (A*B%2 == 1) {
    cout << "Odd" << endl;
  } else{
    cout << "Even" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: 'A' was not declared in this scope
    8 |   if (A*B%2 == 1) {
      |       ^
a.cc:8:9: error: 'B' was not declared in this scope
    8 |   if (A*B%2 == 1) {
      |         ^
Language: Java

public class Main{
    public static String main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();

        int result = a * b;
        if(result % 2 == 0){
            return "Even";
        }else{
            return "Odd";
        }

    }
}

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: Java

public class Main{
    public static String main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();

        int result = a * b;
        if(result % 2 == 0){
            return "Even";
        }else{
            return "Odd";
        }

    }

Compiler output:
Main.java:14: error: reached end of file while parsing
    }
     ^
1 error
Language: C++

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

int main() {
  int a b ;
  cin >> a >> b ;
  if(a*b%2==0)
  {
    cout << "Even" << endl;
  }
  else
  {
      cout << "Odd" << endl;
  }
}


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

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

int main() {
  int a b ;
  cin >> a >> b ;
  if(ab%2==0)
  {
    cout << "Even" << endl;
  }
  else
  {
      cout << "Odd" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'b'
    5 |   int a b ;
      |         ^
a.cc:6:10: error: 'a' was not declared in this scope
    6 |   cin >> a >> b ;
      |          ^
a.cc:6:15: error: 'b' was not declared in this scope
    6 |   cin >> a >> b ;
      |               ^
a.cc:7:6: error: 'ab' was not declared in this scope; did you mean 'abs'?
    7 |   if(ab%2==0)
      |      ^~
      |      abs
Language: C++

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

int main(){
  int a,b,c;
  int x=10;
  cin>>a>>b;
  while(b/x!=0){
    x*10;}
  c=a*x+b;
  int y=1;
  while(y**2>=c){
    y+=1;
  }
  if(y**==c){
    cout<<"Yes"<<endl;
  }else{
    cout<<"No"<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: invalid type argument of unary '*' (have 'int')
   12 |   while(y**2>=c){
      |           ^~
a.cc:15:8: error: expected primary-expression before '*=' token
   15 |   if(y**==c){
      |        ^~
a.cc:15:10: error: expected primary-expression before '=' token
   15 |   if(y**==c){
      |          ^
Language: Java

class Main{
  public static void main(String[] args){
    Scanar sc=new Scanaer(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
    
    if((a*b)%2==0){
      System.out.println("Even");
    }else{
      System.out.println("Odd");
    }
  }
}

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

import java.util.*;

class Main{
public static void main(String[] args){
  
  Scanner sc = new.Scanner(System.in);
  int a = sc.nextInt();
  int b = sc.nextInt();
  
  int c = a%b
  if(c == 0){
    System.out.println()
  }else{
  System.out.println();
  }
  
}
}

Compiler output:
Main.java:6: error: <identifier> expected
  Scanner sc = new.Scanner(System.in);
                  ^
Main.java:10: error: ';' expected
  int c = a%b
             ^
Main.java:12: error: ';' expected
    System.out.println()
                        ^
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b,c;
  cin >> a >> b;
  c = a * b
  if (c % 2 == 0){
    cout << "Even" << endl;
  }
   else {
     cout << "Odd" << endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected ';' before 'if'
    7 |   c = a * b
      |            ^
      |            ;
    8 |   if (c % 2 == 0){
      |   ~~        
a.cc:11:4: error: 'else' without a previous 'if'
   11 |    else {
      |    ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main() {
    int a,b;
    cin >> a >>b;
    if (a*b%2==0){
        cout<< "even" <<endl;
    }
    else{
        cout<<"Odd" <<endl
    }


    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:27: error: expected ';' before '}' token
   12 |         cout<<"Odd" <<endl
      |                           ^
      |                           ;
   13 |     }
      |     ~
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    int ab = a * b;
    if(ab % 2 == 0){
      System.put.println("Even");
    }
    else{
      System.out.println("Odd");
      {
  }

Compiler output:
Main.java:15: error: reached end of file while parsing
  }
   ^
1 error
Language: C++

#include <iosteam>
using namespace std;

int main()
{
  int a,b;cin>>a>>b;
  if(a*b%2)cout<<"Odd"<<endl;
  else cout<<"Even"<<endl;
  return 0;
}

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

#include <iostream>

using namespace std;

int main() {
  int a, b, ans;
  
  cin >> a >> b;
  
  if (a % b == 0) {
    cout << "Even";
  else {
    cout << "Odd";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: expected '}' before 'else'
   12 |   else {
      |   ^~~~
a.cc:10:19: note: to match this '{'
   10 |   if (a % b == 0) {
      |                   ^
Language: C++

#include <iostream>

int main() {
  int a, b, ans;
  
  cin >> a >> b;
  
  if (a % b == 0) {
    cout << "Even";
  else {
    cout << "Odd";
  }
}

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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout << "Even";
      |     ^~~~
      |     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:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:8:19: note: to match this '{'
    8 |   if (a % b == 0) {
      |                   ^
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "Odd";
      |     ^~~~
      |     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 <stdio.h>

int main() {
  int a,b;
  scanf(%d%d, &a, &b);
  puts(a * b % 2 ? "Odd" : "Even");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected expression before '%' token
    5 |   scanf(%d%d, &a, &b);
      |         ^
Language: Java

import java.util.Scanner;
class Main {
 public static void main(String[] args) {
   Scanner sc = new Scanner(System.in);
   int a = sc.nextInt();
   int b = sc.scannerInt();
   int com = a*b;
  if(com%2==0) {
    System.out.println("Even");
  }else{
    System.out.println("Odd");
  }
 }
}

Compiler output:
Main.java:6: error: cannot find symbol
   int b = sc.scannerInt();
             ^
  symbol:   method scannerInt()
  location: variable sc of type Scanner
1 error
Language: Java

import java.util.Scanner;
class Main {
 public static void main(String[] args) {
   Scanner sc = new Scanner();
   int a = sc.nextInt();
   int b = sc.scannerInt();
   int com = a*b;
  if(com%2==0) {
    System.out.println("Even");
  }else{
    System.out.println("Odd");
  }
 }
}

Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
   Scanner sc = new Scanner();
                ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
Main.java:6: error: cannot find symbol
   int b = sc.scannerInt();
             ^
  symbol:   method scannerInt()
  location: variable sc of type Scanner
2 errors
Language: Java

import java.util.Scanner;
class Main {
 public static void main(String[] args) {
   Scanner sc = new Scanner();
   int a = sc.nextInt();
   int b = sc.scannerInt();
   int com = a*b;
  if(com%2==0) {
    System.out.println('Even');
  }else{
    System.out.println('Odd');
  }
 }
}

Compiler output:
Main.java:9: error: unclosed character literal
    System.out.println('Even');
                       ^
Main.java:9: error: unclosed character literal
    System.out.println('Even');
                            ^
Main.java:9: error: not a statement
    System.out.println('Even');
                         ^
Main.java:11: error: unclosed character literal
    System.out.println('Odd');
                       ^
Main.java:11: error: unclosed character literal
    System.out.println('Odd');
                           ^
Main.java:11: error: not a statement
    System.out.println('Odd');
                         ^
6 errors
Language: Java

import java.util.Scanner;
class Main {
 public static void main(String[] args) {
   Scanner sc = new Scanner();
   int a = sc.nextInt();
   int b = sc.scannerInt();
   int com = a*b;
  if(com%2==0) {
    System.out.println('Even')
  }else{
    System.out.println('Odd')
  }
 }
}

Compiler output:
Main.java:9: error: unclosed character literal
    System.out.println('Even')
                       ^
Main.java:9: error: unclosed character literal
    System.out.println('Even')
                            ^
Main.java:9: error: not a statement
    System.out.println('Even')
                         ^
Main.java:11: error: unclosed character literal
    System.out.println('Odd')
                       ^
Main.java:11: error: unclosed character literal
    System.out.println('Odd')
                           ^
Main.java:11: error: not a statement
    System.out.println('Odd')
                         ^
6 errors
Language: C++

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

int main(void)
{
  int a,b;
  cin >> a >> b;
  
  if(a*b %2 == 0)
    cout << "Even" <<endl;
  else
    cout << "Odd" <<endl;
}

Compiler output:
a.cc:2:17: error: 'srd' is not a namespace-name
    2 | using namespace srd;
      |                 ^~~
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 /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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << "Even" <<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:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << "Even" <<endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     cout << "Odd" <<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:12:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |     cout << "Odd" <<endl;
      |                     ^~~~
      |                     std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdio.h>

int main(void)
{
  int a,b;
  cin >> a >> b;
  
  if(a*b %2 == 0)
    cout << "Even" <<endl;
  else
    cout << "Odd" <<endl;
}

Compiler output:
In file included from a.cc:1:
/usr/include/x86_64-linux-gnu/bits/stdio.h:23:3: error: #error "Never include <bits/stdio.h> directly; use <stdio.h> instead."
   23 | # error "Never include <bits/stdio.h> directly; use <stdio.h> instead."
      |   ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "Even" <<endl;
      |     ^~~~
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout << "Even" <<endl;
      |                      ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "Odd" <<endl;
      |     ^~~~
a.cc:11:21: error: 'endl' was not declared in this scope
   11 |     cout << "Odd" <<endl;
      |                     ^~~~
Language: C

#include<stdio.h>

int main(void) {
  int a, b, value;

  // 整数の入力
  scanf("%d %d", &a, &b);

  value = a * b;
  char text[4] = value % 2 == 0 ? "Even" : "Odd";

  printf("%s", text);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:18: error: invalid initializer
   10 |   char text[4] = value % 2 == 0 ? "Even" : "Odd";
      |                  ^~~~~
Language: C

#include<stdio.h>

int main(void) {
  int a, b, value;
  char text[100];

  // 整数の入力
  scanf("%d %d", &a, &b);

  value = a * b;
  text = value % 2 == 0 ? "Even" : "Odd";

  printf("%s", text);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:8: error: assignment to expression with array type
   11 |   text = value % 2 == 0 ? "Even" : "Odd";
      |        ^
Language: C

#include<stdio.h>

int main(void) {
  int a, b;

  // 整数の入力
  scanf("%d %d", &a, &b);

  value = a * b;
  text = value % 2 == 0 ? "Even" : "Odd";

  printf("%s", text);
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:3: error: 'value' undeclared (first use in this function)
    9 |   value = a * b;
      |   ^~~~~
main.c:9:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:3: error: 'text' undeclared (first use in this function)
   10 |   text = value % 2 == 0 ? "Even" : "Odd";
      |   ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a,b;
  cin >> a >> b;
  int c = a*b;
  if(c % 2 == 0) cout << "Even" << endl;
  else cout << "Odd" << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:9:30: error: expected '}' at end of input
    9 |   else cout << "Odd" << endl;
      |                              ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

int main(){
	int a,b,c;
  
  	cin >> a >> b;
  	
  	c = a * b % 2;
  
  	if(c == 0){
    	cout << "Even" << endl;
    }else{
    	cout << "Odd" << endl;
    }
}

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

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

int main() {
  int a,b ;
  cin >> a >> b ;

  if ( a*b%2=1 ) {
     cout << "Odd" << endl;}
  else{
      cout << "Even" << endl;}
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: lvalue required as left operand of assignment
    8 |   if ( a*b%2=1 ) {
      |        ~~~^~
Language: C++

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

int main() {
  int a,b ;
  cin >> a >> b ;

  if ( ab%2=1 ) {
     cout << "Odd" << endl;}
  else{
      cout << "Even" << endl;}
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'ab' was not declared in this scope; did you mean 'b'?
    8 |   if ( ab%2=1 ) {
      |        ^~
      |        b
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
  if ( a*b%==0) {
    cout << "Even" << endl;
  } else {
    cout << "Odd" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected primary-expression before '=' token
    9 |   if ( a*b%==0) {
      |             ^
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b ;
  
  if (a%2 == 0 || b%2==0){
    cout << "Even" << endl;
  }
  else if{
    cout << "Odd" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:10: error: expected '(' before '{' token
   11 |   else if{
      |          ^
      |          (
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b;
  cin >> a >> b;
  if (a*b%==1) {
    cout << "Odd" << endl;
  } else {
    cout << "Even" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected primary-expression before '=' token
    7 |   if (a*b%==1) {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a, b;
  cin >> a >> b;
  if (a*b%=1) {
    cout << "Odd" << endl;
  } else {
    cout << "Even" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: lvalue required as left operand of assignment
    7 |   if (a*b%=1) {
      |       ~^~
Language: Java

import java.util.Scanner;

public class App {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        if ( (a * b) % 2 == 1){
            System.out.println("Odd");
        }else{
            System.out.println("Even");
        }
        scanner.close();
    }
}

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

import java.util.Scanner;

public class App {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        if ( (a * b) % 2 == 1){
            System.out.println("Odd");
        }else{
            System.out.println("Even");
        }
    }
}

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

package app;

import java.util.Scanner;

public class App {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        if ( (a * b) % 2 == 1){
            System.out.println("Odd");
        }else{
            System.out.println("Even");
        }
    }
}

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

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

int main(){
  int a, b;
  cin >> a >> b;
  int g = a*b;
  if (g%2==0)
    cout << "Even" << endl;
  else
    count << "Odd" << endl;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclued; did you mean #include?
    1 | #inclued <bits/stdc++.h>
      |  ^~~~~~~
      |  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 | #inclued <bits/stdc++.h>
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "Even" << endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:23: error: 'endl' was not declared in this scope
    9 |     cout << "Even" << endl;
      |                       ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclued <bits/stdc++.h>
a.cc:11:5: error: 'count' was not declared in this scope
   11 |     count << "Odd" << endl;
      |     ^~~~~
a.cc:11:23: error: 'endl' was not declared in this scope
   11 |     count << "Odd" << endl;
      |                       ^~~~
a.cc:11:23: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

int main() {
	int a,b;
	cin >> a >> b;
	cout << (((a*b%2)==0) ? "Even": "Odd")<< endl;
}

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%2)==0) ? "Even": "Odd")<< endl;
      |         ^~~~
a.cc:4:50: error: 'endl' was not declared in this scope
    4 |         cout << (((a*b%2)==0) ? "Even": "Odd")<< endl;
      |                                                  ^~~~
Language: Java

import java.util.*;
 
public class main {
	public static void main(String[] args) {
    	Scanner scanner = new Scanner(System.in);
        int n1 = scanner.nextInt();
        int n2 = scanner.nextInt();
        if (n1 * n2 % 2 == 0) {
        	System.out.println("Even");
        } else {
        	System.out.println("Odd");
        }
    }
}

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: Java

import java.util.*

public class main {
	public static void main(String[] args) {
    	Scanner scanner = new Scanner(System.in);
        int n1 = scanner.nextInt();
        int n2 = scanner.nextInt();
        if (n1 * n2 % 2 == 0) {
        	System.out.println("Even");
        } else {
        	System.out.println("Odd");
        }
    }
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
1 error
Language: C++

#include<iostream>
using namespace std;

int main(){
    
    int a;
    int b;
    
    // 標準入力
    cin >> a >> b;

    if (a * b % 2 = 0){
        cout << "Even" << endl;
    
    } else {
        cout << "Odd" << endl;
    }
    
    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: lvalue required as left operand of assignment
   12 |     if (a * b % 2 = 0){
      |         ~~~~~~^~~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
   if (a*b % 2=0) {
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: lvalue required as left operand of assignment
    7 |    if (a*b % 2=0) {
      |        ~~~~^~~
Language: C

#include <stdio.h>
int main(void){
int a,b,case;
scanf("%d %d",&a,&b);
  if(a*b%2==0){
printf("Odd");
  }
  else{printf("Even");}
}

Compiler output:
main.c: In function 'main':
main.c:3:9: error: expected identifier or '(' before 'case'
    3 | int a,b,case;
      |         ^~~~