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

#include<iostream>
using namespace std;
int main()
{
    int a,b;
  cin>>a>>b;
  intc=a*b;
  if (c%2==0) count<<"Even"<<endl;
  else count<<"Odd"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'intc' was not declared in this scope; did you mean 'int'?
    7 |   intc=a*b;
      |   ^~~~
      |   int
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c%2==0) count<<"Even"<<endl;
      |       ^
a.cc:8:15: error: 'count' was not declared in this scope
    8 |   if (c%2==0) count<<"Even"<<endl;
      |               ^~~~~
a.cc:9:8: error: 'count' was not declared in this scope
    9 |   else count<<"Odd"<<endl;
      |        ^~~~~
Language: C++

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:3: error: 'cin' was not declared in this scope
    5 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even" << endl;
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:23: error: 'endl' was not declared in this scope
    8 |     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 | using namespace std;
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << "Odd" << endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |     cout << "Odd" << endl;
      |                      ^~~~
a.cc:10:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:19: error: expected primary-expression before '%' token
    4 |   scanf("%d%d",&a,%b);
      |                   ^
Language: C++

#include <iostream>
int main(){
  int a,b;
  cin >> a >> b;
  int x = a * b / 2;
  if((x * 2) == (a * b)){
    cout << "Even" << endl;
  }else{
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     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:7:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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:9:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     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++

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();

        if ((a & b & 1) == 0) {
            System.out.println("Even");
            return;
        }
        System.out.println("Odd");
    }
}

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.Scanner;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C

#include<stdio.h>
int main()
{
  
  int a=1,b;
  if(a*=2)
  

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected expression at end of input
    6 |   if(a*=2)
      |   ^~
main.c:6:3: error: expected declaration or statement at end of input
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:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
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:8:27: error: expected ';' before ':' token
    8 |     cout << "Even" << endl:
      |                           ^
      |                           ;
a.cc:11:26: error: expected ';' before ':' token
   11 |     cout << "Odd" << endl:
      |                          ^
      |                          ;
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.Scanner;

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

     judge(a,b);

  }
  public static void judge (int a ,int b){
    // 奇数偶数判定
    if (a * b % 2 == 0 ) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }
  }
}


Compiler output:
Main.java:6: error: illegal character: '\uff08'
     int a = scanner.nextInt?);
                            ^
Main.java:7: error: illegal character: '\uff08'
     int b = scanner.nextInt?);
                            ^
2 errors
Language: Java

public class Main {
 public static void main(String args []) {
   int a = 3;
   int b = 4; 
   
   judge(a,b);
   
 }
 public void judge (int a ,int b){
  // 奇数偶数判定
  if (a * b % 2 == 0 ) {
    System.out.println("Even");
  } else {
    System.out.println("Odd");
  }
 }  
}


Compiler output:
Main.java:6: error: non-static method judge(int,int) cannot be referenced from a static context
   judge(a,b);
   ^
1 error
Language: Java

public class Main {
 public static void main(String args []) {
   int a = 3;
   int b = 4; 
   
   this.judge(a,b);
   
 }
 public void judge (int a ,int b){
  // 奇数偶数判定
  if (a * b % 2 == 0 ) {
    System.out.println("Even");
  } else {
    System.out.println("Odd");
  }
 }  
}


Compiler output:
Main.java:6: error: non-static variable this cannot be referenced from a static context
   this.judge(a,b);
   ^
1 error
Language: Java

public class Main {
 public static void main(String args []) {
      int a;
      int b;
    // 奇数偶数判定
    if (a * b % 2 == 0 ) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }  
 }
}

Compiler output:
Main.java:6: error: variable a might not have been initialized
    if (a * b % 2 == 0 ) {
        ^
Main.java:6: error: variable b might not have been initialized
    if (a * b % 2 == 0 ) {
            ^
2 errors
Language: Java

public class main {
  public static void main(String args []) {
      int a;
      int b;
    // 奇数偶数判定
    if (a * b % 2 == 0 ) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }  
  }
}

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

public class main {
  public static void main String [] args {
      int a;
      int b;
    // 奇数偶数判定
    if (a * b % 2 == 0 ) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }  
  }
}

