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 % 2 = 1 && b % 2 = 1){
    cout << "odd"<<endl;
   }
  else {
    cout << "even"<<endl;
  }
 ]

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: lvalue required as left operand of assignment
    8 |   if(a % 2 = 1 && b % 2 = 1){
      |              ~~^~~~~~~~
a.cc:14:2: error: expected primary-expression before ']' token
   14 |  ]
      |  ^
a.cc:14:3: error: expected '}' at end of input
   14 |  ]
      |   ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: lvalue required as left operand of assignment
    8 |   if(a%2=1 && b%2=1){
      |          ~~^~~~~~
a.cc:14:2: error: expected primary-expression before ']' token
   14 |  ]
      |  ^
a.cc:14:3: error: expected '}' at end of input
   14 |  ]
      |   ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.Scanner;

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

		int a = sc.nextInt();
		int b = sc.nextInt();
		int surplus = (a * b) %2;

		if(surplus == 0) {
			System.out.println("Even");
		}else {
			System.out.println("Odd");
		}
	}
}

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

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

		int a = sc.nextInt();
		int b = sc.nextInt();
		int surplus = (a * b) %2;

		if(surplus == 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: Java

package product;

import java.util.Scanner;

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

		int a = sc.nextInt();
		int b = sc.nextInt();
		int surplus = (a * b) %2;

		if(surplus == 0) {
			System.out.println("Even");
		}else {
			System.out.println("Odd");
		}
	}
}


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

package product;

import java.util.Scanner;

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

		int a = sc.nextInt();
		int b = sc.nextInt();
		int surplus = (a * b) %2;

		if(surplus == 0) {
			System.out.println("Even");
		}else {
			System.out.println("Odd");
		}
	}
}

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

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

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

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

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

}

Compiler output:
a.cc:6:10: error: extended character 　 is not valid in an identifier
    6 |   cin >> a　>> b;
      |          ^
a.cc: In function 'int main()':
a.cc:6:10: error: 'a\U00003000' was not declared in this scope
    6 |   cin >> a　>> b;
      |          ^~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'c' was not declared in this scope
    6 |   c = a * b;
      |   ^
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;
  }
  return 0;

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

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

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

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

import java.util.*;
 
public class AtCoder {
    static Scanner scanner = new Scanner(System.in);
 
    public static void main(String[]$) {
      	System.out.println(scanner.nextInt() % 2 + scanner.nextInt() % 2 == 2 ? "Odd" : "Even");
    }
}

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

import java.util.*;

public class AtCoder {
    static Scanner scanner = new Scanner(System.in);

    public static void main(String[]$) {
      	System.out.println(scanner.nextInt() % 2 + scanner.nextInt() % 2 == 2 ? "Odd" : "Even")
    }
}

Compiler output:
Main.java:7: error: ';' expected
      	System.out.println(scanner.nextInt() % 2 + scanner.nextInt() % 2 == 2 ? "Odd" : "Even")
      	                                                                                       ^
1 error
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char*)'
    7 |   cout(a*b%2==0?"Even":"Odd");
      |   ~~~~^~~~~~~~~~~~~~~~~~~~~~~
Language: C++

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





