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

using namespace std;
int main(void){
	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:4:9: error: 'cin' was not declared in this scope
    4 |         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:5:30: error: 'cout' was not declared in this scope
    5 |         if((a * b) % 2 == 0) cout << "Even" <<endl;
      |                              ^~~~
a.cc:5:30: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:5:47: error: 'endl' was not declared in this scope
    5 |         if((a * b) % 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:6:14: error: 'cout' was not declared in this scope
    6 |         else cout << "odd" <<endl;
      |              ^~~~
a.cc:6:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:6:30: error: 'endl' was not declared in this scope
    6 |         else cout << "odd" <<endl;
      |                              ^~~~
a.cc:6:30: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <stdio.h>

char main (int argc) {
int a;
int b;

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

    int c = a*b;

    if(c%2 == 0){
        printf("Even");
    }

    printf("Odd");
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | char main (int argc) {
      | ^~~~
a.cc:3:6: warning: 'int main(int)' takes only zero or two arguments [-Wmain]
    3 | char main (int argc) {
      |      ^~~~
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:12: error: reached end of file while parsing
    }
     ^
1 error
Language: C++

#include <iostream>
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:9:10: error: lvalue required as left operand of assignment
    9 |   if ( c % 2 = 0 ) cout << "even" << endl;
      |        ~~^~~
Language: C++

#include <iostream>
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:19: error: expected primary-expression before ';' token
    7 |   cin >> a >> b >>;
      |                   ^
a.cc:9:10: error: lvalue required as left operand of assignment
    9 |   if ( c % 2 = 0 ) cout << "even" << endl
      |        ~~^~~
a.cc:9:42: error: expected ';' before 'else'
    9 |   if ( c % 2 = 0 ) cout << "even" << endl
      |                                          ^
      |                                          ;
   10 |   else
      |   ~~~~
Language: C++

#include <iostream>
using namespace std;

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


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

#include <iostream>
using namespace std;

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


Compiler output:
a.cc:10:13: warning: multi-character character constant [-Wmultichar]
   10 |     cout << 'even' << endl
      |             ^~~~~~
a.cc:12:13: warning: multi-character character constant [-Wmultichar]
   12 |     cout << 'odd' << endl;
      |             ^~~~~
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:3: error: expected initializer before 'cin'
    7 |   cin >> a >> b >>;
      |   ^~~
a.cc:8:3: error: 'c' was not declared in this scope
    8 |   c = a * b;
      |   ^
a.cc:9:20: error: 'then' was not declared in this scope
    9 |   if ( c % 2 = 0 ) then
      |                    ^~~~
Language: C++

#include <bits/stdc++>
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:1:10: fatal error: bits/stdc++: No such file or directory
    1 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
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++

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


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin >> a >>b;
      |         ^~~
a.cc:5:25: error: 'cout' was not declared in this scope
    5 |         if (c % 2 == 0) cout << "Even" << endl;
      |                         ^~~~
a.cc:5:43: error: 'endl' was not declared in this scope
    5 |         if (c % 2 == 0) cout << "Even" << endl;
      |                                           ^~~~
a.cc:6:14: error: 'cout' was not declared in this scope
    6 |         else cout << "0dd" << endl;
      |              ^~~~
a.cc:6:31: error: 'endl' was not declared in this scope
    6 |         else cout << "0dd" << 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 << "0dd" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: 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:25: error: 'cout' was not declared in this scope
    7 |         if (c % 2 == 0) cout << "Even" << endl;
      |                         ^~~~
a.cc:7:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:43: 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:14: error: 'cout' was not declared in this scope
    8 |         else cout << "0dd" << endl;
      |              ^~~~
a.cc:8:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:31: error: 'endl' was not declared in this scope
    8 |         else cout << "0dd" << endl;
      |                               ^~~~
a.cc:8:31: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
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 << "0dd" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: 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:25: error: 'cout' was not declared in this scope
    7 |         if (c % 2 == 0) cout << "Even" << endl;
      |                         ^~~~
a.cc:7:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:43: 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:14: error: 'cout' was not declared in this scope
    8 |         else cout << "0dd" << endl;
      |              ^~~~
a.cc:8:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:31: error: 'endl' was not declared in this scope
    8 |         else cout << "0dd" << endl;
      |                               ^~~~
a.cc:8:31: 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";
	}
	else
	{
		cout<<"Odd";
	}
	return 0;
 }

Compiler output:
a.cc:5:9: error: expected primary-expression before 'int'
    5 |         int a,b;
      |         ^~~
a.cc:5:9: error: expected '}' before 'int'
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
a.cc:6:9: error: 'cin' does not name a type
    6 |         cin>>a>>b;
      |         ^~~
a.cc:7:9: error: expected unqualified-id before 'if'
    7 |         if(a*b%2==0)
      |         ^~
a.cc:11:9: error: expected unqualified-id before 'else'
   11 |         else
      |         ^~~~
a.cc:15:9: error: expected unqualified-id before 'return'
   15 |         return 0;
      |         ^~~~~~
a.cc:16:2: error: expected declaration before '}' token
   16 |  }
      |  ^
Language: C++

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

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;

public class A_Product {
    public static void main(String[] args) throws IOException {
        BufferedReader reader = new BufferedReader(new InputStreamReader(System.in));
        String[] inputs = reader.readLine().split(" ");
        if(Integer.parseInt(inputs[0]) * Integer.parseInt(inputs[1]) % 2 == 0)
            System.out.println("Even");
        else
            System.out.println("Odd");
    }
}

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

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

Compiler output:
Main.java:5: error: package scan does not exist
        int a = new scan.next();
                        ^
Main.java:6: error: package scan does not exist
        int b = new scan.next();
                        ^
2 errors
Language: C++

#include <stdio.h>
#include <iostream>

int main(){
	int first, second, tgt;

	cin >> first >> second;
	tgt = first * second;
	if(tgt - tgt/2 == tgt /2){
		cout << "Even" << endl;
	}else{
		cout << "Odd" << endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> first >> second;
      |         ^~~
      |         std::cin
In file included from a.cc:2:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |                 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:10:35: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |                 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:12:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |                 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:12:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |                 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>
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:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     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:6:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:8:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Odd" << endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:41: error: expected ')' before ';' token
    7 |   (a*b)%2 == 0 ? (cout << "Even" << endl;) : (cout << "Odd" << endl;);
      |                  ~                      ^
      |                                         )
a.cc:7:41: error: expected ':' before ';' token
    7 |   (a*b)%2 == 0 ? (cout << "Even" << endl;) : (cout << "Odd" << endl;);
      |                                         ^
      |                                         :
a.cc:7:41: error: expected primary-expression before ';' token
a.cc:7:42: error: expected primary-expression before ')' token
    7 |   (a*b)%2 == 0 ? (cout << "Even" << endl;) : (cout << "Odd" << endl;);
      |                                          ^
a.cc:7:69: error: expected primary-expression before ')' token
    7 |   (a*b)%2 == 0 ? (cout << "Even" << endl;) : (cout << "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;
  }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:19: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
   16 |     cout < "Even" << 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;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:11: error: expected primary-expression before ',' token
   16 |     cout <, "Even" << endl;
      |           ^
a.cc:16:20: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
   16 |     cout <, "Even" << endl;
      |             ~~~~~~~^~~~~~~
Language: C++

#include <stdio.h>

void 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");
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void)
      | ^~~~
Language: C++

#include <stdio.h>

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

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

import java.util.Scanner;

public class ABC_086_A {

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

}


Compiler output:
Main.java:3: error: class ABC_086_A is public, should be declared in a file named ABC_086_A.java
public class ABC_086_A {
       ^
1 error
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:4:1: error: 'cin' was not declared in this scope
    4 | cin>>a>>b;
      | ^~~
a.cc:6:14: error: 'puts' was not declared in this scope
    6 | if(c%2 == 0) puts("Even");
      |              ^~~~
a.cc:7:6: error: 'puts' was not declared in this scope
    7 | else puts("Odd");
      |      ^~~~
Language: C++

#include <bits/stdc++.h>

#define rep(i,n) for(int i=0; i<n; i++)

using namespace std;


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


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

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

int main()
{
  int a,b,ans;
  cin >> a >> b;
  ans = 0;
  ans = a * b;

  if(ans % 2 = 0)cout << "Even" << endl;
  else cout << "Odd" << endl;
}


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

using namespace std;
#include <iostream>

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

  return 0;
}


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

#include<iostream>
#include<algorithm>
using namespace std;
int main(){
    int a, b;//X, A, B;//N, A;
    if(a * b % 2 == 0)
        cout << "Even\n";
    else 
        cout << "Odd\n"

        return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: expected ';' before 'return'
    9 |         cout << "Odd\n"
      |                        ^
      |                        ;
   10 | 
   11 |         return 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 if{
    cout << "Odd" << endl;
  }
}


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

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin >> a >> b;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |                 cout << "Even" << "\n";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |                 cout << "Odd" << "\n";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

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: Java

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class Product {

	public static void main(String[] args) throws Exception {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		String x = br.readLine();
		String[] cut = x.split(" ");
		int a = Integer.parseInt(cut[0]);
		int b = Integer.parseInt(cut[1]);

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before '=' token
    6 |   if(a*b%==2) std::cout<<"Even"<<std::endl;
      |           ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: warning: division by zero [-Wdiv-by-zero]
    6 |   if(a*b%=0) std::cout<<"Even"<<std::endl;
      |      ~~~^~~
a.cc:6:7: error: lvalue required as left operand of assignment
    6 |   if(a*b%=0) std::cout<<"Even"<<std::endl;
      |      ~^~
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before '=' token
    6 |   if(a*b%==0) std::cout<<"Even"<<std::endl;
      |           ^
Language: C++

#include<stdio.h>
int main(void) {

	int c=0,i, n, t[100000], x[100000], y[100000];


	scanf_s("%d", &n);
	for (i = 1; i <= n; i++) {
		scanf_s("%d %d %d", &t[i], &x[i], &y[i]);
	}

		for (i = 0; i < n ; i++) {
			t[0] = 0;
			x[0] = 0;
			y[0] = 0;
			int a = x[i] - x[i + 1];
			int b = y[i] - y[i + 1];
			if (a < 0) {
				a = -a;
			}
			if (b < 0) {
				b = -b;
			}
			if ((t[i + 1] - t[i]) >= 0) {
			if ((a + b) <= (t[i + 1] - t[i])) {
				if ((t[i + 1] - t[i]) % 2 == 0) {
					if ((a + b) % 2 == 0) {
						c++;
					}
				}
				else {
					if ((a + b) % 2 == 1) {
						c++;
					}
				}
			}
		}
	}

		if (c = n) {
			printf("Yes\n");
		}
		else {
			printf("No\n");
		}

	return 0;
}

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:5:19: error: 'count' was not declared in this scope
    5 |   if (c % 2 == 0) count <<"Even" << endl;
      |                   ^~~~~
a.cc:5:37: error: 'endl' was not declared in this scope
    5 |   if (c % 2 == 0) count <<"Even" << endl;
      |                                     ^~~~
a.cc:6:8: error: 'count' was not declared in this scope
    6 |   else count <<"Odd"<< endl;
      |        ^~~~~
a.cc:6:24: error: 'endl' was not declared in this scope
    6 |   else count <<"Odd"<< endl;
      |                        ^~~~
a.cc:6:29: error: expected '}' at end of input
    6 |   else count <<"Odd"<< endl;
      |                             ^
a.cc:1:11: note: to match this '{'
    1 | int main(){
      |           ^
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: lvalue required as left operand of assignment
    8 |   if (!(a * b / 2 % 2 = 0)) {
      |         ~~~~~~~~~~^~~
a.cc:11:22: error: lvalue required as left operand of assignment
   11 |   else if (a * b / 2 % 2 = 0) {
      |            ~~~~~~~~~~^~~
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:6: error: expected '(' before '!' token
    8 |   if !(a * b / 2 % 2 = 0) {
      |      ^
      |      (
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else if (a * b / 2 % 2 = 0) {
      |   ^~~~
a.cc:11:22: error: lvalue required as left operand of assignment
   11 |   else if (a * b / 2 % 2 = 0) {
      |            ~~~~~~~~~~^~~
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:7:16: error: expected ',' or ';' before ':' token
    7 |   int c = a * b:
      |                ^
a.cc:10:5: error: 'else' without a previous 'if'
   10 |   } else {
      |     ^~~~
Language: C++

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

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

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

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

}

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

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

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

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


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

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

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

#include <iostream>

int main() {

	int A, B, C;

	std::cin >> A >> B >> C;

	if (A + B - C = > 0) {
		std::cout << "Yes "
			<< std::endl;
	}
	else {
		std::cout << "No "
		<< std::endl;
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: expected primary-expression before '>' token
    9 |         if (A + B - C = > 0) {
      |                         ^
Language: C++

#include <iosteream>

int main() {
  
  int a,b;
  
  std::cin << a;
    
    std::cin << b;
    
    std::cout >> a % 2 == 0 >> "0dd" >> std::endl;

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

#include<iostream>
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:4:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |     cin>>a>>b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a;
      |   ^~~
      |   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
      |                  ^~~
Language: C++

#include <iosteream>

int main() {
  
  int a,b;
  
  std::cout << "aを入力" << std::endl >> a
    
    std::cout << "bを入力" << std::endl >> b

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

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


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

#include <iostream>

int main() {

int a << b

std::cout << a

std::cout << b



Compiler output:
a.cc: In function 'int main()':
a.cc:5:7: error: expected initializer before '<<' token
    5 | int a << b
      |       ^~
a.cc:9:15: error: expected '}' at end of input
    9 | std::cout << b
      |               ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C++

#include <iostream>
int main(){
stb::cin >> a>>b
c = a * b
if (c % 2 = 0){
  std::cout << "Even"
}else{
  std::cout << "Odd"
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:1: error: 'stb' has not been declared
    3 | stb::cin >> a>>b
      | ^~~
a.cc:3:13: error: 'a' was not declared in this scope
    3 | stb::cin >> a>>b
      |             ^
a.cc:3:16: error: 'b' was not declared in this scope
    3 | stb::cin >> a>>b
      |                ^
a.cc:7:2: error: 'else' without a previous 'if'
    7 | }else{
      |  ^~~~
a.cc:8:21: error: expected ';' before '}' token
    8 |   std::cout << "Odd"
      |                     ^
      |                     ;
    9 | }
      | ~
Language: C++

#include <iostream>
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:4:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 | cin>>a>>b;
      | ^~~
      | std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include <iostream>
stb::cin >> a b
c = a * b
if (c % 2 = 0){
  std::cout << "Even"
}else{
  std::cout << "Odd"
}

Compiler output:
a.cc:2:1: error: 'stb' does not name a type
    2 | stb::cin >> a b
      | ^~~
a.cc:6:2: error: expected unqualified-id before 'else'
    6 | }else{
      |  ^~~~
Language: Java

import java.util.*;

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

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

    if (c % 2 == 0) {
      System.out.print("Even");
    } else {
      System.out.print("Odd");
    }
  }
}


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

#include <iostream.h>
using namespace std;

int main(){

  int a = 0;
  int b = 0;
  scanf("%d %d\n",%a,%b);

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

  return 0;
}

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

#include <iostream.h>
using namespace std;

int main(int a,int b){

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

  return 0;
}

Compiler output:
a.cc:1:10: fatal error: iostream.h: No such file or directory
    1 | #include <iostream.h>
      |          ^~~~~~~~~~~~
compilation terminated.
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:10:20: error: expected primary-expression before '%' token
   10 |         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:1:1: error: stray '\' in program
    1 | \#include <bits/stdc++.h>
      | ^
a.cc:1:2: error: stray '#' in program
    1 | \#include <bits/stdc++.h>
      |  ^
a.cc:1:3: error: 'include' does not name a type
    1 | \#include <bits/stdc++.h>
      |   ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:16: error: 'cout' was not declared in this scope
    7 |   if(a*b%2==0) cout << "Even" << endl;
      |                ^~~~
a.cc:7:34: error: 'endl' was not declared in this scope
    7 |   if(a*b%2==0) cout << "Even" << endl;
      |                                  ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << "Odd" << endl;
      |        ^~~~
a.cc:8:25: error: 'endl' was not declared in this scope
    8 |   else cout << "Odd" << endl;
      |                         ^~~~
Language: C++

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

int main(){
  int a,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: lvalue required as left operand of assignment
    7 |   if(a*b%2=0) cout << "Even" << endl;
      |      ~~~^~
Language: C++

    #include <iostream>
    using namespace std;
    int main(){
    string a,b;
    cin>>a>>b;
    int x=stoi(a+b);
    for(int i=1; i<=1000; i++)
    if(i*i ==x){
    cout<<"Yes"<<endl;
    }
    else 
    cout<<"No"<<endl;
    }
    }

Compiler output:
a.cc:14:5: error: expected declaration before '}' token
   14 |     }
      |     ^
Language: C++

#include <iostream>
using namespace std;
int main(){
string a,b;
cin>>a>>b;
int x=stoi(a+b);
for(int i=1; i<=1000; i++)
if(i*i ==x){
cout<<"Yes"<<endl;
}
}
else {
cout<<"No"<<endl;
}

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

#include <iostream>
using namespace std;
int main(){
string a,b;
cin>>a>>b;
int x=stoi(a+b);
for(int i=1; i<=1000 i++)
if(i*i ==x)
cout<<"Yes"<<endl;
else 
cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: expected ';' before 'i'
    7 | for(int i=1; i<=1000 i++)
      |                     ^~
      |                     ;
Language: C++

#include <iostream>
int main(){
using namespace std;
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:14: error: expected primary-expression before '<' token
    7 | cout<<"Odd"<<<endl;
      |              ^
Language: C++

#include <iostream>
using namespace std;

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

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

#include<iostream>
using namespace std;

int a,b;

cin>>a" "b;

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

else
  cout<<"Odd"<<endl;

Compiler output:
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>a" "b;
      | ^~~
a.cc:8:1: error: expected unqualified-id before 'if'
    8 | if(((a*b)%2)==0)
      | ^~
a.cc:11:1: error: expected unqualified-id before 'else'
   11 | else
      | ^~~~
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 << "Even" << endl;
    }
  else {
    cout << "Odd" << endl;
  }
}
    

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

main = do
      e<-getLine
      let (x:y:[])=map read (words e)::[Int]
      putStrLn $ if (x*y) `mod` 2==1 then "Odd" else "Even" 

Compiler output:
a.cc:4:27: error: stray '`' in program
    4 |       putStrLn $ if (x*y) `mod` 2==1 then "Odd" else "Even"
      |                           ^
a.cc:4:31: error: stray '`' in program
    4 |       putStrLn $ if (x*y) `mod` 2==1 then "Odd" else "Even"
      |                               ^
a.cc:1:1: error: 'main' does not name a type
    1 | main = do
      | ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:7: error: 'cour' was not declared in this scope
   11 |       cour<<"Odd"<<endl;
      |       ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int (i)=(a);(i)<(b);(i)++)
#define rep(i,n) FOR(i,0,n)

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

//cout << ans?"Yes":"No" << endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:11:34: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
   11 |         cout << ans?"Even":"Odd" << endl;
      |                            ~~~~~~^~~~~~~
Language: C++

#include <tostream>
using namespace std;

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

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> value1 >> value2;
      |   ^~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "Even" << endl;
      |     ^~~~
a.cc:9:23: error: 'endl' was not declared in this scope
    9 |     cout << "Even" << endl;
      |                       ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << "Odd" << endl;
      |     ^~~~
a.cc:13:22: error: 'endl' was not declared in this scope
   13 |     cout << "Odd" << endl;
      |                      ^~~~
Language: C

#include <stdio.h>

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

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

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:7:16: error: invalid operands to binary & (have 'char *' and 'int')
    7 |   scanf("%d%d" &a,&b);
      |         ~~~~~~ ^
      |         |
      |         char *
main.c:12:19: error: expected ';' before '}' token
   12 |     printf("Even")
      |                   ^
      |                   ;
   13 |   }
      |   ~                
main.c:16:18: error: expected ';' before '}' token
   16 |     printf("Odd")
      |                  ^
      |                  ;
   17 |   }
      |   ~
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:13:6: error: expected '}' at end of input
   13 |     }
      |      ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^