Compiler output:
Main.java:2: error: '(' expected
  public static void main String [] args {
                          ^
Main.java:2: error: ';' expected
  public static void main String [] args {
                                        ^
2 errors
Language: Java

public class judge{
  public static void main (String args []) {
      int a;
      int b;
    // 奇数偶数判定
    if (a * b % 2 == 0 ) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }  
  }
}

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

public static void main String [] args {
	int a;
    int b;
  // 奇数偶数判定
  if (a * b % 2 == 0 ) {
    System.out.println("Even");
  } else {
  	System.out.println("Odd");
  }  
}  

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
public static void main String [] args {
              ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
    int b;
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
  if (a * b % 2 == 0 ) {
  ^
Main.java:7: error: class, interface, enum, or record expected
  } else {
  ^
Main.java:9: error: class, interface, enum, or record expected
  }  
  ^
5 errors
Language: C++

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

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

import java.util.Scanner;

public class Task1 {
	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 % 2 == 0 ) {
			System.out.println("Even");
		} else if (c%2 == 1) {
			System.out.println("Odd");
		}
	}
}


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

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

Compiler output:
Main.java:7: error: ')' expected
  if((a * b) mod 2 == 1){
            ^
Main.java:7: error: not a statement
  if((a * b) mod 2 == 1){
             ^
Main.java:7: error: ';' expected
  if((a * b) mod 2 == 1){
                ^
Main.java:9: error: 'else' without 'if'
  }else {
   ^
4 errors
Language: Java

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

Compiler output:
Main.java:7: error: ')' expected
  if(a * b mod 2 == 1){
          ^
Main.java:7: error: not a statement
  if(a * b mod 2 == 1){
           ^
Main.java:7: error: ';' expected
  if(a * b mod 2 == 1){
              ^
Main.java:9: error: 'else' without 'if'
  }else {
   ^
4 errors
Language: Java

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

Compiler output:
Main.java:7: error: ')' expected
  if(a * b mod 2 == 1){
          ^
Main.java:7: error: not a statement
  if(a * b mod 2 == 1){
           ^
Main.java:7: error: ';' expected
  if(a * b mod 2 == 1){
              ^
Main.java:9: error: 'else' without 'if'
  }else System.out.println("Even");
   ^
4 errors
Language: Java

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

Compiler output:
Main.java:7: error: ')' expected
  if((a * b) mod 2 == 1){
            ^
Main.java:7: error: not a statement
  if((a * b) mod 2 == 1){
             ^
Main.java:7: error: ';' expected
  if((a * b) mod 2 == 1){
                ^
Main.java:9: error: 'else' without 'if'
  }else System.out.println("Even");
   ^
4 errors
Language: C++

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

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

#include<iostream>
using namespace std;
int main()
{
  int a,b;
  cin >> a >> b;
  int c;
  c=a*b;
  cin >> c;
  int d;
  d=c%2;
  cin >> d;
  if (d == 0){
    cout <<　"even";
      }
      else{
        cout <<　"odd";
      }
      return 0;
  }


Compiler output:
a.cc:14:12: error: extended character 　 is not valid in an identifier
   14 |     cout <<　"even";
      |            ^
a.cc:17:16: error: extended character 　 is not valid in an identifier
   17 |         cout <<　"odd";
      |                ^
a.cc: In function 'int main()':
a.cc:14:12: error: '\U00003000' was not declared in this scope
   14 |     cout <<　"even";
      |            ^~
a.cc:17:16: error: '\U00003000' was not declared in this scope
   17 |         cout <<　"odd";
      |                ^~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: expected initializer before '==' token
    8 |  int c==a*b;
      |       ^~
a.cc:10:5: error: 'c' was not declared in this scope
   10 |  if(c%2==0){
      |     ^
Language: C++

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

int main() {
  int x,y;
  cin >> x>>y;

  if (x*y%==0) {
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'c' was not declared in this scope
    7 |   c = a % 2, d = b % 2;
      |   ^
a.cc:7:14: error: 'd' was not declared in this scope
    7 |   c = a % 2, d = b % 2;
      |              ^
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: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;

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: expected ';' before 'cout'
   11 |   else (a * b % 2 == 0)
      |                        ^
      |                        ;
   12 |   cout << "Even" << endl;
      |   ~~~~
Language: C++

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

int main() {
  
  int a, b;

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

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

#include<iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: lvalue required as left operand of assignment
    9 | cout<<((a*b)%2=true? "Odd":"Even")<<endl;
      |        ~~~~~^~
Language: Java

import java.util.*;

class Main {
  public static void main(String[] args) {
    Scannner sc = new Scanner(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:5: error: cannot find symbol
    Scannner sc = new Scanner(System.in);
    ^
  symbol:   class Scannner
  location: class Main
1 error
Language: Java


class Mail {
  public static void main(String[] args) {
    Scanner sc = new Scanner(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:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Mail
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Mail
2 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:7: error: expected '}' before 'else'
    9 |       else cout << "Odd" << endl;
      |       ^~~~
a.cc:7:32: note: to match this '{'
    7 |         if ((a * b % 2) == 0 ) {
      |                                ^
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'name'
    2 | using name space 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
      |                  ^~~
Language: C++

#include <bits/stdc++.h>
using name space 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:2:7: error: expected nested-name-specifier before 'name'
    2 | using name space 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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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:9:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     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:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     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:11:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     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 name space 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 'name'
    2 | using name space 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:22: 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:21: 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 name space 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 'name'
    2 | using name space std;
      |       ^~~~
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int(main){
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a,b;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int(main){
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if(a*b%2==0)
      |   ^~
a.cc:9:3: error: expected unqualified-id before 'else'
    9 |   else
      |   ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'name'
    2 | using name space std;
      |       ^~~~
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int(main){
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a,b;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int(main){
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if(a*b%2==0)
      |   ^~
a.cc:9:3: error: expected unqualified-id before 'else'
    9 |   else
      |   ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
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:9:5: error: expected '}' before 'else'
    9 |     else {
      |     ^~~~
a.cc:7:25: note: to match this '{'
    7 |   if ( (a * b) % 2 == 1){
      |                         ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:5:17: error: 'puts' was not declared in this scope
    5 |   if (c%2 == 0) puts("Even");
      |                 ^~~~
a.cc:6:8: error: 'puts' was not declared in this scope
    6 |   else puts("Odd");
      |        ^~~~
a.cc:7:11: error: expected ';' before '}' token
    7 |   return 0
      |           ^
      |           ;
    8 | }
      | ~
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:7:12: error: lvalue required as left operand of assignment
    7 |   if(a%2=1 && b%2=1){
      |          ~~^~~~~~
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:7:12: error: lvalue required as left operand of assignment
    7 |   if(a%2=1 && b%2=1){
      |          ~~^~~~~~
a.cc:8:13: error: 'Odd' was not declared in this scope
    8 |     cout << Odd << endl ;
      |             ^~~
a.cc:11:13: error: 'Even' was not declared in this scope
   11 |     cout << Even << endl;
      |             ^~~~
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:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a,b;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b ;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if(a%2=1 && b%2=1){
      |   ^~
a.cc:10:3: error: expected unqualified-id before 'else'
   10 |   else {
      |   ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#incrude <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:1:2: error: invalid preprocessing directive #incrude; did you mean #include?
    1 | #incrude <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a,b;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b ;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if(a%2=1 && b%2=1){
      |   ^~
a.cc:10:3: error: expected unqualified-id before 'else'
   10 |   else {
      |   ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
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)%2 ==0 ){

       System.out.println("even");

  }
    else{

       System.out.println("odd");
  }


  }
 

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

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

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

    if ( a % 2== 0 || b % 2== 0){

       System.out.println("even");

  }
    else{

       System.out.println("odd");
 }


  }
 }

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

#include<stdio.h>
int main()
{
    int a,b;
    // 整数の入力
    scanf("%d", &a);
    // スペース区切りの整数の入力
    scanf("%d", &b);
    // 出力
  	if(a*b%==0){
      printf("Even");
    }else{
      printf("Odd");
    }
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:17: error: expected expression before '=' token
   10 |         if(a*b%==0){
      |                 ^
Language: C

#include<stdio.h>
int main()
{
    int a,b,;
    // 整数の入力
    scanf("%d", &a);
    // スペース区切りの整数の入力
    scanf("%d", &b);
    // 出力
  	if(a*b%==0){
      printf("Even");
    }else{
      printf("Odd");
    }
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:13: error: expected identifier or '(' before ';' token
    4 |     int a,b,;
      |             ^
main.c:10:17: error: expected expression before '=' token
   10 |         if(a*b%==0){
      |                 ^
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: lvalue required as left operand of assignment
   10 |   if(x % 2 = 0){
      |      ~~^~~
a.cc:12:14: error: lvalue required as left operand of assignment
   12 |   }else if(x % 2 = 1){
      |            ~~^~~
Language: C++

#include <iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: 'b' was not declared in this scope
    6 |  int a = 0; b = 0;
      |             ^
Language: Java

import java.util.Scanner;

public class Main {

    public static void main(String[] args) {

                Scanner scan = new Scanner(System.in);
                int a = scan.next();
                int b = scan.next();

                if ((a * b ) % 2 == 0 ) {
                    System.out.printf("Even");
                } else {
                    System.out.printf("Odd");
                }
            }
}


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

public class Main {

    public static void main(String[] args) {

                Scanner scan = new Scanner(System.in);
                int a = scan.next();
                int b = scan.next();

                if ((a * b ) % 2 == 0 ) {
                    System.out.printf("Even");
                } else {
                    System.out.printf("Odd");
                }
            }
}


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

import java.util.Scanner;

public class Main {

  public static void main(String[] args) {

      Scanner scan = new Scanner(System.in);
      String a = scan.next();
      String b = scan.next();

      if ((a * b ) % 2 == 0 ) {
        System.out.printf("Even");
      } else {
           System.out.printf("Odd"); 
      }
  }
}


Compiler output:
Main.java:11: error: bad operand types for binary operator '*'
      if ((a * b ) % 2 == 0 ) {
             ^
  first type:  String
  second type: String
1 error
Language: Java

int main () {

	Scanner scan = new Scanner(System.in);
    String a = scan.next();
    String b = scan.next();
  	
  	if ((a * b ) % 2 == 0 ) {
      System.out.printf("Even");
    } else {
         System.out.printf("Odd"); 
    }
  
 
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int main () {
^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <bits/stdc++.h>
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:8:7: error: lvalue required as left operand of assignment
    8 |   if(c%2=0){
      |      ~^~
Language: C++

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:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:7: error: lvalue required as left operand of assignment
    7 |   if(c%2=0){
      |      ~^~
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout<<"Even"<<endl;}else{
      |   ^~~~
a.cc:8:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:17: error: 'endl' was not declared in this scope
    8 |   cout<<"Even"<<endl;}else{
      |                 ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout<<"Odd"<<endl;}
      |   ^~~~
a.cc:9:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:16: error: 'endl' was not declared in this scope
    9 |   cout<<"Odd"<<endl;}
      |                ^~~~
a.cc:9:16: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
using namespace std;

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: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:15: note: to match this '{'
    4 | int main(void){
      |               ^
Language: C++

#include <iostream>
using namespace std;

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: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:15: note: to match this '{'
    4 | int main(void){
      |               ^
Language: C++

#include<iostream>
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:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   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:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     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:7:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     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(void){
  int a, b;
  scanf(%d,%d,&a,&b);
  if(a*b%2 == 0){
    printf("Even")
  }
  else{
    printf("Odd");
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected primary-expression before '%' token
    5 |   scanf(%d,%d,&a,&b);
      |         ^
a.cc:5:10: error: 'd' was not declared in this scope
    5 |   scanf(%d,%d,&a,&b);
      |          ^
a.cc:5:12: error: expected primary-expression before '%' token
    5 |   scanf(%d,%d,&a,&b);
      |            ^
a.cc:7:19: error: expected ';' before '}' token
    7 |     printf("Even")
      |                   ^
      |                   ;
    8 |   }
      |   ~
Language: C++

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

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  int a,b;
  cin >> a >> a;
  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:8:13: error: 'Even' was not declared in this scope
    8 |     cout << Even << endl;
      |             ^~~~
a.cc:11:13: error: 'Odd' was not declared in this scope
   11 |     cout << Odd << endl;
      |             ^~~
Language: C++

a=int(input())
b=int(input())
if a*b%2==1:
  print('Odd')
elif a*b%2=0:
  print('Even')

Compiler output:
a.cc:4:9: warning: multi-character character constant [-Wmultichar]
    4 |   print('Odd')
      |         ^~~~~
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   print('Even')
      |         ^~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a=int(input())
      | ^
Language: C

#include <stdio.h>

int main(){
    int a, b;
    scanf("%d%d", &a,&b);
    if(a*b%2==S1) printf("0dd");
    else printf("Even");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: 'S1' undeclared (first use in this function)
    6 |     if(a*b%2==S1) printf("0dd");
      |               ^~
main.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>

int main(){
    int a, b;
    scanf("%d%d", &a,&b);
    if(a%2=1) printf("0dd");
    else printf("Even");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: lvalue required as left operand of assignment
    6 |     if(a%2=1) printf("0dd");
      |           ^
Language: Java

public 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 % 2 == 0) {
      System.out.println("Even");
    } else {
      System.out.println("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


import java.util.Scanner;


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


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


import java.util.Scanner;

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

    



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

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

int main(){

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'b' was not declared in this scope
    7 |   cin >> a >> b;
      |               ^
a.cc:8:3: error: 'c' was not declared in this scope
    8 |   c = a % 2;
      |   ^
Language: Java

import java.util.Scanner;

public class EvenA {
    public static void main(String[] args) {
        Scanner scanner=new Scanner(System.in);
        long a,b,num;
        a=scanner.nextLong();
        b=scanner.nextLong();
        num=a*b;
        if(num%2==0){
            System.out.println("Even" );
        }
        else{
            System.out.println("Odd" );
        }
    }
}

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

import java.util.Scanner;

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


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

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a,b;
    cin >> a,b;
    // スペース区切りの整数の入力
    int c = a * b;
    string s;
    if((c % 2) == 0){
      s = Even;
    }else{
      s = Odd;
    }
    // 出力
    cout << s << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: 'Even' was not declared in this scope
   12 |       s = Even;
      |           ^~~~
a.cc:14:11: error: 'Odd' was not declared in this scope
   14 |       s = Odd;
      |           ^~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a,b;
    cin >> a,b;
    // スペース区切りの整数の入力
    int c = a * b
    string s;
    if((c % 2) == 0){
      s = Even;
    }else{
      s = Odd;
    }
    // 出力
    cout << s << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected ',' or ';' before 'string'
   10 |     string s;
      |     ^~~~~~
a.cc:12:7: error: 's' was not declared in this scope
   12 |       s = Even;
      |       ^
a.cc:12:11: error: 'Even' was not declared in this scope
   12 |       s = Even;
      |           ^~~~
a.cc:14:7: error: 's' was not declared in this scope
   14 |       s = Odd;
      |       ^
a.cc:14:11: error: 'Odd' was not declared in this scope
   14 |       s = Odd;
      |           ^~~
a.cc:17:13: error: 's' was not declared in this scope
   17 |     cout << s << endl;
      |             ^
Language: C

#include<stdio.h>
#include<stdlib.h>
#include<time.h>
#include<math.h>


int main(){
  	int a,b;
  
  scanf("%d %d",&a,&b);
  
  if((a*b)%2){
  	printf("Odd");
  }else{
  	printf("Even");
  }
  retunn(0);
}

Compiler output:
main.c: In function 'main':
main.c:17:3: error: implicit declaration of function 'retunn' [-Wimplicit-function-declaration]
   17 |   retunn(0);
      |   ^~~~~~
Language: Java

import java.util.*;

public class sample{
	public static void 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) {
        	System.out.println("Even");
      	} else {
        	System.out.println("Odd");
        }
    }
}

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