int main(){
	int N;
	cin>>N;

	vector<int>t(N+1);
	vector<int>x(N+1);
	vector<int>y(N+1);

	string ans="Yes";

	for(int i=0;i<N;i++) cin>>t[i]>>x[i]>>y[i];
	
	
	
	for(int i=1;i<N;i++){
	if(abs(x[i]-x[i-1])+abs(y[i]-y[i-1])<=t[i]-t[i-1] && t[i]-t[i-1]-(abs(x[i]-x[i-1])+abs(y[i]-y[i-1]))%2==0){

	}else{
		ans="No";
	}

	cout<<ans;
	
}


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

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int b,c;
    cin >> b >> c;
    string a; a="Odd"
    if (b*c%2==0) {
      a = "Even"
    }

    // 出力
    cout << a << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ';' before 'if'
    8 |     string a; a="Odd"
      |                      ^
      |                      ;
    9 |     if (b*c%2==0) {
      |     ~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int b,c;
    cin >> b >> c;
    string a; a="Odd"
    if b*c%2==0 {
      a = "Even"
    }

    // 出力
    cout << a << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ';' before 'if'
    8 |     string a; a="Odd"
      |                      ^
      |                      ;
    9 |     if b*c%2==0 {
      |     ~~
Language: Java

class Main{
	public static void main(String args[]){
    	Scanner sc = new Scanner (System.in);
    	int a = sc.nextInt();
    	int b = sc.nextInt();
      	if ( (a*b) % 2 == 0 ){
        	System.out.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

public class Main {
	public static void main(String[] args) {
		Main obj = new Main();
		obj.doIt();
	}

	void doIt() {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		sc.close();

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

		}
	}
}

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

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

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

	int x = a * b;

	if (x % 2 == 1){
		cout << "odd"
	}else{
		cout << "Even"
	}
	//cout << x / 2 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:30: error: expected ';' before '}' token
   13 |                 cout << "odd"
      |                              ^
      |                              ;
   14 |         }else{
      |         ~                     
a.cc:15:31: error: expected ';' before '}' token
   15 |                 cout << "Even"
      |                               ^
      |                               ;
   16 |         }
      |         ~
Language: C++

#include<iostream>
int a,b;
cin >> a,b >>endl;
if (a*b%2 ==1)｛
cout << “Odd” <<endl;
｝ else ｛
cout << “Even” <<endl;
｝

Compiler output:
a.cc:5:9: error: extended character “ is not valid in an identifier
    5 | cout << “Odd” <<endl;
      |         ^
a.cc:5:9: error: extended character ” is not valid in an identifier
a.cc:7:9: error: extended character “ is not valid in an identifier
    7 | cout << “Even” <<endl;
      |         ^
a.cc:7:9: error: extended character ” is not valid in an identifier
a.cc:3:1: error: 'cin' does not name a type
    3 | cin >> a,b >>endl;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if (a*b%2 ==1)｛
      | ^~
a.cc:6:1: error: '\U0000ff5d' does not name a type
    6 | ｝ else ｛
      | ^~
a.cc:8:1: error: '\U0000ff5d' does not name a type
    8 | ｝
      | ^~
Language: C++

#include<iostream>
int a,b;
cin >> a,b >>endl;
if (a*b%2 ==1)｛
cout << “Odd” <<endl;
｝ else ｛
cout << “Even”<<endl;
｝

Compiler output:
a.cc:5:9: error: extended character “ is not valid in an identifier
    5 | cout << “Odd” <<endl;
      |         ^
a.cc:5:9: error: extended character ” is not valid in an identifier
a.cc:7:9: error: extended character “ is not valid in an identifier
    7 | cout << “Even”<<endl;
      |         ^
a.cc:7:9: error: extended character ” is not valid in an identifier
a.cc:3:1: error: 'cin' does not name a type
    3 | cin >> a,b >>endl;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if (a*b%2 ==1)｛
      | ^~
a.cc:6:1: error: '\U0000ff5d' does not name a type
    6 | ｝ else ｛
      | ^~
a.cc:8:1: error: '\U0000ff5d' does not name a type
    8 | ｝
      | ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b;
  cin >> a >> b;
 
  if (x < 10) {
    cout << "aは5より小さい" << endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: 'x' was not declared in this scope
    8 |   if (x < 10) {
      |       ^
a.cc:10:4: error: expected '}' at end of input
   10 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

int main() {
  int a,b;
  cin >> a,b >> ;
 
  if (x < 10) {
    cout << "xは10より小さい" << endl;
  }
  else if (x > 20) {
    cout << "xは10より小さくなくて、20より大きい" << endl;
  }
  else if (x == 15) {
    cout << "xは10より小さくなくて、20より大きくなくて、15である" << endl;
  }
  else {
    cout << "xは10より小さくなくて、20より大きくもなくて、15でもない" << 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:3:17: error: expected primary-expression before ';' token
    3 |   cin >> a,b >> ;
      |                 ^
a.cc:5:7: error: 'x' was not declared in this scope
    5 |   if (x < 10) {
      |       ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout << "xは10より小さい" << endl;
      |     ^~~~
a.cc:6:34: error: 'endl' was not declared in this scope
    6 |     cout << "xは10より小さい" << endl;
      |                                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "xは10より小さくなくて、20より大きい" << endl;
      |     ^~~~
a.cc:9:54: error: 'endl' was not declared in this scope
    9 |     cout << "xは10より小さくなくて、20より大きい" << endl;
      |                                                      ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout << "xは10より小さくなくて、20より大きくなくて、15である" << endl;
      |     ^~~~
a.cc:12:70: error: 'endl' was not declared in this scope
   12 |     cout << "xは10より小さくなくて、20より大きくなくて、15である" << endl;
      |                                                                      ^~~~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout << "xは10より小さくなくて、20より大きくもなくて、15でもない" << endl;
      |     ^~~~
a.cc:15:74: error: 'endl' was not declared in this scope
   15 |     cout << "xは10より小さくなくて、20より大きくもなくて、15でもない" << endl;
      |                                                                          ^~~~
a.cc:16:4: error: expected '}' at end of input
   16 |   }
      |    ^
a.cc:1:12: note: to match this '{'
    1 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b;
  cin >> a >> b;
}

cin >> text;
  cin >> a;

 if a == 10) {
 // if (!(x == y)) {
  //  cout << "xとyは等しくない" << endl;
// }
 
  //if (x == 10 && y == 10) {
   // cout << "xとyは10" << endl;
 // }
 
 // if (x == 0 || y == 0) {
  //  cout << "xかyは0" << endl;
  //}
 
 // cout << "終了" << endl;

Compiler output:
a.cc:9:1: error: 'cin' does not name a type
    9 | cin >> text;
      | ^~~
a.cc:10:3: error: 'cin' does not name a type
   10 |   cin >> a;
      |   ^~~
a.cc:12:2: error: expected unqualified-id before 'if'
   12 |  if a == 10) {
      |  ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b;
  cin >> a >> b;
}

cin >> text;
  cin >> a;


 // if (!(x == y)) {
  //  cout << "xとyは等しくない" << endl;
// }
 
  //if (x == 10 && y == 10) {
   // cout << "xとyは10" << endl;
 // }
 
 // if (x == 0 || y == 0) {
  //  cout << "xかyは0" << endl;
  //}
 
 // cout << "終了" << endl;

Compiler output:
a.cc:9:1: error: 'cin' does not name a type
    9 | cin >> text;
      | ^~~
a.cc:10:3: error: 'cin' does not name a type
   10 |   cin >> a;
      |   ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int x, y;
  cin >> x >> y;
 
  if (!(x == y)) {
    cout << "xとyは等しくない" << endl;
  }
 
  if (x == 10 && y == 10) {
    cout << "xとyは10" << endl;
  }
 
  if (x == 0 || y == 0) {
    cout << "xかyは0" << endl;
  }
 
  cout << "終了" << endl;

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

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

bool jif(int t, int x_0, int x_1, int y_0, int y_1);

int main(){
  
  int N;
  int x[110000]={0};
  int y[110000]={0};
  int t[110000]={0};

  bool judge=true;
  
  cin >> N;
  for(int i=1;i<=N;i++) cin >> t[i] >> x[i] >> y[i];

  for(int i=0;i<N;i++){
     //Is it possible to reach from (i-1) to i?
     if(t < abs(x_0 - x_1) + abs(y_0 - y_1)){
       judge = false;
       break;
     }else{
       judge = judge && jif(t[i+1]-t[i],x[i+1],x[i],y[i+1],y[i]);
       if(judge==false) break;
    }
  }

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

  return 0;
}

bool jif(int t, int x_0, int x_1, int y_0, int y_1){
  if (t == 0 && x_0 == x_1 && y_0 == y_1)return true;
  else if(t == 0 && (x_0 != x_1 || y_0 != y_1 )) return false;
  else return jif(t-1, x_0-1, x_1, y_0, y_1) || jif(t-1, x_0, x_1-1, y_0, y_1) || jif(t-1, x_0, x_1, y_0-1, y_1) || jif(t-1, x_0, x_1, y_0, y_1-1);
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:17: error: 'x_0' was not declared in this scope
   21 |      if(t < abs(x_0 - x_1) + abs(y_0 - y_1)){
      |                 ^~~
a.cc:21:23: error: 'x_1' was not declared in this scope
   21 |      if(t < abs(x_0 - x_1) + abs(y_0 - y_1)){
      |                       ^~~
a.cc:21:34: error: 'y_0' was not declared in this scope
   21 |      if(t < abs(x_0 - x_1) + abs(y_0 - y_1)){
      |                                  ^~~
a.cc:21:40: error: 'y_1' was not declared in this scope
   21 |      if(t < abs(x_0 - x_1) + abs(y_0 - y_1)){
      |                                        ^~~
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,x,y;
  string Odd,Even
  cin>>a>>b;
    x=a*b;
  y=x%2;
  if(y>0){
    cout<<"Odd"<<endl;
  }
  else{
    cout<<"Even"<<endl;
  }
}



Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin>>a>>b;
      |   ^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'x'
    6 |   x=a*b;
      |   ^
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:12:13: warning: multi-character character constant [-Wmultichar]
   12 |     cout << 'Even' << endl;
      |             ^~~~~~
a.cc:14:13: warning: multi-character character constant [-Wmultichar]
   14 |     cout << 'Odd' << endl;
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:9:12: error: expected ';' before 'if'
    9 |   c = a * b
      |            ^
      |            ;
   10 | 
   11 |   if (c % 2 == 0) {
      |   ~~        
a.cc:13:5: error: 'else' without a previous 'if'
   13 |   } else {
      |     ^~~~
Language: C++

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

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

Compiler output:
a.cc: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:15: error: expected primary-expression before '==' token
    8 |   if (a * b % == 0) {
      |               ^~
Language: C++

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

int main() {
  int a, b;
  cin >> a >> b;
  
  if (a * B % == 0) {
    cout << 'Even' << 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:11: error: 'B' was not declared in this scope
    8 |   if (a * B % == 0) {
      |           ^
a.cc:8:15: error: expected primary-expression before '==' token
    8 |   if (a * B % == 0) {
      |               ^~
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:15: error: '(' expected
      }else if{
              ^
1 error
Language: C++

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

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

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

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

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

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:14: error: lvalue required as left operand of assignment
    5 |   if(a*b / 2 = 0){
      |              ^
Language: C

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

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

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

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

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

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

#include<iostream>
using namespace std;

int main(void){
  int right,left;
  cin>> rihgt>>left;
  if(right*left%2)
    cout<<Odd<<'\n';
  else
    cout<<Even<<'\n';
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'rihgt' was not declared in this scope; did you mean 'right'?
    6 |   cin>> rihgt>>left;
      |         ^~~~~
      |         right
a.cc:8:11: error: 'Odd' was not declared in this scope
    8 |     cout<<Odd<<'\n';
      |           ^~~
a.cc:10:11: error: 'Even' was not declared in this scope
   10 |     cout<<Even<<'\n';
      |           ^~~~
Language: C++

#include <iostream>
using namespece 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 'namespece'
    2 | using namespece 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 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/iostream:41:
/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 <iostream>
#include <vector>
#include <map>
#include <algorithm>
#include <cstdlib>
#include <cmath>
#include <numeric>
#include <tuple>
#include <stack>

#define rep(i,n) for (int i = 0; i < (n); ++i)
#define all(x) x.begin(),x.end()
#define rall(x) x.rbegin(),x.rend()
#define print(s) cout << s << endl
typedef long long ll;
using namespace std;

int ctoi(char c) {
	if (c >= '0' && c <= '9') {
		return c - '0';
	}
	return 0;
}

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:27:44: error: expected ':' before ')' token
   27 |         cout << (a*b%2 == 0? "Even" ? "Odd") << endl;
      |                                            ^
      |                                            :
a.cc:27:44: error: expected primary-expression before ')' token
a.cc:27:44: error: expected ':' before ')' token
   27 |         cout << (a*b%2 == 0? "Even" ? "Odd") << endl;
      |                                            ^
      |                                            :
a.cc:27:44: error: expected primary-expression before ')' token
Language: Java

public class Main{
  public static void main(){
    Scanner scan = new Scanner(System.in);
    int a = scan.nextInt();
    int b = scan.nextInt();
    
    if(a/2 == 0 || b/2 == 0) 
      System.out.println("Even");
    else 
      System.out.println("Odd");
  }
}

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner scan = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner scan = new Scanner(System.in);
                       ^
  symbol:   class Scanner
  location: class Main
2 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;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected primary-expression before ';' token
    6 | 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:6:17: error: expected primary-expression before ';' token
    6 | cin >> a >> b >>;
      |                 ^
Language: C++

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

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



Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:8:13: error: 'Even' was not declared in this scope
    8 |     cout << Even << endl;
      |             ^~~~
a.cc:10:10: error: expected '(' before '{' token
   10 |   else if{
      |          ^
      |          (
Language: C++

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

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



Compiler output:
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:8:13: error: 'Even' was not declared in this scope
    8 |     cout << Even << endl;
      |             ^~~~
a.cc:10:16: error: 'Even' was not declared in this scope
   10 |   else cout << Even << endl;
      |                ^~~~
Language: Java

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

public class Main{
  public static void main(String args[]){
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    String[] list = str.split(" ", 0);
    int c = Integer.parseInt(list[0]) * Integer.parseInt(list[1]);
    if(c%2==0){
      System.out.print("Even");
    }else{
      System.out.print("Odd");
    }
  }
}

Compiler output:
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
    String str = br.readLine();
                            ^
1 error
Language: Java

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

public class Main{
  public static void main(String args[]){
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readLine();
    String[] list = str.split(" ", 0);
    int c = Integer.parseInt(list[0]) * Integer.parseInt(list[1]);
    if(c%2==0){
      System.out.print("Even");
    }else{
      System.out.print("Odd");
    }
}

Compiler output:
Main.java:15: error: reached end of file while parsing
}
 ^
1 error
Language: 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;
  }elsif(c%2==1){
  	cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: 'elsif' was not declared in this scope
   10 |   }elsif(c%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;
  }elseif(c%2==1){
  	cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: 'elseif' was not declared in this scope
   10 |   }elseif(c%2==1){
      |    ^~~~~~
Language: C++

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

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

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

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

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

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

#include<iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'N' was not declared in this scope
    5 |   N=a*b;
      |   ^
a.cc:5:5: error: 'a' was not declared in this scope
    5 |   N=a*b;
      |     ^
a.cc:5:7: error: 'b' was not declared in this scope
    5 |   N=a*b;
      |       ^
a.cc:7:11: error: 'Even' was not declared in this scope
    7 |     cout<<Even;
      |           ^~~~
a.cc:10:13: error: 'Odd' was not declared in this scope
   10 |       cout<<Odd;
      |             ^~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main(a,b,N) {
      |     ^~~~
a.cc:4:10: error: 'a' was not declared in this scope
    4 | int main(a,b,N) {
      |          ^
a.cc:4:12: error: 'b' was not declared in this scope
    4 | int main(a,b,N) {
      |            ^
a.cc:4:14: error: 'N' was not declared in this scope
    4 | int main(a,b,N) {
      |              ^
a.cc:4:15: error: expression list treated as compound expression in initializer [-fpermissive]
    4 | int main(a,b,N) {
      |               ^
Language: C++

#include<string>
using namespace std;

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main(a,b,N) {
      |     ^~~~
a.cc:4:10: error: 'a' was not declared in this scope
    4 | int main(a,b,N) {
      |          ^
a.cc:4:12: error: 'b' was not declared in this scope
    4 | int main(a,b,N) {
      |            ^
a.cc:4:14: error: 'N' was not declared in this scope
    4 | int main(a,b,N) {
      |              ^
a.cc:4:15: error: expression list treated as compound expression in initializer [-fpermissive]
    4 | int main(a,b,N) {
      |               ^
Language: C++

#include<string>
using namespace std;

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

Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main(a,b,N) {
      |     ^~~~
a.cc:4:10: error: 'a' was not declared in this scope
    4 | int main(a,b,N) {
      |          ^
a.cc:4:12: error: 'b' was not declared in this scope
    4 | int main(a,b,N) {
      |            ^
a.cc:4:14: error: 'N' was not declared in this scope
    4 | int main(a,b,N) {
      |              ^
a.cc:4:15: error: expression list treated as compound expression in initializer [-fpermissive]
    4 | int main(a,b,N) {
      |               ^
Language: Java

using System;

class Program
{
    static void Main(string[] args)
    {
        Console.WriteLine(Input.nextInt() % 2 == 0 || Input.nextInt() % 2 == 0 ? "Even" : "Odd");


    }

}


class Input
{
    static string[] line = { };
    static int index = 0;
    static void readLine()
    {
        line = Console.ReadLine().Split(' ');
        index = 0;
    }
    public static int nextInt()
    {
        if (index == line.Length)
        {

            readLine();
        }
        index++;
        return int.Parse(line[index - 1]);
    }
    public static long nextLong()
    {
        if (index == line.Length)
        {

            readLine();
        }
        index++;
        return long.Parse(line[index - 1]);
    }
    public static string next()
    {
        if (index == line.Length)
        {

            readLine();
        }
        index++;
        return line[index - 1];
    }
}




Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
using System;
^
  (use --enable-preview to enable unnamed classes)
Main.java:32: error: class expected
        return int.Parse(line[index - 1]);
                   ^
Main.java:32: error: ';' expected
        return int.Parse(line[index - 1]);
                        ^
Main.java:32: error: not a statement
        return int.Parse(line[index - 1]);
                             ^
Main.java:32: error: ';' expected
        return int.Parse(line[index - 1]);
                                        ^
Main.java:42: error: class expected
        return long.Parse(line[index - 1]);
                    ^
Main.java:42: error: ';' expected
        return long.Parse(line[index - 1]);
                         ^
Main.java:42: error: not a statement
        return long.Parse(line[index - 1]);
                              ^
Main.java:42: error: ';' expected
        return long.Parse(line[index - 1]);
                                         ^
9 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected ';' before 'cout'
    8 |     if( (c % 2 == 0 ) cout << "Event" << endl;
      |                      ^~~~~
      |                      ;
a.cc:9:5: error: expected primary-expression before 'else'
    9 |     else cout << "Odd" << endl;
      |     ^~~~
a.cc:8:47: error: expected ')' before 'else'
    8 |     if( (c % 2 == 0 ) cout << "Event" << endl;
      |       ~                                       ^
      |                                               )
    9 |     else cout << "Odd" << endl;
      |     ~~~~
Language: C++

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

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

  if (a % 2 + b % 2 = 2) {
    cout << "Odd" << endl;
  }

  else  {
    cout << "Even" << endl;
  }

}


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

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

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

  if (a % 2 + b % 2 = 2) {
    cout << "Odd" << endl;
  }

  else  {
    cout << "Even" << endl;
  }

}


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

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

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

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

  else  {
    cout << "Odd" << endl;
  }

}


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

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


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


#include <iostream>
#include <string>
#include <cmath>
#include <sstream>
#include <iomanip>

using namespace std;

int main(int argc, char* argv[])
{

	int a,b;

	cin >> a >> b;

	cout << ((X*A) % 2==0) ? "Even" : "Odd") << endl;

	return 0;

}

Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:17:19: error: 'X' was not declared in this scope
   17 |         cout << ((X*A) % 2==0) ? "Even" : "Odd") << endl;
      |                   ^
a.cc:17:21: error: 'A' was not declared in this scope
   17 |         cout << ((X*A) % 2==0) ? "Even" : "Odd") << endl;
      |                     ^
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;
}
return 0;
}

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

iport java.util.*;

public class Main {
 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:1: error: class, interface, enum, or record expected
iport java.util.*;
^
1 error
Language: C++

#include <bits/stdc++.h>
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:5:10: error: 'a' was not declared in this scope
    5 |   cin >> a >> b ;
      |          ^
a.cc:5:15: error: 'b' was not declared in this scope
    5 |   cin >> a >> b ;
      |               ^
Language: C++

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

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

int main() {
    int 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:7:9: error: expected initializer before 'int'
    7 |         int c = a*b
      |         ^~~
a.cc:9:9: error: 'else' without a previous 'if'
    9 |         else cout << "Odd" << endl;
      |         ^~~~
Language: C++

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin >> a >> b;
      |     ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:21: error: 'cout' was not declared in this scope
    7 |     if (c % 2 == 0) cout << "Even" << endl;
      |                     ^~~~
a.cc:7:21: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:39: error: 'endl' was not declared in this scope
    7 |     if (c % 2 == 0) 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:8:10: error: 'cout' was not declared in this scope
    8 |     else cout << "Odd" << endl;
      |          ^~~~
a.cc:8:10: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:27: error: 'endl' was not declared in this scope
    8 |     else cout << "Odd" << endl;
      |                           ^~~~
a.cc:8:27: 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;
  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:3: error: expected '}' before 'else'
    9 |   else {
      |   ^~~~
a.cc:7:19: note: to match this '{'
    7 |   if (A*B%2 == 0) {
      |                   ^
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;
  c = a*b%2;
  if (c == 0){
    cout << "Even" << endl;
  }
  else{
    cout << "Odd" << endl;
  }
}

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

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

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

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

class Main{
    public static  void main(String args[]){
      Scanner sc = new Scanner(System.in);
      int a = sc.nextInt();
      int b = sc.nextInt();
        if ((a * b) % 2 == 0)
            System.out.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: 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:28: error: expected ')' before '{' token
    8 |         if((a * b) % 2 == 0{
      |           ~                ^
      |                            )
a.cc:13:1: error: expected primary-expression before '}' token
   13 | }
      | ^