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

#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <iostream>
#include <iterator>
#include <algorithm>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> pint;
#define rep(i, n) REP(i, 0, n)
#define all(v) v.begin(), v.end()
#define REP(i, x, n) for(int i = x; i < n; i++)
#define INF 2e9
signed main(){
    cin.tie(0);
    ios::sync_with_stdio
    string s;
    int a,b;
    cout<<((a*b)%2==0 ? "Even" : "Odd")<<'\n';
    return(0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:25: error: expected ';' before 'string'
   35 |     ios::sync_with_stdio
      |                         ^
      |                         ;
   36 |     string s;
      |     ~~~~~~
Language: C

#include<stdio.h>

int main(void)
{
  int a,b;
  scanf("%d%d",&a,&b);
  
  if( a*b% == 1){
    printf("Odd");
    return 0;
  }
  if(a*b == 0){
    printf("Even"){
      return 0;
    }
  }

Compiler output:
main.c: In function 'main':
main.c:8:12: error: expected expression before '==' token
    8 |   if( a*b% == 1){
      |            ^~
main.c:13:19: error: expected ';' before '{' token
   13 |     printf("Even"){
      |                   ^
      |                   ;
main.c:16:3: error: expected declaration or statement at end of input
   16 |   }
      |   ^
Language: Java

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

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 Atcoder1 {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());
        if ((a * b) % 2 == 1) {
            System.out.println("Odd");
        } else {
            System.out.println("Even");
        }
    }
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:44: error: expected ';' before '}' token
    8 |   cout << ( (a*b)%2 == 0 ? "Even" : "Odd" )
      |                                            ^
      |                                            ;
    9 | }
      | ~
Language: C

#include <stdio.h>

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

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

	times = (a * b) % 2;
	if (times == 0)
	{
		printf("Even\n");
	}
	else 
	{
		printf("Odd\n");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |         scanf_s("%d",&a);
      |         ^~~~~~~
      |         scanf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: expected '(' before 'else'
   13 |   if else (c%2 != 0) {
      |      ^~~~
      |      (
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: expected '(' before 'else'
   13 |   if else(c%2 != 0) {
      |      ^~~~
      |      (
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: expected '(' before 'else'
   13 |   if else(c%2 != 0) {
      |      ^~~~
      |      (
Language: C++

a, b = [int (i) for i in input().split()]
if (a * b) % 2 == 0:
    print('Even')
else:
    print('Odd')

Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Even')
      |           ^~~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('Odd')
      |           ^~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = [int (i) for i in input().split()]
      | ^
Language: C++

a, b = map(int, input().split())
if (a * b) % 2 == 0:
    print('Even')
else:
    print('Odd') 




Compiler output:
a.cc:3:11: warning: multi-character character constant [-Wmultichar]
    3 |     print('Even')
      |           ^~~~~~
a.cc:5:11: warning: multi-character character constant [-Wmultichar]
    5 |     print('Odd')
      |           ^~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
Language: C++

int main() {

    // 宣言文
    int a, b;
    cin >> a >> b;

    int test = (a*b)%2;

    if( test == 0 ) {
        cout << "Even" << endl;
    }else{
        cout << "Odd" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "Even" << endl;
      |         ^~~~
a.cc:10:27: error: 'endl' was not declared in this scope
   10 |         cout << "Even" << endl;
      |                           ^~~~
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "Odd" << endl;
      |         ^~~~
a.cc:12:26: error: 'endl' was not declared in this scope
   12 |         cout << "Odd" << endl;
      |                          ^~~~
Language: C++

#include <bits/stdc++.h>
#define ll long long
#define rep(X,N) for(int X = 0; X < (N); X++)
#define PI (acos(-1.0))
#define pback push_back
#define mpair make_pair
#define MODN 1000000007
#define ALL(V) (V).begin(),(V).end() 
#define CERR if(false) cerr

using namespace std;

int main(){

    int a,b;
    cin >> a >> b;

    cout << ((a * b) % 2 == 0 ? "Even" : "Odd" << endl;
    return 0; 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:18:48: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
   18 |     cout << ((a * b) % 2 == 0 ? "Even" : "Odd" << endl;
      |                                          ~~~~~~^~~~~~~
a.cc:18:55: error: expected ')' before ';' token
   18 |     cout << ((a * b) % 2 == 0 ? "Even" : "Odd" << endl;
      |             ~                                         ^
      |                                                       )
Language: C++

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

class Solution {
public:
    int main(){
        int a,b ; cin >> a >> b;
        if(a*b & 1) cout << "Odd" << endl;
        else cout << "Even" << endl;

        return 0;
    }
};



Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
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:19: error: lvalue required as left operand of assignment
    8 |         if (a * b % 2 = 0) {
      |             ~~~~~~^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
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;
  cout << ((A*B)%2 == 0) ? "Even" : "Odd" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:43: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |   cout << ((A*B)%2 == 0) ? "Even" : "Odd" << endl;
      |                                     ~~~~~~^~~~~~~
Language: Java


import java.util.Scanner;

public class abc086A {

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

package atcoder;

import java.util.Scanner;

public class abc086A {

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

#include <iostream>
using namespace std;

int main() {
    int N;
    int t[110000], x[110000], y[110000];
    cin >> N;
    t[0] = x[0] = y[0] = 0;  // 初期状態
    for (int i = 0; i < N; ++i) cin >> t[i+1] >> x[i+1] >> y[i+1];  // 1-index にしておく

    bool can = true;
    for (int i = 0; i < N; ++i) {
        int dt = t[i+1] - t[i];
        int dist = abs(x[i+1] - x[i]) + abs(y[i+1] - y[i]);
        if (dt < dist) can = false;
        if (dist % 2 != dt % 2) can = false;  // dist と dt の偶奇は一致する必要あり！
    }

    if (can) cout << "Yes" << endl;
    else cout << "No" << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:20:31: error: expected '}' at end of input
   20 |     else cout << "No" << endl;
      |                               ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

package main;

import java.util.Scanner;

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

}


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

import java.io.*;

public class main {
    public static void main(String[] args) throws IOException {

        BufferedReader br = new BufferedReader ( 
            new InputStreamReader( System.in));

        int a = Integer.parseInt( br.readLine());
        int b = Integer.parseInt( br.readLine());

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

#include<iostream>
using namespace std;
bool prime(int x)
{
    int y=sqrt(x);
    return y*y==x;
}
int main()
{
    int a,b;
    while(cin>>a>>b){
        if(a<b) swap(a,b);
        int flag=0;
        if(a<10&&b<10){
            if(prime(a+10*b)||prime(a*10+b)) flag=1;
        }
        else if(a>=10&&a<100&&b<10){
            if(prime(a+100*b)||prime(a*10+b)) flag=1;
        }
        else if(a>=10&&a<100&&b>=10&&b<100){
            if(prime(a+100*b)||prime(a+100*b)) flag=1;
        }
        else if(a==100&&b>=10&&b<100){
            if(prime(a+1000*b)||prime(a*100+b)) flag=1;
        }
        if(flag) cout<<"Yes"<<endl;
        else cout<<"No"<<endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'bool prime(int)':
a.cc:5:11: error: 'sqrt' was not declared in this scope
    5 |     int y=sqrt(x);
      |           ^~~~
Language: Java

package app;

import java.util.*;

public class App {
    public static void main(String[] args) throws Exception {
        java.util.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:5: error: class App is public, should be declared in a file named App.java
public class App {
       ^
1 error
Language: Java

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

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

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

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

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

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: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 <iostream>
using namespace std;

int a,b;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected ';' before '}' token
    9 |   return 0
      |           ^
      |           ;
   10 | }
      | ~
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:8: error: ')' expected
    if ((a * b % 2 == 0){
                        ^
1 error
Language: C++

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

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

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

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

#include <stdio.h>

int main()
{
	unsigned int a, b;

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

	if (0 == (a*b) % 2) {
		printf("Odd\n");
	}else{
		printf("Even\n");
	}

	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |         scanf_s("%d %d", &a, &b);
      |         ^~~~~~~
      |         scanf
Language: C++

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

int main{

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:6:3: error: expected primary-expression before 'int'
    6 |   int a , b;
      |   ^~~
a.cc:6:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin >> a >> b;
      |   ^~~
a.cc:9:3: error: expected unqualified-id before 'if'
    9 |   if ( a*b / 2 == 0 ){
      |   ^~
a.cc:13:3: error: expected unqualified-id before 'else'
   13 |   else if () cout << "Even" << endl;
      |   ^~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

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

int main{

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:6:3: error: expected primary-expression before 'int'
    6 |   int N , A;
      |   ^~~
a.cc:6:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:7:3: error: 'cin' does not name a type
    7 |   cin >> a >> b;
      |   ^~~
a.cc:9:3: error: expected unqualified-id before 'if'
    9 |   if ( a*b / 2 == 0 ){
      |   ^~
a.cc:13:3: error: expected unqualified-id before 'else'
   13 |   else if () cout << "Even" << endl;
      |   ^~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
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();
		int c = a*b;
      	String result = "";
        if (c % 2 == 0) {
          result = "Even";
        } else {
		  result = "Odd";
        }
        System.out.println(result);
	}
}

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

public class Main {
	public static void main(int a, int b){
		int c = a*b;
      	String result = "";
        if (c % 2 == 0) {
          result = "Even";
        } else {
		  result = "Odd";
        }
        println(result);
	}
}

Compiler output:
Main.java:10: error: cannot find symbol
        println(result);
        ^
  symbol:   method println(String)
  location: class Main
1 error
Language: Java

public class Main {
	public static void main(int a, int b){
		int c = a*b;
      	String result = "";
        if (c % 2 == 0) {
          result = "Even";
        } else {
		  result = "Odd";
        }
        println(result)
	}
}

Compiler output:
Main.java:10: error: ';' expected
        println(result)
                       ^
1 error
Language: Java

public class Main {
	public static void main(int a, int b){
		int c = a*b;
      	String result = "";
        if (c/2 %2 ==0) {
          result = "Even";
        } else {
		  result = "Odd";
        }
        println(result)
	}
}

Compiler output:
Main.java:10: error: ';' expected
        println(result)
                       ^
1 error
Language: C++

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

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

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


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:10:11: warning: multi-character character constant [-Wmultichar]
   10 |   cout << 'Odd' << endl;
      |           ^~~~~
a.cc:5:1: error: 'cin' does not name a type
    5 | cin >> a >> b;
      | ^~~
a.cc:6:1: error: expected unqualified-id before 'if'
    6 | if (a * b % 2 == 0) {
      | ^~
a.cc:9:1: error: expected unqualified-id before 'else'
    9 | else {
      | ^~~~
Language: C++

#include <cstdio>
#include <iostream>
using namespace std;
    int main(){
      int a,b;
      scanf_s("%d%d", &a,&b);
      if(a%2 ==0 || b%2 == 0)
      printf("Even\n");
      else printf("Odds\n");
      return 0;
    }

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

    #include <cstdio>
    using namespace std;
    int main(){
      int a,b;
      scanf_s("%d%d", &a,&b);
      if(a%2 ==0 || b%2 == 0)
      printf("Even\n");
      else printf("Odds\n");
      }
      return 0;
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |       scanf_s("%d%d", &a,&b);
      |       ^~~~~~~
      |       scanf
a.cc: At global scope:
a.cc:10:7: error: expected unqualified-id before 'return'
   10 |       return 0;
      |       ^~~~~~
a.cc:11:5: error: expected declaration before '}' token
   11 |     }
      |     ^
Language: C++

    #include <cstdio>
    using namespace std;
    int main(){
      int a,b;
      scanf_s("%d%d", &a,&b) == 2);
      if(a%2 ==0 || b%2 == 0)
      printf("Even\n");
      else printf("Odds\n");
      return 0;
    }

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

#include <cstdio>
using namespace std;
int main(){
  int a,b;
  if(scanf_s("%d%d", &a,&b) == 2){
  if(a%2 ==0 || b%2 == 0)
  printf("Even\n");
  else printf("Odds\n");
  }
  return 0;
}

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

#include <cstdio>
using namespace std;
int main(){
  int a,b;
  scanf("%d %d", &a,&b );
  if(a%2 ==0 || b%2 == 0)
  printf("Even\n");
  else printf("Odds\n");
  retun 0;
}
  
    

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

#include <iostream>
using namespace std;

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:6:11: error: expected primary-expression before '>' token
    6 | cin >>a > >b;
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'if'
    9 |   if(c%2==0){
      |   ^~
Language: C++

#include <iostream>
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:6:11: error: expected primary-expression before '=' token
    6 |   if(a*b%==0){
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    7 |   if (a % 2.0 != 0 && b % 2.0 != 0) {
      |       ~ ^ ~~~
      |       |   |
      |       int double
a.cc:7:25: error: invalid operands of types 'int' and 'double' to binary 'operator%'
    7 |   if (a % 2.0 != 0 && b % 2.0 != 0) {
      |                       ~ ^ ~~~
      |                       |   |
      |                       int double
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:1:1: warning: missing terminating " character
    1 | "include <iostream>
      | ^
a.cc:1:1: error: missing terminating " character
    1 | "include <iostream>
      | ^~~~~~~~~~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:1: error: expected initializer before 'cin'
    5 | cin >> a >> b
      | ^~~
a.cc:9:8: error: expected '}' at end of input
    9 |       }
      |        ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

"include <iostream>
using namespace std;
int a,b
cin >> a >> b
if (a * b % 2 == 0){
	cout << "Even" << endl
else cout << "odd" << endl

Compiler output:
a.cc:1:1: warning: missing terminating " character
    1 | "include <iostream>
      | ^
a.cc:1:1: error: missing terminating " character
    1 | "include <iostream>
      | ^~~~~~~~~~~~~~~~~~~
a.cc:4:1: error: expected initializer before 'cin'
    4 | cin >> a >> b
      | ^~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: expected ',' or ';' before 'if'
    8 |     if (c % 2 == 0) cout << "Even" << endl;
      |     ^~
a.cc:9:5: error: 'else' without a previous 'if'
    9 |     else cout << "Odd" << endl;
      |     ^~~~
Language: C++

process.stdin.resume();
process.stdin.setEncoding('utf8');
function main(input){
    const args = input.split(' ');
    const a = parseInt(args[0],10);
    const b = parseInt(args[1],10);
    
    if((a*b) % 2 === 0){
        console.log('Even');
    }else{
        console.log('Odd');
    }
}

main(require('fs').readFileSync('/dev/stdin','utf8'));

Compiler output:
a.cc:2:27: warning: multi-character character constant [-Wmultichar]
    2 | process.stdin.setEncoding('utf8');
      |                           ^~~~~~
a.cc:9:21: warning: multi-character character constant [-Wmultichar]
    9 |         console.log('Even');
      |                     ^~~~~~
a.cc:11:21: warning: multi-character character constant [-Wmultichar]
   11 |         console.log('Odd');
      |                     ^~~~~
a.cc:15:14: warning: multi-character character constant [-Wmultichar]
   15 | main(require('fs').readFileSync('/dev/stdin','utf8'));
      |              ^~~~
a.cc:15:33: warning: multi-character literal with 10 characters exceeds 'int' size of 4 bytes
   15 | main(require('fs').readFileSync('/dev/stdin','utf8'));
      |                                 ^~~~~~~~~~~~
a.cc:15:46: warning: multi-character character constant [-Wmultichar]
   15 | main(require('fs').readFileSync('/dev/stdin','utf8'));
      |                                              ^~~~~~
a.cc:1:1: error: 'process' does not name a type
    1 | process.stdin.resume();
      | ^~~~~~~
a.cc:2:1: error: 'process' does not name a type
    2 | process.stdin.setEncoding('utf8');
      | ^~~~~~~
a.cc:3:1: error: 'function' does not name a type; did you mean 'union'?
    3 | function main(input){
      | ^~~~~~~~
      | union
a.cc:15:5: error: expected constructor, destructor, or type conversion before '(' token
   15 | main(require('fs').readFileSync('/dev/stdin','utf8'));
      |     ^
Language: C++

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

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

#include <bits/stdc++.h>
using namespace std;
  
int main(){
  int a,b;
  cin>>a>>b;
  if(a%==1 && b%==2)
    cout << "odd" <<endl;
  else 
    cout << "even" <<endl;
}

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

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

Compiler output:
a.cc:4:3: error: expected identifier before 'int'
    4 |   int main(){
      |   ^~~
a.cc:2:16: error: expected ';' before 'int'
    2 | using namespace
      |                ^
      |                ;
    3 | 
    4 |   int main(){
      |   ~~~           
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 namespace std;

int main(){
  int a,b,x;
  cin >> a >> b;
  x = a * b;
  if (x % 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:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:7:32: error: 'cout' was not declared in this scope
    7 |     if (s - 2 * (s / 2) == 0 ) cout << "Even" << endl;
      |                                ^~~~
a.cc:7:50: error: 'endl' was not declared in this scope
    7 |     if (s - 2 * (s / 2) == 0 ) cout << "Even" << endl;
      |                                                  ^~~~
a.cc:8:10: error: 'cout' was not declared in this scope
    8 |     else cout << "Odd" << endl;
      |          ^~~~
a.cc:8:27: error: 'endl' was not declared in this scope
    8 |     else cout << "Odd" << endl;
      |                           ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a;
  int b;
  
  // 変数aで入力を受け取る
  cin >> a >> b;
 
  if((a*b)%2 == 0){
    cout << "Even" << endl;  
  }else{
  	cout << "Odd" << emdl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:26: error: 'emdl' was not declared in this scope
   14 |         cout << "Odd" << emdl;
      |                          ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: expected ',' or ';' before 'if'
   10 |   if ( c % 2 == 0 ) {
      |   ^~
a.cc:12:5: error: 'else' without a previous 'if'
   12 |   } else {
      |     ^~~~
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;
  return0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:3: error: 'return0' was not declared in this scope
   10 |   return0;
      |   ^~~~~~~
Language: C++

#include　<iostream>

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:2: error: extended character 　 is not valid in an identifier
    1 | #include　<iostream>
      |  ^
a.cc:1:2: error: invalid preprocessing directive #include\U00003000
    1 | #include　<iostream>
      |  ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include　<iostream>
a.cc:9:15: error: expected primary-expression before '==' token
    9 |   if (a * b % == 0) {
      |               ^~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "Even" << endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:27: error: 'endl' was not declared in this scope
   10 |         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 | #include　<iostream>
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << "Odd" << endl;
      |     ^~~~
a.cc:13:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:22: error: 'endl' was not declared in this scope
   13 |     cout << "Odd" << endl;
      |                      ^~~~
a.cc:13:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java

import java.util.Scanner;
public class AtCorder_20190901 {
	public static void main(String[] args)
	{
		//宣言
		Scanner sc = new  Scanner(System.in);
		
		int a =sc.nextInt();
		int b =sc.nextInt();
		String s1 = "Odd";
		String s2 = "Even";
	
		//出力
		if((a + b)%2 ==0 )
		{
			System.out.println(s2);
		}else{
			System.out.println(s1);
		}
	}
}

Compiler output:
Main.java:2: error: class AtCorder_20190901 is public, should be declared in a file named AtCorder_20190901.java
public class AtCorder_20190901 {
       ^
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) % 2 == 0) {
      System.out.println("Even");
    } Else {
      System.out.println("Odd");
    }
  }
}


Compiler output:
Main.java:9: error: ';' expected
    If ((a * b) % 2 == 0) {
                         ^
Main.java:11: error: not a statement
    } Else {
      ^
Main.java:11: error: ';' expected
    } Else {
          ^
3 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) % 2 == 0) {
      System.out.println("Even");
    } else {
      System.out.println("Odd");
    }
  }
}


Compiler output:
Main.java:9: error: ';' expected
    If ((a * b) % 2 == 0) {
                         ^
Main.java:11: error: 'else' without 'if'
    } else {
      ^
2 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) % 2 == 0) {
      System.out.println("Even")
    } else {
      System.out.println("Odd")
    }
  }
}

Compiler output:
Main.java:9: error: ';' expected
    If ((a * b) % 2 == 0) {
                         ^
Main.java:10: error: ';' expected
      System.out.println("Even")
                                ^
Main.java:12: error: ';' expected
      System.out.println("Odd")
                               ^
Main.java:11: error: 'else' without 'if'
    } else {
      ^
4 errors
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:9: error: 'else' without 'if'
    else
    ^
1 error
Language: C++

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

int main() {
  int a, b, ab;
  cin >> a >> b >> ab;
  
  ab = a*b % 2

  if (ab == 1) 
    cout << "Odd" << endl;
  
  else
    cout << "Even" << endl;

  cout << "終了" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected ';' before 'if'
    8 |   ab = a*b % 2
      |               ^
      |               ;
    9 | 
   10 |   if (ab == 1)
      |   ~~           
a.cc:13:3: error: 'else' without a previous 'if'
   13 |   else
      |   ^~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'w' was not declared in this scope
    8 |   if (c%w==0) cout<<"Even"<<endl;
      |         ^
Language: Java

import java.util.Scanner;
import java.util.Arrays;

public class Main{
  public static void main(String[] args){
    String[] input=(new Scanner(System.in)).nextLine().split(" ");
    String[] evenArray=new String[]{"0","2","4","6","8"};
    bool result=Arrays.asList(evenArray).contains(input[0].substring(input[0].length()-1));
    result=result||Arrays.asList(evenArray).contains(input[1].substring(input[1].length()-1));
    String output=result?"Even":"Odd";
    System.out.println(output);
  }
}


Compiler output:
Main.java:8: error: cannot find symbol
    bool result=Arrays.asList(evenArray).contains(input[0].substring(input[0].length()-1));
    ^
  symbol:   class bool
  location: class Main
1 error
Language: Java

import java.util.stream.Stream;
import java.util.Arrays;

public class Main{
  public static void main(String[] args){
    String[] inputStr=(new Scanner(System.in)).split(" ");
    int[] input=Stream.of(inputStr).mapToInt(Integer::parseInt).toArray();
    int[] evenArray=new int[]{0,2,4,6,8};
    if(Arrays.AsList(evenArray).contains(input[0])||Arrays.AsList(evenArray).contains(input[1])){
      System.out.println("Even");
    }else{
      System.out.println("Odd");
    }
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    String[] inputStr=(new Scanner(System.in)).split(" ");
                           ^
  symbol:   class Scanner
  location: class Main
Main.java:9: error: cannot find symbol
    if(Arrays.AsList(evenArray).contains(input[0])||Arrays.AsList(evenArray).contains(input[1])){
             ^
  symbol:   method AsList(int[])
  location: class Arrays
Main.java:9: error: cannot find symbol
    if(Arrays.AsList(evenArray).contains(input[0])||Arrays.AsList(evenArray).contains(input[1])){
                                                          ^
  symbol:   method AsList(int[])
  location: class Arrays
3 errors
Language: C++

//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
#include <numeric>
typedef long long Int;
#define rep(i,a,b) for(Int i=a;i<b;++i)
#define rrep(i,a,b) for(Int i=a;i>=b;--i)
using namespace std;

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:17: error: 'B' was not declared in this scope
   14 |     cout << ((a*B)%2 == 0 ? "Even" : "Odd") << endl;
      |                 ^
Language: Java

int a,b;
Scanner input = new Scanner(System.in);
System.out.print("a: ");
a = input.nextInt();
System.out.print("b: ");
b = input.nextInt();
int c = a*b;
if(c%2 == 0) {
	System.out.println("Even");
}else {
	System.out.println("Odd");
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
int a,b;
^
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
Scanner input = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: class, interface, enum, or record expected
System.out.print("a: ");
^
Main.java:4: error: class, interface, enum, or record expected
a = input.nextInt();
^
Main.java:5: error: class, interface, enum, or record expected
System.out.print("b: ");
^
Main.java:6: error: class, interface, enum, or record expected
b = input.nextInt();
^
Main.java:8: error: class, interface, enum, or record expected
if(c%2 == 0) {
^
Main.java:10: error: class, interface, enum, or record expected
}else {
^
Main.java:12: error: class, interface, enum, or record expected
}
^
9 errors
Language: Java

import java.util.Scanner;

public class Exam01 {

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

	}

}

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

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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: lvalue required as left operand of assignment
    8 |   if (a % 2 = 0 || b % 2 = 0){
      |               ~~^~~~~~~~
a.cc:9:13: error: 'Even' was not declared in this scope
    9 |     cout << Even << endl;
      |             ^~~~
a.cc:13:13: error: 'Odd' was not declared in this scope
   13 |     cout << Odd << endl;
      |             ^~~
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: In function 'int main()':
a.cc:12:30: error: expected ';' before '}' token
   12 |         cout << "Odd" << endl
      |                              ^
      |                              ;
   13 | 
   14 | }
      | ~
Language: C++

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:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even" << endl;
      |     ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope
    8 |     cout << "Even" << endl;
      |                       ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout << "Odd" << endl;
      |     ^~~~
a.cc:12:22: error: 'endl' was not declared in this scope
   12 |     cout << "Odd" << endl;
      |                      ^~~~
Language: Java

import java.util.Scanner;

public class Sample {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
	int a = scanner.nextInt();
    int b = scanner.nextInt();
    scanner.close();
    
    if(a % 2 == 0){
      System.out.print("Even");
        return;
    }
 
    if(b % 2 == 0){
      System.out.print("Even");
        return;
    }
    
    System.out.print("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
Language: Java

import java.util.Scanner;

public class Sample {
  public static void main(String[] args) {
    Scanner scanner = new Scanner(System.in);
	int a = scanner.nextLine();
    int b = scanner.nextLine();
    scanner.close();
    
    if(a % 2 == 0){
      System.out.print("Even");
        return;
    }
 
    if(b % 2 == 0){
      System.out.print("Even");
        return;
    }
    
    System.out.print("Odd");
  }

}

Compiler output:
Main.java:3: error: class Sample is public, should be declared in a file named Sample.java
public class Sample {
       ^
Main.java:6: error: incompatible types: String cannot be converted to int
	int a = scanner.nextLine();
	                        ^
Main.java:7: error: incompatible types: String cannot be converted to int
    int b = scanner.nextLine();
                            ^
3 errors
Language: Java

import java.util.Scanner;

public class Ｍａｉｎ　 {

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

        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

        System.out.println(a * b % 2 == 0 ? "Even" : "Odd");
    }
}


Compiler output:
Main.java:3: error: illegal character: '\u3000'
public class ????? {
                 ^
1 error