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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  if  (N % 2 = 1 ) {
    cout << "0dd" << endl;
  }else {
    cout << "Even" << endl;
  }
}


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

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

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

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


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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'B' was not declared in this scope
    8 |   if ( (a * B) % 2 = 1 ) {
      |             ^
Language: C++

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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: expected ',' or ';' before 'if'
    7 |   if (c % 2 == 1) {
      |   ^~
a.cc:10:3: error: 'eles' was not declared in this scope
   10 |   eles {
      |   ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'eles' was not declared in this scope
    9 |   eles if (a * b % 2 == 0) {
      |   ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'eles' was not declared in this scope
    9 |   eles {
      |   ^~~~
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" << end1l;
  else cout << "0dd" << end1l;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:32: error: 'end1l' was not declared in this scope
    8 |   if(c%2==0) cout << "Even" << end1l;
      |                                ^~~~~
a.cc:9:25: error: 'end1l' was not declared in this scope
    9 |   else cout << "0dd" << end1l;
      |                         ^~~~~
Language: C++

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

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

import scala.io.StdIn._
import java.util.Scanner

object Main extends App {

  val scanner = new Scanner(System.in)

  val a = scanner.nextInt()
  val b = scanner.nextInt()

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

}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import scala.io.StdIn._
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
  	int c=b;
  	int i=0;
  while(c>0){
	c=c/10;
    i++;
  }
  int j;
  for(j=0;j<i;j++){
    a=a*10;
  }
  int ans=0;
  ans=a+b;
  for(j=1;j<ans;j++){
    if((ans%j*j%=0 && ans/j*j==1){
      printf("Yes");
    }
       }
       if(j==ans){
         printf("No");
       }
       return 0;
       }

Compiler output:
main.c: In function 'main':
main.c:18:16: error: lvalue required as left operand of assignment
   18 |     if((ans%j*j%=0 && ans/j*j==1){
      |                ^~
main.c:18:34: error: expected ')' before '{' token
   18 |     if((ans%j*j%=0 && ans/j*j==1){
      |       ~                          ^
      |                                  )
main.c:21:8: error: expected expression before '}' token
   21 |        }
      |        ^
Language: C

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
  	int c=b;
  	int i=0;
  while(c>0){
	c=c/10;
    i++;
  }
  int j;
  for(j=0;j<i;j++){
    a=a*10;
  }
  int ans=0;
  ans=a+b;
  for(j=1;j<ans;j++){
    if((ans%j*j%=0 && ans/j*j=1){
      printf("Yes");
    }
       }
       if(j==ans){
         printf("No");
       }
       return 0;
       }

Compiler output:
main.c: In function 'main':
main.c:18:30: error: lvalue required as left operand of assignment
   18 |     if((ans%j*j%=0 && ans/j*j=1){
      |                              ^
main.c:18:33: error: expected ')' before '{' token
   18 |     if((ans%j*j%=0 && ans/j*j=1){
      |       ~                         ^
      |                                 )
main.c:21:8: error: expected expression before '}' token
   21 |        }
      |        ^
Language: C++

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

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


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

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

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


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

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

Compiler output:
main.c:2:4: error: stray '\343' in program
    2 | int<U+3000>main(){
      |    ^~~~~~~~
Language: C

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

Compiler output:
main.c:2:4: error: stray '\343' in program
    2 | int<U+3000>main(){
      |    ^~~~~~~~
main.c: In function 'main':
main.c:7:14: error: expected ';' before 'if'
    7 |         c=a*b
      |              ^
      |              ;
    8 |         if(c%2==0){
      |         ~~
Language: C

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

Compiler output:
main.c:2:4: error: stray '\343' in program
    2 | int<U+3000>main(){
      |    ^~~~~~~~
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:7:11: error: lvalue required as left operand of assignment
    7 |   if ( (A % 2 = 0) || (B % 2 = 0) ) {
      |         ~~^~~
a.cc:7:26: error: lvalue required as left operand of assignment
    7 |   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 % 2 = 0 || B % 2 = 0 ) {
    cout << "even" << endl;
  }
  else {
    cout << "odd" << endl;
  }
}

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

#include <iostream>
#include <cstdio>
#include <string>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <list>
using namespace std;
 
int main() {
    int a, b;
    cin >> a >> b;
    if (a % 2 == 1 && b % 2 == 1) cout << "Even" << endl;
    else cout << "Odd" << endl;
}
#include <iostream>
#include <cstdio>
#include <string>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <list>
using namespace std;
 
int main() {
    int a, b;
    cin >> a >> b;
    if (a % 2 == 1 && b % 2 == 1) cout << "Odd" << endl;
    else cout << "Even" << endl;
}
#include <iostream>
#include <cstdio>
#include <string>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <list>
using namespace std;
 
int main() {
    int a, b;
    cin >> a >> b;
    if (a % 2 == 1 && b % 2 == 1) cout << "Even" << endl;
    else cout << "Odd" << endl;
}


Compiler output:
a.cc:33:5: error: redefinition of 'int main()'
   33 | int main() {
      |     ^~~~
a.cc:14:5: note: 'int main()' previously defined here
   14 | int main() {
      |     ^~~~
a.cc:52:5: error: redefinition of 'int main()'
   52 | int main() {
      |     ^~~~
a.cc:14:5: note: 'int main()' previously defined here
   14 | int main() {
      |     ^~~~
Language: C++

#include <iostream>
#include <cstdio>
#include <string>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <list>
using namespace std;
 
int main() {
    int a, b;
    cin >> a >> b;
    if (a % 2 == 1 && b % 2 == 1) cout << "Even" << endl;
    else cout << "Odd" << endl;
}
#include <iostream>
#include <cstdio>
#include <string>
#include <cmath>
#include <cctype>
#include <cstdlib>
#include <stack>
#include <queue>
#include <vector>
#include <algorithm>
#include <list>
using namespace std;

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


Compiler output:
a.cc:33:5: error: redefinition of 'int main()'
   33 | int main() {
      |     ^~~~
a.cc:14:5: note: 'int main()' previously defined here
   14 | int main() {
      |     ^~~~
Language: C++

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

int main() {
  int a,b;
  cin >> a >> b;
  if ((a*b)%==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 |   if ((a*b)%==1) {
      |              ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'ab' was not declared in this scope; did you mean 'b'?
    7 |     if(ab%2==0) cout << "even" << endl;
      |        ^~
      |        b
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'ab' was not declared in this scope; did you mean 'b'?
    7 |     if(ab%2==0) cout << "even" <, endl;
      |        ^~
      |        b
a.cc:7:33: error: expected primary-expression before ',' token
    7 |     if(ab%2==0) cout << "even" <, endl;
      |                                 ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'ab' was not declared in this scope; did you mean 'b'?
    7 |     if(ab%2==0) cout << "even" <, endl;
      |        ^~
      |        b
a.cc:7:33: error: expected primary-expression before ',' token
    7 |     if(ab%2==0) cout << "even" <, endl;
      |                                 ^
a.cc:8:26: error: expected primary-expression before ',' token
    8 |     else cout << "odd" <<, endl;
      |                          ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'ab' was not declared in this scope; did you mean 'b'?
    7 |     if(ab%2==0) cout << "even" <, endl;
      |        ^~
      |        b
a.cc:7:33: error: expected primary-expression before ',' token
    7 |     if(ab%2==0) cout << "even" <, endl;
      |                                 ^
a.cc:8:25: error: expected primary-expression before ',' token
    8 |     else cout << "odd" <, endl;
      |                         ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int a,b;
  cin>>a>>b;

int main(){

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


Compiler output:
a.cc:4:3: error: 'cin' does not name a type
    4 |   cin>>a>>b;
      |   ^~~
Language: C++

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


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

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

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

#include <iostream>
using namespace std;

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

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

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

int main() {
    int a;
    int b;

    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:10:5: error: 'c' was not declared in this scope
   10 |     c = a * b;
      |     ^
Language: C++

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

int main() {
    int a;
    int b;

    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:10:5: error: 'c' was not declared in this scope
   10 |     c = a * b
      |     ^
a.cc:14:7: error: 'else' without a previous 'if'
   14 |     } else {
      |       ^~~~
Language: Java

import java.util.*;

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

Compiler output:
Main.java:6: error: cannot find symbol
        if ((a * b) % 2 == 0)
             ^
  symbol:   variable a
  location: class Main
Main.java:6: error: cannot find symbol
        if ((a * b) % 2 == 0)
                 ^
  symbol:   variable b
  location: class Main
2 errors
Language: C++

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

int main() {
  int a, b;
  string Odds, Even;
  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:13:13: error: 'Odd' was not declared in this scope; did you mean 'Odds'?
   13 |     cout << Odd << endl;
      |             ^~~
      |             Odds
Language: C++

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

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


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

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

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

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: expected '}' before 'else'
   11 |   else {
      |   ^~~~
a.cc:8:21: note: to match this '{'
    8 |   if(a * b / 2 & 0) {
      |                     ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: 'B' was not declared in this scope
    8 |   if(a * B / 2 & 0) {
      |          ^
a.cc:11:3: error: expected '}' before 'else'
   11 |   else {
      |   ^~~~
a.cc:8:21: note: to match this '{'
    8 |   if(a * B / 2 & 0) {
      |                     ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'a'
    6 |   cin a >> b;
      |      ^~
      |      ;
a.cc:8:10: error: 'B' was not declared in this scope
    8 |   if(a * B / 2 & 0) {
      |          ^
a.cc:11:3: error: expected '}' before 'else'
   11 |   else {
      |   ^~~~
a.cc:8:21: note: to match this '{'
    8 |   if(a * B / 2 & 0) {
      |                     ^
Language: C++

#include<iostream>
#include<algorithm>

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> a >> b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout << "Even";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << "Odd";
      |         ^~~~
      |         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() {
  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:14:4: error: expected '}' at end of input
   14 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: 'Odd' was not declared in this scope
    7 |   if(a * b % 2 == 0) cout << Odd << endl;
      |                              ^~~
a.cc:8:16: error: 'Even' was not declared in this scope
    8 |   else cout << Even << 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:8:15: error: lvalue required as left operand of assignment
    8 |   if ((A * B) % 2 = 0) {
      |       ~~~~~~~~^~~
Language: C++

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

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

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

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

int main() {
  int a,b;
  cin >>a>>b;
  1<=a,b<=10000;
  if (a*b%2=1) {
    cout << "Odd" << endl;
  }
  else {
    cout << "Even" << 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=1) {
      |       ~~~^~
Language: C++

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

int main() {
  int a,b;
  1<=a,b<=10000;
  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:9:10: error: lvalue required as left operand of assignment
    9 |   if (a*b%2=1) {
      |       ~~~^~
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!=0 ){
  cout<<"Odd"<<endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected '}' before 'else'
    9 |   else if (a*b/2!=0 ){
      |   ^~~~
a.cc:7:19: note: to match this '{'
    7 |   if (a*b/2 == 0 ){
      |                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef pair<int, int> pii;
typedef vector<long long> vl;
typedef vector<bool> vb;
#define int long long
typedef vector<int> vi;
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define in insert
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define speed ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define Maxn 4000007
const int INF = 1e9 + 5;
const int mod = 1e9 + 7;
const int  N = 2e5 + 314;
void foo(){
    int a, b;
    cin>>a>>b;
    if(ll(a*b)%2==0)cout<<"Even";
    else cout<<"Odd";   
}
signed main(){
    speed;
    int t=1;
    //cin>>t;
    while(t--)foo();
}

Compiler output:
a.cc: In function 'void foo()':
a.cc:23:8: error: 'll' was not declared in this scope; did you mean 'vl'?
   23 |     if(ll(a*b)%2==0)cout<<"Even";
      |        ^~
      |        vl
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (int)(n); i++)
using namespace std;
using ll = long long;
using P = pair<int,int>;

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:26: error: expected ';' before '}' token
   12 |     cout << "Odd" << endl
      |                          ^
      |                          ;
   13 |   }
      |   ~
Language: C++

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

int main() {

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


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

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

int main() {

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected primary-expression before '==' token
    8 |    if (a*b % == 0){
      |              ^~
a.cc:9:18: error: expected ';' before '}' token
    9 |    cout << "Even"
      |                  ^
      |                  ;
   10 |    }
      |    ~              
a.cc:12:16: error: expected ';' before '}' token
   12 |   cout << "Odd"
      |                ^
      |                ;
   13 | }
      | ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'ab' was not declared in this scope; did you mean 'b'?
    9 |     c = ab%2
      |         ^~
      |         b
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else
      |     ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: 'Odd' was not declared in this scope
   11 |     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 a;
    int b;
    cin >> a >> b;
    int c;
    c = ab%2
      
    if(c == 1)
    cout << Odd << endl;
    else 
      cout << Even << endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'ab' was not declared in this scope; did you mean 'b'?
    9 |     c = ab%2
      |         ^~
      |         b
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else
      |     ^~~~
a.cc:14:15: error: 'Even' was not declared in this scope
   14 |       cout << Even << endl;
      |               ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int a;
    int b;
    cin >> a >> b;
    int c;
    c = ab%2
      
    if c == 1
    cout << Odd << endl;
    else 
      cout << Even << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'ab' was not declared in this scope; did you mean 'b'?
    9 |     c = ab%2
      |         ^~
      |         b
a.cc:13:5: error: 'else' without a previous 'if'
   13 |     else
      |     ^~~~
a.cc:14:15: error: 'Even' was not declared in this scope
   14 |       cout << Even << endl;
      |               ^~~~
Language: Java

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

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

        if (a % 2 == 1 && b & 2 == 1) {
            out.printf("Odd\n");
        } else {
            out.printf("Even\n");
        }
        out.flush();
    }
}

Compiler output:
Main.java:11: error: bad operand types for binary operator '&'
        if (a % 2 == 1 && b & 2 == 1) {
                            ^
  first type:  int
  second type: boolean
1 error
Language: C++

def nyu():
    num1,num2 = input().split()
    num1 = int(num1)
    num2 = int(num2)
    return num1,num2

def check(num1,num2):
    sum = num1*num2
    
    if sum %2 != 0:
        print("Odd")
    else :
        print("Even")

a,b= nyu()
check(a,b)




Compiler output:
a.cc:1:1: error: 'def' does not name a type
    1 | def nyu():
      | ^~~
Language: Java

import java.util.Scanner;

public class App {

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

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:6: error: expected '}' at end of input
   14 |     }
      |      ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

  if (c % 2 == 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++

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

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

#includ<stdio.h>

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

Compiler output:
main.c:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ<stdio.h>
      |  ^~~~~~
      |  include
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 | #includ<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:7:16: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |   if(a%2||b%2) printf("Even");
      |                ^~~~~~
main.c:7:16: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:16: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:16: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:8: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |   else printf("Odd");
      |        ^~~~~~
main.c:8:8: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

Compiler output:
main.c:1:18: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(){int a,b;scanf("%d,%d",&a,&b);if(a%2||b%2)printf("Even");else printf("Odd");return 0;}
      |                  ^~~
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

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

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

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

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

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

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


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: expected ';' before 'if'
    9 |   y = x%2
      |          ^
      |          ;
   10 |   if (y <= 0) {
      |   ~~      
a.cc:13:3: error: 'else' without a previous 'if'
   13 |   else if (y > 0) {
      |   ^~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else if (C % == 1);
      |   ^~~~
a.cc:12:16: error: expected primary-expression before '==' token
   12 |   else if (C % == 1);
      |                ^~
Language: C++

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

int main() {
  int A, B;
  cin >> A >> B;
  int C = A*B;
  if (C % 2 == 0);
    cout << "Even" << endl;
  
  else
    cout << "odd" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else
      |   ^~~~
Language: C++

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

int main() {
  int A, B;
  cin >> A >> B;
  int C = A*B
  if (C % 2 == 0);
    cout << "Even" << endl;
  
  else
    cout << "odd" << endl;
}

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

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

int main() {
  int A, B;
  cin >> A >> B;
  int C = A*B
  if (C % 2 == 0)
    cout << "Even" << endl;
  
  else
    cout << "odd" << endl;
}

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

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

int main() {
  int a ,b;
  cin >> a >> b;
  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:9:3: error: expected '}' before 'else'
    9 |   else if ((a*b)%2 == 1) {
      |   ^~~~
a.cc:7:21: note: to match this '{'
    7 |   if ((a*b)%2 == 0) {
      |                     ^
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:17: error: 'b' was not declared in this scope
    7 |   if (a%2==1 && b%2==1 ){
      |                 ^
a.cc:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:9:5: note: to match this '{'
    9 |     {
      |     ^
a.cc:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:7:25: note: to match this '{'
    7 |   if (a%2==1 && b%2==1 ){
      |                         ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:10:8: note: to match this '{'
   10 |   else {
      |        ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:17: error: 'b' was not declared in this scope
    7 |   if (a%2==1 && b%2==1 ){
      |                 ^
a.cc:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:9:5: note: to match this '{'
    9 |     {
      |     ^
a.cc:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:7:25: note: to match this '{'
    7 |   if (a%2==1 && b%2==1 ){
      |                         ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:10:8: note: to match this '{'
   10 |   else {
      |        ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:17: error: 'b' was not declared in this scope
    7 |   if (a%2==1 && b%2==1 ){
      |                 ^
a.cc:8:13: error: unable to find numeric literal operator 'operator""dd'
    8 |     cout << 0dd <<endl;
      |             ^~~
a.cc:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:9:5: note: to match this '{'
    9 |     {
      |     ^
a.cc:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:7:25: note: to match this '{'
    7 |   if (a%2==1 && b%2==1 ){
      |                         ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:10:8: note: to match this '{'
   10 |   else {
      |        ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C

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

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

int x = a*b;
int y = x%d;

if(y=0){
printf("Even");
}else{
printf("Odd");
}
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:11: error: 'd' undeclared (first use in this function)
    9 | int y = x%d;
      |           ^
main.c:9:11: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>
using namespace std;
int main(){
  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:4:10: error: 'a' was not declared in this scope
    4 |   cin >> a >> b;
      |          ^
a.cc:4:15: error: 'b' was not declared in this scope
    4 |   cin >> a >> b;
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'pirntf' was not declared in this scope; did you mean 'printf'?
    9 |   pirntf("Odd");
      |   ^~~~~~
      |   printf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:23: error: expected ';' before 'if'
    5 |   scanf("%d %d",&a,&b)
      |                       ^
      |                       ;
    6 |  if ((a*b)%2 == 0)
      |  ~~                    
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else
      |   ^~~~
a.cc:9:3: error: 'pirntf' was not declared in this scope; did you mean 'printf'?
    9 |   pirntf("Odd");
      |   ^~~~~~
      |   printf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:23: error: expected ';' before 'if'
    4 |   scanf("%d %d",&a,&b)
      |                       ^
      |                       ;
    5 |  if ((a*b)%2 == 0)
      |  ~~                    
a.cc:7:3: error: 'else' without a previous 'if'
    7 |   else
      |   ^~~~
a.cc:8:3: error: 'pirntf' was not declared in this scope; did you mean 'printf'?
    8 |   pirntf("Odd");
      |   ^~~~~~
      |   printf
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:7: error: 'a' was not declared in this scope
    3 |  if ((a*b)%2 == 0)
      |       ^
a.cc:3:9: error: 'b' was not declared in this scope
    3 |  if ((a*b)%2 == 0)
      |         ^
a.cc:6:3: error: 'pirntf' was not declared in this scope; did you mean 'printf'?
    6 |   pirntf("Odd");
      |   ^~~~~~
      |   printf
Language: C++

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

Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main {
      |     ^~~~
a.cc:3:2: error: expected primary-expression before 'if'
    3 |  if ((a*b)%2 == 0)
      |  ^~
a.cc:3:2: error: expected '}' before 'if'
a.cc:2:10: note: to match this '{'
    2 | int main {
      |          ^
a.cc:5:3: error: expected unqualified-id before 'else'
    5 |   else
      |   ^~~~
a.cc:8:3: error: expected unqualified-id before 'return'
    8 |   return (0);
      |   ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

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

Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main {
      |     ^~~~
a.cc:3:2: error: expected primary-expression before 'if'
    3 |  if ((a*b)%2 == 0)
      |  ^~
a.cc:3:2: error: expected '}' before 'if'
a.cc:2:10: note: to match this '{'
    2 | int main {
      |          ^
a.cc:5:3: error: expected unqualified-id before 'else'
    5 |   else
      |   ^~~~
a.cc:8:3: error: expected unqualified-id before 'return'
    8 |   return 0;
      |   ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

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


Compiler output:
a.cc:2:5: error: cannot declare '::main' to be a global variable
    2 | int main {
      |     ^~~~
a.cc:3:2: error: expected primary-expression before 'if'
    3 |  if ((a*b)%2 == 0)
      |  ^~
a.cc:3:2: error: expected '}' before 'if'
a.cc:2:10: note: to match this '{'
    2 | int main {
      |          ^
a.cc:5:3: error: expected unqualified-id before 'else'
    5 |   else{
      |   ^~~~
a.cc:8:3: error: expected unqualified-id before 'return'
    8 |   return 0;
      |   ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C

#include<stdio.h>

int main()
{
  int a,b;

  scanf("%d %d", &a, &b);
  if((a*b)/2 != 0)
    printf("Odd");
  elseif((a*b)/2 == 0);
    printf("Even");
  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:10:3: error: implicit declaration of function 'elseif' [-Wimplicit-function-declaration]
   10 |   elseif((a*b)/2 == 0);
      |   ^~~~~~
Language: C

#include<stdio.h>

int main()
{
  int a,b;

  scanf("%d %d", &a, &b);
  if((a*b)/2 != 0)
    printf("Odd");
  elseif((a*b)/2 == 0)
    printf("Even");
  return(0);
}

Compiler output:
main.c: In function 'main':
main.c:10:3: error: implicit declaration of function 'elseif' [-Wimplicit-function-declaration]
   10 |   elseif((a*b)/2 == 0)
      |   ^~~~~~
main.c:10:23: error: expected ';' before 'printf'
   10 |   elseif((a*b)/2 == 0)
      |                       ^
      |                       ;
   11 |     printf("Even");
      |     ~~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:16: error: 'o' was not declared in this scope
    8 |   if (c % 2 == o) {
      |                ^
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: 'B' was not declared in this scope
    8 |   if ((a*B%2) == 0) {
      |          ^
Language: C++

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


Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | void main()
      | ^~~~