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

#include<iostream>

using namestream std;

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

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namestream'
    3 | using namestream std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   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:9:3: error: 'c' was not declared in this scope
    9 |   c = a * b;
      |   ^
a.cc:12:5: 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:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |     cout << "Odd" << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     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:14:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     cout << "Even" << endl;
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C

#include <stdio.h>
int main(void){
    int a,b,c;
    
    scanf("%d %d", &a, &b);
    
    c=a*b;
    
    if(c % 2 == 0){
        printf("even\n");
    }else{
        printf("odd\n")
    }
    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:12:24: error: expected ';' before '}' token
   12 |         printf("odd\n")
      |                        ^
      |                        ;
   13 |     }
      |     ~
Language: Java

function main(input) {
  const args=input.split(" ");
  const a=parseInt(args[0],10);
  const b = parseInt(args[1], 10);  
    console.log(input);
  if((a*b)%2==0){
    console.log("Even");
  }
  else {
    console.log("Odd");
  }
}
main(require('fs').readFileSync('/dev/stdin', 'utf8'));

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
function main(input) {
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: <identifier> expected
function main(input) {
                   ^
Main.java:2: error: illegal start of expression
  const args=input.split(" ");
  ^
Main.java:3: error: illegal start of expression
  const a=parseInt(args[0],10);
  ^
Main.java:4: error: illegal start of expression
  const b = parseInt(args[1], 10);  
  ^
Main.java:13: error: class, interface, enum, or record expected
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
^
Main.java:13: error: unclosed character literal
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
             ^
Main.java:13: error: unclosed character literal
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
                ^
Main.java:13: error: unclosed character literal
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
                                ^
Main.java:13: error: unclosed character literal
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
                                           ^
Main.java:13: error: unclosed character literal
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
                                              ^
Main.java:13: error: unclosed character literal
main(require('fs').readFileSync('/dev/stdin', 'utf8'));
                                                   ^
12 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
main() {
  a, b; cin >> a >> b;
  cout << (((a&1)&(b&1))?"Even":"Odd") << endl;
}

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:4:3: error: 'a' was not declared in this scope
    4 |   a, b; cin >> a >> b;
      |   ^
a.cc:4:6: error: 'b' was not declared in this scope
    4 |   a, b; cin >> a >> b;
      |      ^
Language: C++

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

int main() {
  int A, B;
  cin >> A >> B;
  if (A-A/2*2 = 0 || B-B/2*2 = 0){
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: lvalue required as left operand of assignment
    7 |   if (A-A/2*2 = 0 || B-B/2*2 = 0){
      |                 ~~^~~~~~~~~~
Language: C++

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

int main() {
  int A, B;
  cin >> A >> B;
  if (A-A/2*2=0 || B-B/2*2=0){
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }

}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: lvalue required as left operand of assignment
    7 |   if (A-A/2*2=0 || B-B/2*2=0){
      |               ~~^~~~~~~~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
  int a, b, multi;
  cin >> a >> b;
  multi = a * b;
  if ((multi % 2) == 1)
    cout << "Odd\n";
  else
    cout << "Even/n"

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: expected ';' before 'return'
   11 |     cout << "Even/n"
      |                     ^
      |                     ;
   12 | 
   13 |   return 0;
      |   ~~~~~~
Language: C++

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

int main() {
  int A, B;
  
  cin >> A >> op >> B;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 'op' was not declared in this scope
    7 |   cin >> A >> op >> B;
      |               ^~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:32: error: expected ';' before '}' token
    8 |     else if(z%2==1){cout<<"Odd"}
      |                                ^
      |                                ;
Language: Java

import java.util.Scanner;

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

		Scanner sc = new Scanner(System.in);

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

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


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

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

		java.util.Scanner sc = new java.util.Scanner(System.in);

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

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



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

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

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

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

Compiler output:
a.cc:9:33: warning: multi-character character constant [-Wmultichar]
    9 |   if (product % 2 == 0) cout << 'Even' << endl;
      |                                 ^~~~~~
a.cc:10:16: warning: multi-character character constant [-Wmultichar]
   10 |   else cout << 'Odd' << endl;
      |                ^~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'product' was not declared in this scope
    8 |   product = a * b;
      |   ^~~~~~~
Language: C++

a, b = map(int, input().split())

if (a*b % 2 == 1):
    print('Odd')
else:
    print(Even)

Compiler output:
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('Odd')
      |           ^~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a, b = map(int, input().split())
      | ^
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";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected ';' before string constant
   10 |     cout "Odd";
      |         ^~~~~~
      |         ;
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";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: lvalue required as left operand of assignment
    7 |   if(a*b % 2 = 0){
      |      ~~~~^~~
a.cc:10:9: error: expected ';' before string constant
   10 |     cout "Odd";
      |         ^~~~~~
      |         ;
Language: C++

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

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


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

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

int main() {
  int A, B;
  C=A*B;
  
  if(C%2==1){
    cout<<"Odd"<<endl;
  }
  else if(c%2==0){
    cout<<"Even"<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'C' was not declared in this scope
    6 |   C=A*B;
      |   ^
a.cc:11:11: error: 'c' was not declared in this scope
   11 |   else if(c%2==0){
      |           ^
Language: C++

#include<bits/std++.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:9: fatal error: bits/std++.h: No such file or directory
    1 | #include<bits/std++.h>
      |         ^~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/std++>

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

#include<iostream>

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:14: error: lvalue required as left operand of assignment
   10 |         if (m%2 = 0)
      |             ~^~
a.cc:12:14: error: lvalue required as left operand of assignment
   12 |         if (m%2 = 1)
      |             ~^~
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:7:11: error: expected primary-expression before '%' token
    7 |   if (a*b)%2==0
      |           ^
Language: C++

package main

import . "fmt"

func main() {
	var a, b int
	Scan(&a)
	Scan(&b)
	if a*b%2 == 0 {
		println("Even")
	} else {
		println("Odd")
	}
}

Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package main
      | ^~~~~~~
Language: C++

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

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

  R = a * b;
  if ((R % 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 ((R % 2) = 0) {
      |       ~~~^~~~
Language: C++

read a
read b

if [ ! a*b%2 ]; then
	echo "Even"
elif [ a*b%2 ]; then
    echo "Odd"
fi

Compiler output:
a.cc:1:1: error: 'read' does not name a type
    1 | read a
      | ^~~~
a.cc:4:17: error: 'then' does not name a type
    4 | if [ ! a*b%2 ]; then
      |                 ^~~~
a.cc:6:17: error: 'then' does not name a type
    6 | elif [ a*b%2 ]; then
      |                 ^~~~
Language: C++

read a
read b

if [ $((a*b/2)) ]; then
	echo "Even"
elif [ ! $((a*b/2)) ]; then  
    echo "Odd"
fi

Compiler output:
a.cc:1:1: error: 'read' does not name a type
    1 | read a
      | ^~~~
a.cc:4:20: error: 'then' does not name a type
    4 | if [ $((a*b/2)) ]; then
      |                    ^~~~
a.cc:6:24: error: 'then' does not name a type
    6 | elif [ ! $((a*b/2)) ]; then
      |                        ^~~~
Language: C++

read a
read b

if [ a*b/2 ]; then
	echo "Even"
elif [ ! a*b/2 ]; then
    echo "Odd"
fi

Compiler output:
a.cc:1:1: error: 'read' does not name a type
    1 | read a
      | ^~~~
a.cc:4:15: error: 'then' does not name a type
    4 | if [ a*b/2 ]; then
      |               ^~~~
a.cc:6:19: error: 'then' does not name a type
    6 | elif [ ! a*b/2 ]; then
      |                   ^~~~
Language: C++

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

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

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


#include <stadio.h>

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

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

#include<iostream>
using namespace std;

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








}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: lvalue required as left operand of assignment
   10 |         a * b = c
      |         ~~^~~
a.cc:14:5: error: 'else' without a previous 'if'
   14 |     else
      |     ^~~~
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:6:3: error: 'cin' was not declared in this scope
    6 |   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:8:18: error: 'cout' was not declared in this scope
    8 |   if(c % 2 == 0) cout << "Even" << endl;
      |                  ^~~~
a.cc:8:18: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:36: error: 'endl' was not declared in this scope
    8 |   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:9:8: error: 'cout' was not declared in this scope
    9 |   else cout << "Odd" << endl;
      |        ^~~~
a.cc:9:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:25: error: 'endl' was not declared in this scope
    9 |   else cout << "Odd" << endl;
      |                         ^~~~
a.cc:9:25: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

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

#include <iostream>
using namespace std;
 
int main {
  uint32_t a,b;
  cin >> a >> b;
  if (a*b % 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.cc:5:3: error: 'uint32_t' was not declared in this scope
    5 |   uint32_t a,b;
      |   ^~~~~~~~
a.cc:2:1: note: 'uint32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
    1 | #include <iostream>
  +++ |+#include <cstdint>
    2 | using namespace std;
a.cc:5:12: error: expected '}' before 'a'
    5 |   uint32_t a,b;
      |            ^
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if (a*b % 2 == 0) {
      |   ^~
a.cc:9:5: error: expected unqualified-id before 'else'
    9 |   } else {
      |     ^~~~
Language: C++

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

Compiler output:
a.cc:4:1: error: 'main' does not name a type
    4 | main {
      | ^~~~
Language: C++

#include <iostream>
namespace std;

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

Compiler output:
a.cc:2:14: error: expected '{' before ';' token
    2 | namespace std;
      |              ^
a.cc:4:1: error: 'main' does not name a type
    4 | main {
      | ^~~~
Language: C++

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


Compiler output:
a.cc:4:1: error: expected initializer before 'cin'
    4 | cin >> a >> b;
      | ^~~
a.cc:5:1: error: expected unqualified-id before 'if'
    5 | if a*b % 2 == 0;
      | ^~
a.cc:6:9: error: 'cout' does not name a type
    6 |         cout << "Even" << endl
      |         ^~~~
a.cc:8:9: error: 'cout' does not name a type
    8 |         cout << "Odd" << endl
      |         ^~~~
Language: C++

#include<iostream>
using namespace std;
using namespace string;
int a, b
cin >> a >> b;
if a*b % 2 == 0;
	cout << "Even" << endl
else;
	cout << "Odd" << endl


Compiler output:
a.cc:3:17: error: 'string' is not a namespace-name
    3 | using namespace string;
      |                 ^~~~~~
a.cc:5:1: error: expected initializer before 'cin'
    5 | cin >> a >> b;
      | ^~~
a.cc:6:1: error: expected unqualified-id before 'if'
    6 | if a*b % 2 == 0;
      | ^~
a.cc:7:9: error: 'cout' does not name a type
    7 |         cout << "Even" << endl
      |         ^~~~
a.cc:9:9: error: 'cout' does not name a type
    9 |         cout << "Odd" << endl
      |         ^~~~
Language: C++

#include<iosstream>
using namespace std;
using namespace string;
int a, b
cin >> a >> b;
if a*b % 2 == 0;
	cout << "Even" << endl
else;
	cout << "Odd" << endl

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected primary-expression before ';' token
    6 |   cin >> a >> b >>;
      |                   ^
a.cc:7:12: error: expected ';' before 'if'
    7 |   c = a * b
      |            ^
      |            ;
    8 |   if(c%2 == 1){
      |   ~~        
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else{
      |   ^~~~
Language: C++

#include <iostream>
using namespace std;

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

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

import java.util.*

class Main{
 	public static void main(string[]){
		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:1: error: ';' expected
import java.util.*
                  ^
Main.java:4: error: <identifier> expected
 	public static void main(string[]){
 	                                ^
2 errors
Language: C++

#include <iostream>
using namespace std;

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:33: error: expected ';' before ')' token
    8 |   cout << ((a*b)%2)?"Odd":"Even") << endl;
      |                                 ^
      |                                 ;
Language: C++

#include <iostream>
using namespace std;

int main()
{
  cint >> a >> b;
  cout << ((a*b)%2?Even:Odd) << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cint' was not declared in this scope; did you mean 'uint'?
    6 |   cint >> a >> b;
      |   ^~~~
      |   uint
a.cc:6:11: error: 'a' was not declared in this scope
    6 |   cint >> a >> b;
      |           ^
a.cc:6:16: error: 'b' was not declared in this scope
    6 |   cint >> a >> b;
      |                ^
a.cc:7:20: error: 'Even' was not declared in this scope
    7 |   cout << ((a*b)%2?Even:Odd) << endl;
      |                    ^~~~
a.cc:7:25: error: 'Odd' was not declared in this scope
    7 |   cout << ((a*b)%2?Even:Odd) << endl;
      |                         ^~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: expected primary-expression before '>' token
    6 |   cin >>a>>>b;
      |            ^
Language: Java

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int a =  Integer.parseInt(scan.next());
		int b =  Integer.parseInt(scan.next());
		scan.close();

		if(a*b%2 == 1){
			return "Odd"
		}else {
			return "Even"
		}

	}

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)
Main.java:8: error: ';' expected
			return "Odd"
			            ^
Main.java:10: error: ';' expected
			return "Even"
			             ^
3 errors
Language: C

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


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

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

Compiler output:
main.c: In function 'main':
main.c:11:5: error: expected declaration or statement at end of input
   11 |     }
      |     ^
Language: C

#include<stdio.h>

int main(void) {
	int a, b,c=0;
	scanf_s("%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:9: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    5 |         scanf_s("%d %d", &a, &b);
      |         ^~~~~~~
      |         scanf
Language: C++

#include <string>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin >> a >> b;
      |     ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <string>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << (((a * b) % 2 == 0) ? "Even" : "Odd") << endl;
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:54: error: 'endl' was not declared in this scope
    8 |     cout << (((a * b) % 2 == 0) ? "Even" : "Odd") << endl;
      |                                                      ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include <string>
  +++ |+#include <ostream>
    2 | using namespace std;
Language: C++

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

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

#include(iostream)
using namespace std;

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

Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include(iostream)
      |         ^
a.cc:9:33: error: empty character constant
    9 |         if (c % 2 == 0) cout << ''Even'' << endl;
      |                                 ^~~~~~
a.cc:9:39: error: empty character constant
    9 |         if (c % 2 == 0) cout << ''Even'' << endl;
      |                                       ^~
a.cc:10:32: error: empty character constant
   10 |         if (c % 2 == 1)cout << ''odd'' << end;
      |                                ^~~~~
a.cc:10:37: error: empty character constant
   10 |         if (c % 2 == 1)cout << ''odd'' << end;
      |                                     ^~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin a >> b;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include(iostream)
a.cc:9:25: error: 'cout' was not declared in this scope
    9 |         if (c % 2 == 0) cout << ''Even'' << endl;
      |                         ^~~~
a.cc:9:25: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:33: error: unable to find character literal operator 'operator""Even' with 'char' argument
    9 |         if (c % 2 == 0) cout << ''Even'' << endl;
      |                                 ^~~~~~
a.cc:10:24: error: 'cout' was not declared in this scope
   10 |         if (c % 2 == 1)cout << ''odd'' << end;
      |                        ^~~~
a.cc:10:24: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:32: error: unable to find character literal operator 'operator""odd' with 'char' argument
   10 |         if (c % 2 == 1)cout << ''odd'' << end;
      |                                ^~~~~
Language: Java

import java.util.Scanner;

public class A {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int a = Integer.parseInt(sc.next());
        int b = Integer.parseInt(sc.next());

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


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

include<stdio.h>

int a,b;

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

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |   scanf("%d%d", &a, &b);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | include<stdio.h>
main.c:6:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |   scanf("%d%d", &a, &b);
      |   ^~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:6:18: error: 'a' undeclared (first use in this function)
    6 |   scanf("%d%d", &a, &b);
      |                  ^
main.c:6:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:22: error: 'b' undeclared (first use in this function)
    6 |   scanf("%d%d", &a, &b);
      |                      ^
main.c:8:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |     printf("Even");
      |     ^~~~~~
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   10 |     printf("Odd");
      |     ^~~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

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

class Main {
  public static void main(String[] args) throws java.lang.Exception {
    
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    int[] intArray = Arrays.stream(br.readLine().split(" "))
                    .mapToInt(Integer::parseInt)
                    .toArray();

    int a = intArray[0];
    int b = intArray[1];

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

Compiler output:
Main.java:17: error: cannot find symbol
      system.out.println(Even);
                         ^
  symbol:   variable Even
  location: class Main
Main.java:17: error: package system does not exist
      system.out.println(Even);
            ^
Main.java:19: error: cannot find symbol
      system.out.println(Odd);
                         ^
  symbol:   variable Odd
  location: class Main
Main.java:19: error: package system does not exist
      system.out.println(Odd);
            ^
4 errors
Language: Java

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

class Main {
  public static void main(String[] args) throws java.lang.Exception {
    
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));

    int[] intArray = Arrays.stream(br.readLine().split(" "))
                    .mapToInt(Integer::parseInt)
                    .toArray();

    int a = intArray[0];
    int b = intArray[1];
    
    if ((a*b)%2 == 0){
      system.out.println("Even");
    } else {
      system.out.println("Odd");
    }
  }
}

Compiler output:
Main.java:17: error: package system does not exist
      system.out.println("Even");
            ^
Main.java:19: error: package system does not exist
      system.out.println("Odd");
            ^
2 errors
Language: Java

mport java.util.Scanner;

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

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

		int c = a * b;

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

	}
}

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

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

	return 0;
}


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

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

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

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

include<iostream>

using namespace std;

int main(){
  int n;
  int m;
  cin>>n;//読み込み
  cin>>m;
  //cout<<n<<endl;//System.out.println
  if(m*n%2==0){
    cout<<"Even"<<endl;
  }else{
    cout << "0dd" << endl;
  }
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin>>n;//読み込み
      |   ^~~
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout<<"Even"<<endl;
      |     ^~~~
a.cc:12:19: error: 'endl' was not declared in this scope
   12 |     cout<<"Even"<<endl;
      |                   ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << "0dd" << endl;
      |     ^~~~
a.cc:14:22: error: 'endl' was not declared in this scope
   14 |     cout << "0dd" << endl;
      |                      ^~~~
Language: Java

#include<iostream>

using namespace std;

int main(){
  int n;
  int m;
  cin>>n;//読み込み
  cin>>m;
  //cout<<n<<endl;//System.out.println
  if(m*n%2==0){
    cout<<"Even"<<endl;
  }else{
    cout << "0dd" << endl;
  }
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:1: error: class, interface, enum, or record expected
#include<iostream>
        ^
Main.java:8: error: not a statement
  cin>>n;//????
     ^
Main.java:9: error: not a statement
  cin>>m;
     ^
Main.java:12: error: not a statement
    cout<<"Even"<<endl;
                ^
Main.java:14: error: not a statement
    cout << "0dd" << endl;
                  ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main(){
^
  (use --enable-preview to enable unnamed classes)
7 errors
Language: C++

#include<ios>
main(){int a,b;std::cin>>a>>b;puts(a&b&1?"Odd":"Even");}

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int a,b;std::cin>>a>>b;puts(a&b&1?"Odd":"Even");}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:21: error: 'cin' is not a member of 'std'
    2 | main(){int a,b;std::cin>>a>>b;puts(a&b&1?"Odd":"Even");}
      |                     ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<ios>
  +++ |+#include <iostream>
    2 | main(){int a,b;std::cin>>a>>b;puts(a&b&1?"Odd":"Even");}
Language: C++

#import<ios>
main(){int a,b;std::cin>>a>>b;puts(a*b%2?"Odd":"Even");}

Compiler output:
a.cc:1:2: warning: #import is a deprecated GCC extension [-Wdeprecated]
    1 | #import<ios>
      |  ^~~~~~
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main(){int a,b;std::cin>>a>>b;puts(a*b%2?"Odd":"Even");}
      | ^~~~
a.cc: In function 'int main()':
a.cc:2:21: error: 'cin' is not a member of 'std'
    2 | main(){int a,b;std::cin>>a>>b;puts(a*b%2?"Odd":"Even");}
      |                     ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #import<ios>
  +++ |+#include <iostream>
    2 | main(){int a,b;std::cin>>a>>b;puts(a*b%2?"Odd":"Even");}
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:10: error: lvalue required as left operand of assignment
    8 |   if (a*b%2=0) {
      |       ~~~^~
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'b' was not declared in this scope; did you mean 'bx'?
    6 |   cin >>a>>b;
      |            ^
      |            bx
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'b' was not declared in this scope; did you mean 'bx'?
    6 |   cin >>a>>b;
      |            ^
      |            bx
Language: C++

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


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 /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |     cout << (a * b % 2 == 0 ? "Even"s : "Odd"s) << 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:5:31: error: unable to find string literal operator 'operator""s' with 'const char [5]', 'long unsigned int' arguments
    5 |     cout << (a * b % 2 == 0 ? "Even"s : "Odd"s) << endl;
      |                               ^~~~~~~
a.cc:5:41: error: unable to find string literal operator 'operator""s' with 'const char [4]', 'long unsigned int' arguments
    5 |     cout << (a * b % 2 == 0 ? "Even"s : "Odd"s) << endl;
      |                                         ^~~~~~
a.cc:5:52: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |     cout << (a * b % 2 == 0 ? "Even"s : "Odd"s) << endl;
      |                                                    ^~~~
      |                                                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

//#define _CRT_SECURE_NO_WARNINGS
#include "bits/stdc++.h"

using namespace std;


void 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:7:1: error: '::main' must return 'int'
    7 | void main() {
      | ^~~~
Language: C++

#include <iostream>
using namespace std;


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

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


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

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

Compiler output:
a.cc:3:1: error: 'in' does not name a type; did you mean 'int'?
    3 | in main(){
      | ^~
      | int
Language: Java

mport java.util.*;

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

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

#include <iostream>
using namespace std;

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

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

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected primary-expression before 'if'
    9 |         s = if (a * b % 2) ? "Odd" : "Even";
      |             ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b;
  cin >> a >> b;
  S.at(3) = '8';
  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:3: error: 'S' was not declared in this scope
    7 |   S.at(3) = '8';
      |   ^
Language: C++

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: expected ';' before string constant
   11 |         cout "Odd" << endl;
      |             ^~~~~~
      |             ;
Language: Java

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

Compiler output:
Main.java:2: 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 stdIn = new Scanner(System.in);
    int a = stdIn.nextInt();
    int b = stdIn.nextInt();
    if((a*b)%2==0){
      System.out.println("Even");
    }else{
      System.out.println("Odd");
    }
  }

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