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

import java.*;
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.printIn("Even");
    else
    System.out.printIn("odd");
}
}
  

Compiler output:
Main.java:3: error: ';' expected
  public static void main(String[] args)
                                        ^
Main.java:7: error: illegal start of type
  if((a * b) % 2 == 0 )
  ^
Main.java:7: error: <identifier> expected
  if((a * b) % 2 == 0 )
       ^
Main.java:7: error: <identifier> expected
  if((a * b) % 2 == 0 )
           ^
Main.java:8: error: <identifier> expected
    System.out.printIn("Even");
                      ^
Main.java:8: error: illegal start of type
    System.out.printIn("Even");
                       ^
Main.java:9: error: illegal start of type
    else
    ^
Main.java:10: error: <identifier> expected
    System.out.printIn("odd");
                      ^
Main.java:10: error: illegal start of type
    System.out.printIn("odd");
                       ^
Main.java:12: error: class, interface, enum, or record expected
}
^
10 errors
Language: Java

import java.*;
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.printIn("Even");
    eles
    System.out.printIn("odd");
}
}
  
  

Compiler output:
Main.java:3: error: ';' expected
  public static void main(String[] args)
                                        ^
Main.java:8: error: illegal start of type
  if((a * b) % 2 == 0 )
  ^
Main.java:8: error: <identifier> expected
  if((a * b) % 2 == 0 )
       ^
Main.java:8: error: <identifier> expected
  if((a * b) % 2 == 0 )
           ^
Main.java:9: error: <identifier> expected
    System.out.printIn("Even");
                      ^
Main.java:9: error: illegal start of type
    System.out.printIn("Even");
                       ^
Main.java:11: error: ';' expected
    System.out.printIn("odd");
          ^
Main.java:11: error: <identifier> expected
    System.out.printIn("odd");
                      ^
Main.java:11: error: illegal start of type
    System.out.printIn("odd");
                       ^
Main.java:13: error: class, interface, enum, or record expected
}
^
10 errors
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:12: error: expected unqualified-id before ';' token
    5 |   int a, b,;
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: lvalue required as left operand of assignment
    7 |   a * b = i;
      |   ~~^~~
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
    int a,b;
    cin >> a >> b;
    
    if (a % 2 OR b % 2) {
        cout << 'Odd' << endl;
    }
    
    else
    {
        cout << 'Even' << endl;
    }
    
}



Compiler output:
a.cc:11:17: warning: multi-character character constant [-Wmultichar]
   11 |         cout << 'Odd' << endl;
      |                 ^~~~~
a.cc:16:17: warning: multi-character character constant [-Wmultichar]
   16 |         cout << 'Even' << endl;
      |                 ^~~~~~
a.cc: In function 'int main()':
a.cc:10:14: error: expected ')' before 'OR'
   10 |     if (a % 2 OR b % 2) {
      |        ~     ^~~
      |              )
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main()
{
    int a,b;
    cin >> a >> b;
    
    if (a %% 2 OR b %% 2) {
        cout << 'Odd' << endl;
    }
    
    else
    {
        cout << 'Even' << endl;
    }
    
}



Compiler output:
a.cc:11:17: warning: multi-character character constant [-Wmultichar]
   11 |         cout << 'Odd' << endl;
      |                 ^~~~~
a.cc:16:17: warning: multi-character character constant [-Wmultichar]
   16 |         cout << 'Even' << endl;
      |                 ^~~~~~
