criyle/codenet-compile-errors huggingface dataset:
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:4:5: error: cannot declare '::main' to be a global variable
    4 | int main
      |     ^~~~
a.cc:6:9: error: expected primary-expression before 'int'
    6 |         int a,b;
      |         ^~~
a.cc:6:9: error: expected '}' before 'int'
a.cc:5:2: note: to match this '{'
    5 |  {
      |  ^
a.cc:8:5: error: 'cin' does not name a type
    8 |     cin >> a >> b;
      |     ^~~
a.cc:10:5: error: expected unqualified-id before 'if'
   10 |     if(a*b%2 == 0)
      |     ^~
a.cc:14:5: error: expected unqualified-id before 'else'
   14 |     else
      |     ^~~~
a.cc:18:2: error: expected declaration before '}' token
   18 |  }
      |  ^
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:4:5: error: cannot declare '::main' to be a global variable
    4 | int main
      |     ^~~~
a.cc:6:9: error: expected primary-expression before 'int'
    6 |         int a,b;
      |         ^~~
a.cc:6:9: error: expected '}' before 'int'
a.cc:5:2: note: to match this '{'
    5 |  {
      |  ^
a.cc:8:5: error: 'cin' does not name a type
    8 |     cin >> a >> b;
      |     ^~~
a.cc:10:5: error: expected unqualified-id before 'if'
   10 |     if(a*b%2 = 0)
      |     ^~
a.cc:14:5: error: expected unqualified-id before 'else'
   14 |     else
      |     ^~~~
a.cc:18:2: error: expected declaration before '}' token
   18 |  }
      |  ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'a' was not declared in this scope
    6 |     ll a,b; cin>>a>>b;
      |        ^
a.cc:6:10: error: 'b' was not declared in this scope
    6 |     ll a,b; cin>>a>>b;
      |          ^