a.cc: In function 'int main()':
a.cc:10:12: error: expected primary-expression before '%' token
   10 |     if (a %% 2 OR b %% 2) {
      |            ^
a.cc:10:15: error: expected ')' before 'OR'
   10 |     if (a %% 2 OR b %% 2) {
      |        ~      ^~~
      |               )
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected ';' before 'if'
    6 |   cin >> a >> b ;b
      |                   ^
      |                   ;
    7 |   if ( a*b %2 == 1) {
      |   ~~               
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   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;
    }

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

class Main {

  public static void main(String[] args) throws Exception {
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    StringTokenizer st = new StringTokenizer(str);

    int a = Integer.parseInt(st.nextToken());
    int b = Integer.parseInt(st.nextToken());

    System.out.println(Hoge.isProductPositive(a, b));
  }
}

class Hoge {

  static String isProductPositive(int a, int b) {
    return a * b % 2 == 0 ? "Even" : "Odd";
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                            ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                               ^
  symbol:   class InputStreamReader
  location: class Main
Main.java:6: error: cannot find symbol
    StringTokenizer st = new StringTokenizer(str);
    ^
  symbol:   class StringTokenizer
  location: class Main
Main.java:6: error: cannot find symbol
    StringTokenizer st = new StringTokenizer(str);
                             ^
  symbol:   class StringTokenizer
  location: class Main
5 errors
Language: Java

import (
    "fmt"
)

func main() {
    var a, b int
    fmt.Scan(&a, &b)
    if product := a * b; product%2 == 0 {
        fmt.Println("Even")
    } else {
        fmt.Println("Odd")
    }
}

Compiler output:
Main.java:1: error: <identifier> expected
import (
      ^
Main.java:8: error: class, interface, enum, or record expected
    if product := a * b; product%2 == 0 {
                         ^
2 errors
Language: C++

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

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


Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:9: error: lvalue required as left operand of assignment
    7 |   if (a * b = 1 || a * b % 2) {
      |       ~~^~~
Language: C++

#include <iostream>
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 <iostream>
#include <string>
using namespace std;

string judge(int a, int b){
	int mod = a * b % 2;
  	if (mod == 1) {
	  	return "Even";
    }
  	else {
		return "Odd";
    }
}

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




Compiler output:
a.cc: In function 'int main()':
a.cc:18:28: error: 's' was not declared in this scope
   18 |     cout << judge(a, b) << s << endl;
      |                            ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  int a,b;
  cin >> a >> b;
  if (a*b % == 1){
    cout << "Odd";
  }else{
    cout << "Even";
  }
}

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

#include<iostream>
using namespace std;

int main(){
  int a,b;
  cin >> a >> b;
  if (a*b % == 1){
    cout << "ODD";
  }else{
    cout << "EVEN";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: 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 == 0) {
    cout << "Even" << endl;
  } else {
    cout << "Odd" << endl;
}


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

  1 #include<iostream>                                                                                           2 using namespace std;
  3
  4 int main(){
  5   int a, b;
  6   cin >> a >> b;
  7   auto c = a * b;
  8   if(c % 2 == 0) cout << "Even";
  9   else cout << "Odd";
 10   return 0;
 11 }

Compiler output:
a.cc:1:5: error: stray '#' in program
    1 |   1 #include<iostream>                                                                                           2 using namespace std;
      |     ^
a.cc:1:3: error: expected unqualified-id before numeric constant
    1 |   1 #include<iostream>                                                                                           2 using namespace std;
      |   ^
a.cc:2:3: error: expected unqualified-id before numeric constant
    2 |   3
      |   ^
Language: C++

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

Compiler output:
a.cc:1:110: warning: extra tokens at end of #include directive
    1 | #include<iostream>                                                                                           2 using namespace std;
      |                                                                                                              ^
a.cc: In function 'int main()':
a.cc:4:6: 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:6:21: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |      if(c % 2 == 0) 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:7:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |      else 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 <bits/stdc++.h>
using namespace std;

int main() {
 int a,b;
  cin >>a >>b;
  if( (a*b)%2=0){
    cout << "Even" <<;
  }
  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){
      |       ~~~~~^~
a.cc:8:22: error: expected primary-expression before ';' token
    8 |     cout << "Even" <<;
      |                      ^
Language: Java

import java.io.IOException;
import java.io.InputStream;
import java.util.NoSuchElementException;

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

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

import java.util.*;
import java.io.*; 

class FastScanner {
	private final InputStream in = System.in;
    private final byte[] buffer = new byte[1024];
    private int ptr = 0;
    private int buflen = 0;
    private boolean hasNextByte() {
        if (ptr < buflen) {
            return true;
        }else{
            ptr = 0;
            try {
                buflen = in.read(buffer);
            } catch (IOException e) {
                e.printStackTrace();
            }
            if (buflen <= 0) {
                return false;
            }
        }
        return true;
    }
    private int readByte() { if (hasNextByte()) return buffer[ptr++]; else return -1;}
    private static boolean isPrintableChar(int c) { return 33 <= c && c <= 126;}
    public boolean hasNext() { while(hasNextByte() && !isPrintableChar(buffer[ptr])) ptr++; return hasNextByte();}
    public String next() {
        if (!hasNext()) throw new NoSuchElementException();
        StringBuilder sb = new StringBuilder();
        int b = readByte();
        while(isPrintableChar(b)) {
            sb.appendCodePoint(b);
            b = readByte();
        }
        return sb.toString();
    }
    public long nextLong() {
        if (!hasNext()) throw new NoSuchElementException();
        long n = 0;
        boolean minus = false;
        int b = readByte();
        if (b == '-') {
            minus = true;
            b = readByte();
        }
        if (b < '0' || '9' < b) {
            throw new NumberFormatException();
        }
        while(true){
            if ('0' <= b && b <= '9') {
                n *= 10;
                n += b - '0';
            }else if(b == -1 || !isPrintableChar(b)){
                return minus ? -n : n;
            }else{
                throw new NumberFormatException();
            }
            b = readByte();
        }
    }
    public int nextInt() {
        long nl = nextLong();
        if (nl < Integer.MIN_VALUE || nl > Integer.MAX_VALUE) throw new NumberFormatException();
        return (int) nl;
    }
    public double nextDouble() { return Double.parseDouble(next());}
}

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

Compiler output:
Main.java:80: error: illegal start of expression
          if(n%%2==0){
               ^
1 error
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:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:8:17: note: to match this '{'
    8 |   if (a*b%2==1) {
      |                 ^
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:10:5: error: expected unqualified-id before 'else'
   10 |   } else {
      |     ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

import java.util.*;

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

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

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
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<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: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:11: error: 'a' was not declared in this scope
    7 |   int c = a * b;
      |           ^
a.cc:7:15: error: 'b' was not declared in this scope
    7 |   int c = a * b;
      |               ^
a.cc:8:3: error: expected unqualified-id before 'if'
    8 |   if(c % 2 == 0){
      |   ^~
a.cc:10:4: error: expected unqualified-id before 'else'
   10 |   }else{
      |    ^~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

#include<iostream>
#include<string>

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:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:25: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         if (c % 2 == 0) 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:43: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         if (c % 2 == 0) 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:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         else 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:31: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         else 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 <iostream>
using namespace std;                                                                                    
int main(){
  int a, b;
  std::cin >> a >> b;

  if(a*b%2) std::cout << "Odd" << std::endl;
  else std::cout << "Even" << std::endl;
}
~

Compiler output:
a.cc:10:2: error: expected class-name at end of input
   10 | ~
      |  ^
Language: C++

#include<iostream>                                                                                      using namespace std;

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

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

Compiler output:
a.cc:1:105: warning: extra tokens at end of #include directive
    1 | #include<iostream>                                                                                      using namespace std;
      |                                                                                                         ^~~~~
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:13: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if(a*b%2) 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:7:30: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   if(a*b%2) cout << "Odd" << 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:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else 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:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   else cout << "Even" << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

	
	int c;
	c = (a*b) % 2;

	if (c == 1) {
		cout << "Odd" << endl;

	}
	else {

		cout << "Even" << 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:10:17: error: 'cout' was not declared in this scope
   10 |                 cout << "Odd" << endl;
      |                 ^~~~
a.cc:10:34: error: 'endl' was not declared in this scope
   10 |                 cout << "Odd" << endl;
      |                                  ^~~~
a.cc:15:17: error: 'cout' was not declared in this scope
   15 |                 cout << "Even" << endl;
      |                 ^~~~
a.cc:15:35: error: 'endl' was not declared in this scope
   15 |                 cout << "Even" << endl;
      |                                   ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a;
  int b;
  
  if(a*b%2==0);
  cout << "EVEN";
  else if
  cout << "ODD";}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else if
      |   ^~~~
a.cc:11:3: error: expected '(' before 'cout'
   11 |   cout << "ODD";}
      |   ^~~~
      |   (
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a;
  int b;
  
  if(a*b%2==0);
  cout << "EVEN";
  if else
    cout << "ODD";

Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: expected '(' before 'else'
   10 |   if else
      |      ^~~~
      |      (
a.cc:11:19: error: expected '}' at end of input
   11 |     cout << "ODD";
      |                   ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a;
  int b;
  
  if(a*b%2=0);
  cout << "EVEN";
  else if
    cout << "ODD";}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: lvalue required as left operand of assignment
    8 |   if(a*b%2=0);
      |      ~~~^~
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else if
      |   ^~~~
a.cc:11:5: error: expected '(' before 'cout'
   11 |     cout << "ODD";}
      |     ^~~~
      |     (
Language: C++

#include<iostream>
using namespace std;

int main(){
  if(a*b%2=0);
  cout << "EVEN";
  ifelse
    cout << "ODD";}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: 'a' was not declared in this scope
    5 |   if(a*b%2=0);
      |      ^
a.cc:5:8: error: 'b' was not declared in this scope
    5 |   if(a*b%2=0);
      |        ^
a.cc:7:3: error: 'ifelse' was not declared in this scope
    7 |   ifelse
      |   ^~~~~~
Language: C++

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

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


}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:26: error: 'c' was not declared in this scope
    6 |         cin >> a >> b >> c;
      |                          ^
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:17: error: lvalue required as left operand of assignment
    7 |     if ((a * b) % 2 = 0) {
      |         ~~~~~~~~^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int a, b;
int main() {
	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:6:17: error: lvalue required as left operand of assignment
    6 |     if ((a * b) % 2 = 0) {
      |         ~~~~~~~~^~~
Language: C++

#include <iostream>
using namespace std;
int a, b;
int main() {
	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:6:17: error: lvalue required as left operand of assignment
    6 |     if ((a * b) % 2 = 0) {
      |         ~~~~~~~~^~~
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)%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.*;

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:9: error: cannot find symbol
			System.out.printLn("Even");
			          ^
  symbol:   method printLn(String)
  location: variable out of type PrintStream
Main.java:11: error: cannot find symbol
			System.out.printLn("Odd");
			          ^
  symbol:   method printLn(String)
  location: variable out of type PrintStream
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();
		if((a*b)%2 == 0){
			System.out.printLn("Even");
		else
			System.out.printLn("Odd");
		}
	} 
}

Compiler output:
Main.java:10: error: 'else' without 'if'
		else
		^
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){
    puts('Even');}
  else{
    puts('Odd');}
}

Compiler output:
a.cc:9:10: warning: multi-character character constant [-Wmultichar]
    9 |     puts('Even');}
      |          ^~~~~~
a.cc:11:10: warning: multi-character character constant [-Wmultichar]
   11 |     puts('Odd');}
      |          ^~~~~
a.cc: In function 'int main()':
a.cc:9:10: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    9 |     puts('Even');}
      |          ^~~~~~
      |          |
      |          int
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
a.cc:11:10: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   11 |     puts('Odd');}
      |          ^~~~~
      |          |
      |          int
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
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:8:13: warning: multi-character character constant [-Wmultichar]
    8 |     cout << 'Even' <<endl;}
      |             ^~~~~~
a.cc:10:13: warning: multi-character character constant [-Wmultichar]
   10 |     cout << 'Odd' << endl;}
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'If' was not declared in this scope
    7 |   If((a * b)%2==0){
      |   ^~
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else{
      |   ^~~~
Language: C++

#include<stdio.h>
int main()
{
	int a, b, prod;
	char judge[10] = "Odd";
	scanf("%d %d",&a,&b);
	prod=a*b;
	if (prod % 2 ==0) judge = "Even";
	else ;
	printf("%s\n",judge);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:33: error: incompatible types in assignment of 'const char [5]' to 'char [10]'
    8 |         if (prod % 2 ==0) judge = "Even";
      |                           ~~~~~~^~~~~~~~
Language: C++

#include<stdio.h>
int main()
{
	int a, b, prod;
	char judge[10];
	scanf("%d %d",&a,&b);
	prod=a*b;
	judge='Odd';
	if (prod % 2 ==0) judge='Even';
	else ;
	printf("%s\n",judge);
	return 0;
}

Compiler output:
a.cc:8:15: warning: multi-character character constant [-Wmultichar]
    8 |         judge='Odd';
      |               ^~~~~
a.cc:9:33: warning: multi-character character constant [-Wmultichar]
    9 |         if (prod % 2 ==0) judge='Even';
      |                                 ^~~~~~
a.cc: In function 'int main()':
a.cc:8:14: error: incompatible types in assignment of 'int' to 'char [10]'
    8 |         judge='Odd';
      |         ~~~~~^~~~~~
a.cc:9:32: error: incompatible types in assignment of 'int' to 'char [10]'
    9 |         if (prod % 2 ==0) judge='Even';
      |                           ~~~~~^~~~~~~
Language: C++

#include<stdio.h>
int main()
{
	int a, b, prod;
	char judge[10];
	scanf("%d %d",&a,&b);
	prod=a*b;
  judge:="Odd";
	if (prod % 2 ==0) judge="Even";
	else ;
	printf("%s\n",judge);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: expected primary-expression before '=' token
    8 |   judge:="Odd";
      |         ^
a.cc:9:32: error: incompatible types in assignment of 'const char [5]' to 'char [10]'
    9 |         if (prod % 2 ==0) judge="Even";
      |                           ~~~~~^~~~~~~
Language: C++

#include<stdio.h>
int main()
{
	int a, b, prod;
	char judge[10];
	judge="Odd";
	scanf("%d %d",&a,&b);
	prod=a*b;
	if (prod % 2 ==0) judge="Even";
	else ;
	printf("%s\n",judge);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: incompatible types in assignment of 'const char [4]' to 'char [10]'
    6 |         judge="Odd";
      |         ~~~~~^~~~~~
a.cc:9:32: error: incompatible types in assignment of 'const char [5]' to 'char [10]'
    9 |         if (prod % 2 ==0) judge="Even";
      |                           ~~~~~^~~~~~~
Language: C++

#include<stdio.h>
int main()
{
	int a, b, prod;
	char judge[10];
	judge="Odd";
	scanf("%d %d",&a,&b);
	prod=a*b;
	if (prod % 2 ==0) judge="Even";
	else ;
	printf("%s\n",judge);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: incompatible types in assignment of 'const char [4]' to 'char [10]'
    6 |         judge="Odd";
      |         ~~~~~^~~~~~
a.cc:9:32: error: incompatible types in assignment of 'const char [5]' to 'char [10]'
    9 |         if (prod % 2 ==0) judge="Even";
      |                           ~~~~~^~~~~~~
Language: Java

import java.util.Scanner;

class Main {
    public static void main(String[] args) {
        String[] line = new Scanner(System.in).split(" ", 2);
        int a = Integer.parseInt(line[0]);
        int b = Integer.parseInt(line[1]);

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


Compiler output:
Main.java:5: error: cannot find symbol
        String[] line = new Scanner(System.in).split(" ", 2);
                                              ^
  symbol:   method split(String,int)
  location: class Scanner
1 error
Language: C++

#include <bits/stdc++>

using namespace std;

int main()
{

	int a, b;

	cin >> a >> b;

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

}


Compiler output:
a.cc:1:10: fatal error: bits/stdc++: No such file or directory
    1 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
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 if (a * b % 2 == 1){
  	cout << "odd" << 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 * b % 2 == 0){
      |   ^~
a.cc:10:3: error: expected unqualified-id before 'else'
   10 |   else if (a * b % 2 == 1){
      |   ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
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 if (a * b % 2 == 1){
  	cout << "odd" << 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 * b % 2 == 0){
      |   ^~
a.cc:10:3: error: expected unqualified-id before 'else'
   10 |   else if (a * b % 2 == 1){
      |   ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:10: error: 'a' was not declared in this scope
    5 |   cin >> a >> b;
      |          ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |   cin >> a >> b;
      |               ^
a.cc:5:16: error: expected '}' before ';' token
    5 |   cin >> a >> b;
      |                ^
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:6:3: error: expected unqualified-id before 'if'
    6 |   if (a * b % 2 == 0){
      |   ^~
a.cc:9:3: error: expected unqualified-id before 'else'
    9 |   else if (a * b % 2 == 1){
      |   ^~~~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C++

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

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

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

import	java.util.*;

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


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

import	java.util.*;

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


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

import	java.util.*;

public	class	Product{
	public	static	void	main(String[]	args){
		Scanner	sc	=new	Scanner(System.in);
		
		int	a	=sc.nextInt();
		int	b	=sc.nextInt();
		
		if((a*b)%2!=1){
			System.out.println("EVEN");
		}else{
			System.out.println("ODD");
			
		}
	}
}


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

    #include <bits/stdc++.h>
    using namespace std;
     
    int main() {
      int a, b,c;
      double d;
      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:9:26: error: 'Even' was not declared in this scope
    9 |       if(c%2==0){cout << Even << endl;}
      |                          ^~~~
a.cc:10:20: error: 'Odd' was not declared in this scope
   10 |       else{cout << Odd << endl;}
      |                    ^~~
Language: C++

    #include <bits/stdc++.h>
    using namespace std;
     
    int main() {
      int a, b,c;
      double d;
      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:8:13: error: expected ';' before 'if'
    8 |       c= a*b
      |             ^
      |             ;
    9 |       if(c%2==0){cout << Even << endl;}
      |       ~~     
a.cc:10:7: error: 'else' without a previous 'if'
   10 |       else{cout << Odd << endl;}
      |       ^~~~
a.cc:10:20: error: 'Odd' was not declared in this scope
   10 |       else{cout << Odd << endl;}
      |                    ^~~
Language: C++

#include <iostream>
#include <cstdio>

using namespace std;

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


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

#include <iostream>
#include <cstdio>

using namespace std;

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

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

#include <iostream>

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


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

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

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

public class Main{
  private static void main(String[] args) {
    int a = new java.util.Scanner(System.in).nextInt();
    int b = new java.util.Scanner(System.in).nextInt();
    if (a*b%2 == 0){
      java.lang.System.ont.println("偶数");
    }else{
      java.lang.System.ont.println("奇数");
    }
  }
}


Compiler output:
Main.java:6: error: cannot find symbol
      java.lang.System.ont.println("??");
                      ^
  symbol:   variable ont
  location: class System
Main.java:8: error: cannot find symbol
      java.lang.System.ont.println("??");
                      ^
  symbol:   variable ont
  location: class System
2 errors
Language: Java

public class Main{
  private static void main(String[] args) {
    int a = new java.util.Scanner(System.in).nextInt();
    int b = new java.util.Scanner(System.in).nextInt();
    if (a*b%2 == 0){
      System.ont.println("偶数");
    }else{
      System.ont.println("奇数");
    }
  }
}


Compiler output:
Main.java:6: error: cannot find symbol
      System.ont.println("??");
            ^
  symbol:   variable ont
  location: class System
Main.java:8: error: cannot find symbol
      System.ont.println("??");
            ^
  symbol:   variable ont
  location: class System
2 errors
Language: Java

public class Main{
  private static void main(String[] args) {
    int a = new Java.util.Scanner(System.in).nextInt();
    int b = new Java.util.Scanner(System.in).nextInt();
    if (a*b%2 == 0){
      System.ont.println("偶数");
    }else{
      System.ont.println("奇数");
    }
  }
}

Compiler output:
Main.java:3: error: package Java.util does not exist
    int a = new Java.util.Scanner(System.in).nextInt();
                         ^
Main.java:4: error: package Java.util does not exist
    int b = new Java.util.Scanner(System.in).nextInt();
                         ^
Main.java:6: error: cannot find symbol
      System.ont.println("??");
            ^
  symbol:   variable ont
  location: class System
Main.java:8: error: cannot find symbol
      System.ont.println("??");
            ^
  symbol:   variable ont
  location: class System
4 errors
Language: Java

public class Main{
  private static void main(String[] args) {
    int a = new Scanner(System.in).nextInt();
    int b = new Scanner(System.in).nextInt();
    if (a*b%2 == 0){
      System.ont.println("偶数");
    }else{
      System.ont.println("奇数");
    }
  }
}

Compiler output:
Main.java:3: error: cannot find symbol
    int a = new Scanner(System.in).nextInt();
                ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    int b = new Scanner(System.in).nextInt();
                ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
      System.ont.println("??");
            ^
  symbol:   variable ont
  location: class System
Main.java:8: error: cannot find symbol
      System.ont.println("??");
            ^
  symbol:   variable ont
  location: class System
4 errors
Language: Java

public class Main{
  private static void main(String[] args) {
    int a = new Scanner(System.in).nextInt();
    int b = new Scanner(System.in).nextInt();
    if (a*b%2 == 0){
      System.ont.println("偶数")；
    }else{
      System.ont.println("奇数")
    }
  }
}

Compiler output:
Main.java:6: error: illegal character: '\uff1b'
      System.ont.println("??")?
                              ^
Main.java:8: error: ';' expected
      System.ont.println("??")
                              ^
2 errors
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;
  }
  eles if (a % 2 == 0 && b % 2 >= 0){
    cout << "Even" << endl;
  }
  else if (a % 2 >= 0 && b % 2 == 0){
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'eles' was not declared in this scope
   11 |   eles if (a % 2 == 0 && b % 2 >= 0){
      |   ^~~~
a.cc:14:3: error: 'else' without a previous 'if'
   14 |   else if (a % 2 >= 0 && b % 2 == 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;
  }
  eles if (a % 2 == 0 && b % 2 >= 0){
    cout << "Even" << endl;
  }
  else if (a % 2 >= 0 && b % 2 == 0){
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'eles' was not declared in this scope
   11 |   eles if (a % 2 == 0 && b % 2 >= 0){
      |   ^~~~
a.cc:14:3: error: 'else' without a previous 'if'
   14 |   else if (a % 2 >= 0 && b % 2 == 0){
      |   ^~~~
a.cc:19:4: error: expected '}' at end of input
   19 |   }
      |    ^
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:5:8: error: expected initializer before '.' token
    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++

public class Main {

	public static void main(String[] args) {

		java.util.Scanner sc = new java.util.Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();
		int prd = a * b;
		String ans = "";
		if (prd % 2 == 0){
			ans = "Even";
		} else {
			ans = "Odd";
		}
		System.out.println(ans);

	}

}


Compiler output:
a.cc:1:1: error: expected unqualified-id before 'public'
    1 | public class Main {
      | ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: lvalue required as left operand of assignment
    6 |   if(a%2=1&&b%2=1){cout<<"odd";}
      |          ~^~~~~