Language: C++

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

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

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

 






Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: 'X' was not declared in this scope
   13 |   if(X == 0){
      |      ^
Language: C++

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

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

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

 





Compiler output:
a.cc: In function 'int main()':
a.cc:13:6: error: 'X' was not declared in this scope
   13 |   if(X == 0){
      |      ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'sum' was not declared in this scope
    8 |         sum = a * b;
      |         ^~~
Language: C

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

  


Compiler output:
main.c: In function 'main':
main.c:3:13: error: expected identifier or '(' before ';' token
    3 |   int a,b,c,;
      |             ^
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:11: error: ';' expected
          System.out.println("Even")
                                    ^
Main.java:13: error: ';' expected
          System.out.println("Odd")
                                   ^
2 errors
Language: C

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

  

Compiler output:
main.c: In function 'main':
main.c:6:9: error: lvalue required as left operand of assignment
    6 |   if(c%2=0){
      |         ^
Language: C++

#define  _CRT_SECURE_NO_WARNINGS
#include <stdio.h>
#include <algorithm>
#include <utility>
#include <functional>
#include <cstring>
#include <queue>
#include <stack>
#include <math.h>
#include <iterator>
#include <vector>
#include <string>
#include <set>
#include <math.h>
#include <iostream> 
#include <random>
#include<map>
#include <iomanip>
#include <time.h>
#include <stdlib.h>
#include <list>
#include <typeinfo>
#include <list>
#include <set>
#include <cassert>
#include<fstream>
#include <unordered_map>  
using namespace std;
#define Ma_PI 3.141592653589793
#define eps 0.00000000000000000000000001
#define LONG_INF 10000000000000000
#define GOLD 1.61803398874989484820458
#define MAX_MOD 1000000007
#define REP(i,n) for(long long i = 0;i < n;++i)
int main() {
	int a.b;
	cin >> a >> b;
	if ((a * b) % 2 == 0) {
		cout << "Even" << endl;
	}
	else cout << "Odd" << endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:36:14: error: expected initializer before '.' token
   36 |         int a.b;
      |              ^
a.cc:37:16: error: 'a' was not declared in this scope
   37 |         cin >> a >> b;
      |                ^
a.cc:37:21: error: 'b' was not declared in this scope
   37 |         cin >> a >> b;
      |                     ^
Language: C++

#include<iostream>
int main(){
 int a=0,b=0;
 std::cin>>a;
 std::cin>>b;
 if((a*B)%2)printf("Even");
 else printf("Odd");
 return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'B' was not declared in this scope
    6 |  if((a*B)%2)printf("Even");
      |        ^
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();
    
    int c = a * b;
    if(c % 2 = 1){
      System.out.println("Odd");
    }else{
      System.out.println("Even");
    }
  }
}

Compiler output:
Main.java:9: error: unexpected type
    if(c % 2 = 1){
         ^
  required: variable
  found:    value
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.next.Int();
    int b = sc.next.Int();
    
    int c = a * b;
    if(c % 2 = 1){
      System.out.println("Odd");
    }else{
      System.out.println("Even");
    }
  }
}

Compiler output:
Main.java:5: error: cannot find symbol
    int a = sc.next.Int();
              ^
  symbol:   variable next
  location: variable sc of type Scanner
Main.java:6: error: cannot find symbol
    int b = sc.next.Int();
              ^
  symbol:   variable next
  location: variable sc of type Scanner
Main.java:9: error: unexpected type
    if(c % 2 = 1){
         ^
  required: variable
  found:    value
3 errors
Language: C++

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

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

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

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: lvalue required as left operand of assignment
    9 |   if(x % 2 = 0){
      |      ~~^~~
a.cc:11:4: error: 'even' was not declared in this scope
   11 |   }even{
      |    ^~~~
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner scan = new Scanner(System.in);
		int a = scan.nextInt();
		int b = scan.nextInt();
		if(a%2 == 0 || b%2 == 0) {
			return("Even");
		}else {
			return("Odd");
		}
	}

}

Compiler output:
Main.java:11: error: incompatible types: unexpected return value
			return("Even");
			      ^
Main.java:11: error: incompatible types: String cannot be converted to void
			return("Even");
			       ^
Main.java:13: error: incompatible types: unexpected return value
			return("Odd");
			      ^
Main.java:13: error: incompatible types: String cannot be converted to void
			return("Odd");
			       ^
4 errors
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;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> a,b;
      |   ^~~
a.cc:7:13: error: 'b' was not declared in this scope
    7 |   int c = a*b;
      |             ^
Language: C++

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

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

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

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

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

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

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


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

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

int main (){
  int a, b;
  cin >> a >> b ;
  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:3: error: expected ',' or ';' before 'if'
    8 |   if (c % 2 == 0){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: C++

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

int main (){
  int a, b;
  cin >> a >> b ;
  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:3: error: expected ',' or ';' before 'if'
    8 |   if (c%2 == 0){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: C++

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

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


Compiler output:
a.cc:9:13: warning: multi-character character constant [-Wmultichar]
    9 |     cout << 'Even' << endl;
      |             ^~~~~~
a.cc:12:13: warning: multi-character character constant [-Wmultichar]
   12 |     cout << 'Odd' << endl;
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'if'
    8 |   if (c%2 == 0){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: C++

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

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


Compiler output:
a.cc:9:13: warning: multi-character character constant [-Wmultichar]
    9 |     cout << 'Even' << endl;
      |             ^~~~~~
a.cc:11:13: warning: multi-character character constant [-Wmultichar]
   11 |     cout << 'Odd' << endl;
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: expected ',' or ';' before 'if'
    8 |   if (c%2 == 0)
      |   ^~
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else
      |   ^~~~
Language: C++

using namespace std;

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


Compiler output:
a.cc:7:13: warning: multi-character character constant [-Wmultichar]
    7 |     cout << 'Even' << endl;
      |             ^~~~~~
a.cc:9:13: warning: multi-character character constant [-Wmultichar]
    9 |     cout << 'Odd' << endl;
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a >> b ;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:6:10: error: lvalue required as left operand of assignment
    6 |   if (a*b/2=0)
      |       ~~~^~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << 'Even' << endl;
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:23: error: 'endl' was not declared in this scope
    7 |     cout << 'Even' << endl;
      |                       ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << 'Odd' << endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout << 'Odd' << endl;
      |                      ^~~~
a.cc:9:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: 'Odd' was not declared in this scope
    6 |   string res=Odd;
      |              ^~~
a.cc:8:19: error: 'Even' was not declared in this scope
    8 |   if(a*b%2==0)res=Even;
      |                   ^~~~
Language: C++

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

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

#include<bits/stdc++.h>
using namespace std;
cin>>a>>b;
if((a*b)%2 == 0) cout<<"Even"<<"\n";
else cout<<"Odd"<<"\n";

Compiler output:
a.cc:3:1: error: 'cin' does not name a type
    3 | cin>>a>>b;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if((a*b)%2 == 0) cout<<"Even"<<"\n";
      | ^~
a.cc:5:1: error: expected unqualified-id before 'else'
    5 | else cout<<"Odd"<<"\n";
      | ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'Odd' was not declared in this scope
    7 |     cout << Odd << endl;
      |             ^~~
a.cc:9:12: error: 'Even' was not declared in this scope
    9 |     cout <<Even<<endl;
      |            ^~~~
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" << ebdl;
    else cout << "Odd" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:39: error: 'ebdl' was not declared in this scope
    8 |     if (c % 2 == 0) cout << "Even" << ebdl;
      |                                       ^~~~
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:10:32: error: expected '}' at end of input
   10 |     else cout << "Odd" << endl;
      |                                ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:7: error: lvalue required as left operand of assignment
   10 |   if(x%2 = 0) cout<< "Even"<<endl;
      |      ~^~
a.cc:11:12: error: lvalue required as left operand of assignment
   11 |   else if(x%2 = 1) cout<<"Odd"<<endl;
      |           ~^~
Language: C++

x = input().split()
y = [int(n) for n in x]
s = y[0] * y [1]
if s%2 == 0:
    print("Even")
else:
    print("Odd")

Compiler output:
a.cc:1:1: error: 'x' does not name a type
    1 | x = input().split()
      | ^
Language: C++

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

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


Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b ;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << "Even" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Even" << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "Odd" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cout << "Odd" << endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b ;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << "Even" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Even" << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:8: error: expected primary-expression before ')' token
   10 |   else() {
      |        ^
Language: C++

#include<iostream>
using namespace std;
String main()
{
    int a, b;
    cin >> a >> b;

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

  	return 0;
}

Compiler output:
a.cc:3:1: error: 'String' does not name a type
    3 | String main()
      | ^~~~~~
Language: C

#include<iostream>

using namespace std;

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

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

#include<iostream>

using namespace std;

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

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

import java.util.Scanner;

public class free {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner scanner = new Scanner(System.in);

		int inputText1 = scanner.nextInt();
		int inputText2 = scanner.nextInt();

		int result = inputText1 * inputText2;

		if(result%2 == 0) {
			System.out.println("Even");
		} else {
			System.out.println("Odd");
		}
		scanner.close();

	}

}

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

import java.util.*;
public class ABC_086_A_Product{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);

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

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


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

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

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

	printf("a bを半角スペース空け入力\n");
	scanf_s("%d %d",&a,&b);
	ans = a * b;

	if ((ans % 2) == 0) {
		printf("偶数");
	}
	else if ((ans % 2) != 0) {
		printf("奇数");
	}
	return 0;
}

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

#include <iostream>
using namespace std;

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

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

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

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


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

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

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

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

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

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

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

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

Compiler output:
a.cc:15:26: error: extended character 　 is not valid in an identifier
   15 |         cout< < "odd" << endl　;
      |                          ^
a.cc: In function 'int main()':
a.cc:15:15: error: expected primary-expression before '<' token
   15 |         cout< < "odd" << endl　;
      |               ^
a.cc:15:26: error: 'endl\U00003000' was not declared in this scope
   15 |         cout< < "odd" << endl　;
      |                          ^~~~~~
Language: C++

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

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

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

return 0;


Compiler output:
a.cc:15:26: error: extended character 　 is not valid in an identifier
   15 |         cout << "odd" << endl　;
      |                          ^
a.cc: In function 'int main()':
a.cc:15:26: error: 'endl\U00003000' was not declared in this scope
   15 |         cout << "odd" << endl　;
      |                          ^~~~~~
a.cc: At global scope:
a.cc:19:1: error: expected unqualified-id before 'return'
   19 | return 0;
      | ^~~~~~
Language: C++

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

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

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

Compiler output:
a.cc:15:26: error: extended character 　 is not valid in an identifier
   15 |         cout << "odd" << endl　;
      |                          ^
a.cc: In function 'int main()':
a.cc:15:26: error: 'endl\U00003000' was not declared in this scope
   15 |         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
	{
	cout << odd << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:18: error: 'even' was not declared in this scope
    9 |         cout <<  even << endl ;
      |                  ^~~~
a.cc:13:17: error: 'odd' was not declared in this scope
   13 |         cout << odd << endl;
      |                 ^~~
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.print("Even");
      
        else
          system.out.print("0dd");
    }
}

Compiler output:
Main.java:10: error: package system does not exist
          system.out.print("Even");
                ^
Main.java:13: error: package system does not exist
          system.out.print("0dd");
                ^
2 errors
Language: Java

va.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		int product = a * b;
		if (product % 2 == 0) {
			System.out.println("Even");
		} else {
			System.out.println("Odd");
		}
	}

}


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
va.util.Scanner;
^
1 error
Language: C++

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

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


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

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

int main(){
  int a, b, x;
  cin >> a >> b;
  x = a*b;
 
  if(x%2 = 1){
    cout << "Odd" << endl;
  }
  else{
    cout << "Even" << 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,s;
  cin >> a>>s;
  a=a%2;
  s=s%2;
  if(a=1&&s=1)
    cout << "Odd" << endl;
  else {
  cout << "Even" << endl;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: lvalue required as left operand of assignment
    8 |   if(a=1&&s=1)
      |        ~^~~
Language: C++

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

   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:7:15: error: 'a' was not declared in this scope
    7 |        cin >> a >> b;
      |               ^
a.cc:7:20: error: 'b' was not declared in this scope
    7 |        cin >> a >> b;
      |                    ^
Language: C++

#include<bits/stdc++.h>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected primary-expression before 'if'
    9 |     cout<<if(a*b%2==0 ? "even":"odd")<<endl;
      |           ^~
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected initializer before 'if'
    8 |   if(a * b % 2 == 0){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else {
      |   ^~~~
a.cc:12:5: error: 'answer' was not declared in this scope
   12 |     answer = Odd
      |     ^~~~~~
a.cc:12:14: error: 'Odd' was not declared in this scope
   12 |     answer = Odd
      |              ^~~
a.cc:15:11: error: 'answer' was not declared in this scope
   15 |   cout << answer << endl;
      |           ^~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected initializer before 'if'
    8 |   if(a * b % 2 = 0){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else {
      |   ^~~~
a.cc:12:5: error: 'answer' was not declared in this scope
   12 |     answer = Odd
      |     ^~~~~~
a.cc:12:14: error: 'Odd' was not declared in this scope
   12 |     answer = Odd
      |              ^~~
a.cc:15:11: error: 'answer' was not declared in this scope
   15 |   cout << answer << endl;
      |           ^~~~~~
Language: C++

# include <iostream>
using namespace std;
int main() {
  int a, b; cin >> a >> b;
  cout << ((a*b) & 1) ? "Odd" : "Even" << "\n";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:40: error: invalid operands of types 'const char [5]' and 'const char [2]' to binary 'operator<<'
    5 |   cout << ((a*b) & 1) ? "Odd" : "Even" << "\n";
      |                                 ~~~~~~ ^~ ~~~~
      |                                 |         |
      |                                 |         const char [2]
      |                                 const char [5]
Language: C++

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected primary-expression before '%' token
    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 == 1){
    cout << "Odd"
  }
  else {
    cout << "Even"
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:18: error: expected ';' before '}' token
    8 |     cout << "Odd"
      |                  ^
      |                  ;
    9 |   }
      |   ~               
a.cc:11:19: error: expected ';' before '}' token
   11 |     cout << "Even"
      |                   ^
      |                   ;
   12 |   }
      |   ~
Language: Java

import java.util.*;

class {
  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:3: error: <identifier> expected
class {
     ^
1 error
Language: Java

#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:
Main.java:1: error: illegal character: '#'
#include <iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include <iostream>
         ^
Main.java:6: error: not a statement
  cin >> a >> b;
           ^
Main.java:8: error: not a statement
  if(c % 2 == 0) cout <<  "Even" << endl;
                                 ^
Main.java:9: error: not a statement
  else cout << "Odd" << endl;
                     ^
Main.java:4: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: C

//割り算のあまりが0なら真理値は偽
#include <stdio.h>
int main() {
    int a,b;
    scanf("%d%d",&a&b);
    puts(a*b%2 ? "Odd" : "Even"); 
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:20: error: invalid operands to binary & (have 'int *' and 'int')
    5 |     scanf("%d%d",&a&b);
      |                  ~~^
      |                  |
      |                  int *
Language: C++

#![allow(unused_imports)]
#![allow(dead_code)]

use std::thread;
use std::io::{ self, Read };
use std::iter::Iterator;
use std::cmp::*;
use std::collections::*;
use std::str;

#[derive(Default)]
struct Input {
    buf: Vec<String>
}

impl Input {
    fn new() -> Input {
        Input { buf: Vec::new() }
    }

    fn next(&mut self) -> String {
        while self.buf.is_empty() {
            let mut s = String::new();
            let _res = io::stdin().read_line(&mut s);
            self.buf = s.split_whitespace().map(|s| s.to_owned()).collect::<Vec<_>>();
            self.buf.reverse();
        }
        self.buf.pop().unwrap()
    }

    fn next_int(&mut self) -> i64 {
        self.next().parse::<i64>().unwrap()
    }

    fn next_int_n(&mut self, n: usize) -> Vec<i64> {
        let mut v = Vec::<i64>::new();
        for _ in 0..n { v.push(self.next_int()); }
        v
    }
}

fn run() {
    let mut input = Input::new();
    let a = input.next_int();
    let b = input.next_int();
    println!("{}", if a * b % 2 == 0 { "Even" } else { "Odd" });
}

fn main() {
    let _ = thread::Builder::new()
        .stack_size(10 * 1024 * 1024)
        .spawn(run).unwrap()
        .join();
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #!
    1 | #![allow(unused_imports)]
      |  ^
a.cc:2:2: error: invalid preprocessing directive #!
    2 | #![allow(dead_code)]
      |  ^
a.cc:11:2: error: invalid preprocessing directive #[
   11 | #[derive(Default)]
      |  ^
a.cc:37:18: error: too many decimal points in number
   37 |         for _ in 0..n { v.push(self.next_int()); }
      |                  ^~~~
a.cc:4:1: error: 'use' does not name a type
    4 | use std::thread;
      | ^~~
a.cc:5:1: error: 'use' does not name a type
    5 | use std::io::{ self, Read };
      | ^~~
a.cc:6:1: error: 'use' does not name a type
    6 | use std::iter::Iterator;
      | ^~~
a.cc:7:1: error: 'use' does not name a type
    7 | use std::cmp::*;
      | ^~~
a.cc:8:1: error: 'use' does not name a type
    8 | use std::collections::*;
      | ^~~
a.cc:9:1: error: 'use' does not name a type
    9 | use std::str;
      | ^~~
a.cc:13:5: error: 'buf' does not name a type
   13 |     buf: Vec<String>
      |     ^~~
a.cc:16:6: error: expected initializer before 'Input'
   16 | impl Input {
      |      ^~~~~
a.cc:42:1: error: 'fn' does not name a type
   42 | fn run() {
      | ^~
a.cc:49:1: error: 'fn' does not name a type
   49 | fn main() {
      | ^~
Language: C++

import java.util.*;

public class Main {
    public static void main(String[] argv)
    {
	Scanner sc = new Scanner(System.in);
	int a, b;
	a = Integer.parseInt(sc.next());
	b = Integer.parseInt(sc.next());
	if (a * b % 2 != 0)
	    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++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>a>>b;
      |   ^~~
a.cc:5:16: error: 'puts' was not declared in this scope
    5 |   if(c%2 == 0) puts("Even");
      |                ^~~~
a.cc:6:8: error: 'puts' was not declared in this scope
    6 |   else puts("Odd");
      |        ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:5:16: error: 'puts' was not declared in this scope
    5 |   if(c%2 == 0){puts("Even");}
      |                ^~~~
a.cc:6:8: error: 'puts' was not declared in this scope
    6 |   else{puts("Odd");}
      |        ^~~~
Language: C++

#include <stdio.h>

int main(void){
  int a, b, c;
  scanf("%d %d", &a, &b);

  c = a * b;

  if(c %2 == 0){
    printf("Even\n");
  }
  else{
    printf("Odd\n");
  }
  return 0;


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

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

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

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


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

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

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

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: lvalue required as left operand of assignment
    8 |   if ( (a * b)% 2=1 ) {
      |        ~~~~~~~^~~
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();

		String outStrings;

		if((a*b)%2 == 0)
			outStrings = "Even";
		else outStrings = "Odd";

		System.out.println(outStrings);

	}

}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'A' was not declared in this scope
    7 |   if ( (A + B)%2 == 0){
      |         ^
a.cc:7:13: error: 'B' was not declared in this scope
    7 |   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:8:13: error: 'even' was not declared in this scope
    8 |     cout << even << endl;
      |             ^~~~
a.cc:10:13: error: 'odd' was not declared in this scope
   10 |     cout << odd << endl;
      |             ^~~
Language: Java

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

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

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

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

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

    std::string ans = (a * b) % 2 ? "Odd" : "Even";
    std::cout << ans << std::endl;

 return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:10: error: 'cin' is not a member of 'std'
    3 |     std::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 | int main(){
a.cc:5:10: error: 'string' is not a member of 'std'
    5 |     std::string ans = (a * b) % 2 ? "Odd" : "Even";
      |          ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | int main(){
a.cc:6:10: error: 'cout' is not a member of 'std'
    6 |     std::cout << ans << std::endl;
      |          ^~~~
a.cc:6:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:18: error: 'ans' was not declared in this scope
    6 |     std::cout << ans << std::endl;
      |                  ^~~
a.cc:6:30: error: 'endl' is not a member of 'std'
    6 |     std::cout << ans << std::endl;
      |                              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main(){
Language: C++

int main (){
int a ,b,x;
  x=a*b;
  if(x% == 0){
    printf("Even");
    } else {
    printf("Odd")};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected primary-expression before '==' token
    4 |   if(x% == 0){
      |         ^~
a.cc:5:5: error: 'printf' was not declared in this scope
    5 |     printf("Even");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main (){
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Odd")};
      |     ^~~~~~
a.cc:7:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:11: error: expected ';' before '}' token
    8 |   return 0
      |           ^
      |           ;
    9 | }
      | ~
Language: C++

int main (){
int a ,b,x;
  x=a*b;
  if(x%==0){
    printf("Even");
    } else {
    printf("Odd")};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: expected primary-expression before '=' token
    4 |   if(x%==0){
      |         ^
a.cc:5:5: error: 'printf' was not declared in this scope
    5 |     printf("Even");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main (){
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Odd")};
      |     ^~~~~~
a.cc:7:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:11: error: expected ';' before '}' token
    8 |   return 0
      |           ^
      |           ;
    9 | }
      | ~