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

#include <iostream>
using std namespace

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'std'
    2 | using std namespace
      |       ^~~
Language: C++

#include <iostream>
using std:namespace;

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'std'
    2 | using std:namespace;
      |       ^~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> 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:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         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:13:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |         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 <iostream>
using std namespace;

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'std'
    2 | using std namespace;
      |       ^~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         cin >> 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:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         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:13:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |         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 if cout<<'Odd'<<endl;
  
return 0;
}


Compiler output:
a.cc:7:22: warning: multi-character character constant [-Wmultichar]
    7 |   if(a*b/2==0) cout<<'Even'<<endl;
      |                      ^~~~~~
a.cc:8:17: warning: multi-character character constant [-Wmultichar]
    8 |   else if cout<<'Odd'<<endl;
      |                 ^~~~~
a.cc: In function 'int main()':
a.cc:8:11: error: expected '(' before 'cout'
    8 |   else if cout<<'Odd'<<endl;
      |           ^~~~
      |           (
Language: Java

ublic class EvenOrOdd {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = a * b;

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

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
ublic class EvenOrOdd {
^
1 error
Language: Java

import java.util.Scanner;

public class EvenOrOdd {
    public static void EvenOrOdd(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int a = scanner.nextInt();
        int b = scanner.nextInt();
        int c = a * b;

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

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

int main(){
  
  int a,b,c;
  
  //input
  scanf("%d %d",&a,&b);
  
  if(a<1||b>10000)
    break;
  
  //culcuration
  c = a*b;
  
  //judgement-output
  if(c%2==0)
    printf("Even");
  else
    printf("odd");
  
  return 0;

}


Compiler output:
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 | int main(){
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:9:5: error: break statement not within loop or switch
    9 |     break;
      |     ^~~~~
main.c:16:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   16 |     printf("Even");
      |     ^~~~~~
main.c:16:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:16:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:16:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:18:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   18 |     printf("odd");
      |     ^~~~~~
main.c:18:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: invalid operands of types 'float' and 'int' to binary 'operator%'
   10 | if(p%2==0)
      |    ~^~
      |    | |
      |    | int
      |    float
Language: C++

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

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

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


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

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

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #intlude; did you mean #include?
    1 | #intlude <bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:1: 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 | #intlude <bits/stdc++.h>
a.cc:6:11: error: expected primary-expression before '>' token
    6 | cin >>a > >b;
      |           ^
a.cc:8:17: error: 'puts' was not declared in this scope
    8 | if ( c %2 == 0) puts (" Even ");
      |                 ^~~~
a.cc:9:6: error: 'puts' was not declared in this scope
    9 | else puts (" Odd ");
      |      ^~~~
Language: C++

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

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

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

import 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();

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

Compiler output:
Main.java:10: error: illegal start of expression
		if(a*b%==0) {
		        ^
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:7:9: error: lvalue required as left operand of assignment
    7 |   if(a*b%2=0){
      |      ~~~^~
Language: C++

include <iostream>
using namespace std;

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int mani()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << endl;
      |   ^~~~
a.cc:7:11: error: 'endl' was not declared in this scope
    7 |   cout << endl;
      |           ^~~~
Language: C++

incluce <iostream>
using namespace std;

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

Compiler output:
a.cc:1:1: error: 'incluce' does not name a type
    1 | incluce <iostream>
      | ^~~~~~~
a.cc: In function 'int mani()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: 'cout' was not declared in this scope
    7 |   cout << endl;
      |   ^~~~
a.cc:7:11: error: 'endl' was not declared in this scope
    7 |   cout << endl;
      |           ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int A,B,C;
  cin >> A;
  cin >> 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:12:26: error: expected ';' before '}' token
   12 |     cout << "Odd" << endl
      |                          ^
      |                          ;
   13 |   }
      |   ~
Language: C++

#include<iostream>
using namespace std;
int main(){
  int A,B,C;
  cin >> A;
  cin >> 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:3: error: expected '}' before 'else'
   10 |   else{
      |   ^~~~
a.cc:8:13: note: to match this '{'
    8 |   if(C%2==0){
      |             ^
a.cc:11:26: error: expected ';' before '}' token
   11 |     cout << "Odd" << endl
      |                          ^
      |                          ;
   12 |   }
      |   ~
Language: C++

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

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

import java.util.*;
public class Main {
  
    public static void main(String[] args){
	  Scanner sc = new Scanner(System.in);
      
      int a = sc.nextInt();
      int b = sc.nectInt();
      
      //積を表示
      int c = a * b;
      if (c % 2 == 0) {
          System.out.println("Even");
      } else {
          System.out.println("Odd");
      }
      scanner.close();
    }
}

Compiler output:
Main.java:8: error: cannot find symbol
      int b = sc.nectInt();
                ^
  symbol:   method nectInt()
  location: variable sc of type Scanner
Main.java:17: error: cannot find symbol
      scanner.close();
      ^
  symbol:   variable scanner
  location: class Main
2 errors
Language: Java

import java.util.*;
public class Main {
  
    public static void main(String[] args){
	  Scanner sc = new Scanner(System.in);
      
      int a = sc.nextInt();
      int b = sc.nectInt();
      
      //積を表示
      int c = a * b;
      if (c % 2 == 0) {
          System.out.println('Even');
      } else {
          System.out.println('Odd');
      }
      scanner.close();
    }
}

Compiler output:
Main.java:13: error: unclosed character literal
          System.out.println('Even');
                             ^
Main.java:13: error: unclosed character literal
          System.out.println('Even');
                                  ^
Main.java:13: error: not a statement
          System.out.println('Even');
                               ^
Main.java:15: error: unclosed character literal
          System.out.println('Odd');
                             ^
Main.java:15: error: unclosed character literal
          System.out.println('Odd');
                                 ^
Main.java:15: error: not a statement
          System.out.println('Odd');
                               ^
6 errors
Language: Java

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

Compiler output:
Main.java:11: error: unclosed character literal
          System.out.println('Even');
                             ^
Main.java:11: error: unclosed character literal
          System.out.println('Even');
                                  ^
Main.java:11: error: not a statement
          System.out.println('Even');
                               ^
Main.java:13: error: unclosed character literal
          System.out.println('Odd');
                             ^
Main.java:13: error: unclosed character literal
          System.out.println('Odd');
                                 ^
Main.java:13: error: not a statement
          System.out.println('Odd');
                               ^
6 errors
Language: Java

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

Compiler output:
Main.java:11: error: unclosed character literal
          System.out.println('Even');
                             ^
Main.java:11: error: unclosed character literal
          System.out.println('Even');
                                  ^
Main.java:11: error: not a statement
          System.out.println('Even');
                               ^
Main.java:13: error: unclosed character literal
          System.out.println('Odd');
                             ^
Main.java:13: error: unclosed character literal
          System.out.println('Odd');
                                 ^
Main.java:13: error: not a statement
          System.out.println('Odd');
                               ^
Main.java:16: error: reached end of file while parsing
}
 ^
7 errors
Language: Java

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

Compiler output:
Main.java:10: error: unclosed character literal
          System.out.println('Even')
                             ^
Main.java:10: error: unclosed character literal
          System.out.println('Even')
                                  ^
Main.java:10: error: not a statement
          System.out.println('Even')
                               ^
Main.java:12: error: unclosed character literal
          System.out.println('Odd')
                             ^
Main.java:12: error: unclosed character literal
          System.out.println('Odd')
                                 ^
Main.java:12: error: not a statement
          System.out.println('Odd')
                               ^
6 errors
Language: Java

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

Compiler output:
Main.java:10: error: unclosed character literal
          System.out.println('Even')
                             ^
Main.java:10: error: unclosed character literal
          System.out.println('Even')
                                  ^
Main.java:10: error: not a statement
          System.out.println('Even')
                               ^
Main.java:12: error: unclosed character literal
          System.out.println('odd')
                             ^
Main.java:12: error: unclosed character literal
          System.out.println('odd')
                                 ^
Main.java:12: error: not a statement
          System.out.println('odd')
                               ^
6 errors
Language: C++

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


}  


Compiler output:
a.cc:2:20: error: expected ';' before ':' token
    2 | using namespace std:
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before ':' token
Language: C++

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


}  

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std:
      |       ^~~~~~~~~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'string' was not declared in this scope
    7 |         string s;
      |         ^~~~~~
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin >> a >> b;
      |         ^~~
a.cc:11:7: error: 's' was not declared in this scope
   11 |       s = "Even";
      |       ^
a.cc:13:7: error: 's' was not declared in this scope
   13 |       s = "Odd";
      |       ^
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << s << endl;
      |         ^~~~
a.cc:15:17: error: 's' was not declared in this scope
   15 |         cout << s << endl;
      |                 ^
a.cc:15:22: error: 'endl' was not declared in this scope
   15 |         cout << s << endl;
      |                      ^~~~
Language: C++

include<iostream>
 
using namespace std;
int main()
{
	int a, b, p;
  	string s;
  	cin >> a >> b;
  	p = a*b;
	if (p%2 == 0){
      s = 'Even';
    }else {
      s = 'Odd';
    }
  	cout << s << endl;
    return 0;
}

Compiler output:
a.cc:11:11: warning: multi-character character constant [-Wmultichar]
   11 |       s = 'Even';
      |           ^~~~~~
a.cc:13:11: warning: multi-character character constant [-Wmultichar]
   13 |       s = 'Odd';
      |           ^~~~~
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'string' was not declared in this scope
    7 |         string s;
      |         ^~~~~~
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin >> a >> b;
      |         ^~~
a.cc:11:7: error: 's' was not declared in this scope
   11 |       s = 'Even';
      |       ^
a.cc:13:7: error: 's' was not declared in this scope
   13 |       s = 'Odd';
      |       ^
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << s << endl;
      |         ^~~~
a.cc:15:17: error: 's' was not declared in this scope
   15 |         cout << s << endl;
      |                 ^
a.cc:15:22: error: 'endl' was not declared in this scope
   15 |         cout << s << endl;
      |                      ^~~~
Language: C++

include<iostream.h>

using namespace std;
int main()
{
	int a, b, p;
  	string s;
  	cin >> a >> b;
  	p = a*b;
	if (p%2 == 0){
      s = 'Even';
    }else {
      s = 'Odd';
    }
  	cout << s << endl;
    return 0;
}

Compiler output:
a.cc:11:11: warning: multi-character character constant [-Wmultichar]
   11 |       s = 'Even';
      |           ^~~~~~
a.cc:13:11: warning: multi-character character constant [-Wmultichar]
   13 |       s = 'Odd';
      |           ^~~~~
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'string' was not declared in this scope
    7 |         string s;
      |         ^~~~~~
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin >> a >> b;
      |         ^~~
a.cc:11:7: error: 's' was not declared in this scope
   11 |       s = 'Even';
      |       ^
a.cc:13:7: error: 's' was not declared in this scope
   13 |       s = 'Odd';
      |       ^
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << s << endl;
      |         ^~~~
a.cc:15:17: error: 's' was not declared in this scope
   15 |         cout << s << endl;
      |                 ^
a.cc:15:22: error: 'endl' was not declared in this scope
   15 |         cout << s << endl;
      |                      ^~~~
Language: C++

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

int main(){

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   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:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |      cout << "Even" << endl;
      |      ^~~~
      |      std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |      cout << "Even" << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/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:13:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |      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:13:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |      cout << "Odd"<< endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

Compiler output:
a.cc:2:1: error: 'usinig' does not name a type
    2 | usinig namespace std;
      | ^~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a >> b >> endl;
      |   ^~~
      |   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:5:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |   cin >> a >> b >> 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:6:6: error: 'mod' was not declared in this scope
    6 |   if(mod(a*b) == 0){
      |      ^~~
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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
      |                  ^~~~
Language: C++

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

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


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

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

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |   scanf("%d %d",&a, &b);
      |   ^~~~~
Language: C

#include	<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    6 |   scanf("%d %d",&a, &b);
      |   ^~~~~
main.c:7:37: error: expected ';' before 'else'
    7 |   if((a * b)%2 == 1) printf("Odd\n")
      |                                     ^
      |                                     ;
    8 |   else printf("Even\n");
      |   ~~~~
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: 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 == 0) {
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected initializer before '.' token
    5 |   int 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 <bits/stdc++.h>
using namespace std;
 
int main (){
string s ,t;
cin >>s > >t;
int x = stoi (s+ t );
for ( int i =1; i <=1000; i ++){
if ( i*i == x ){
puts (" Yes ");
return 0;
}
}
puts (" No ");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:11: error: expected primary-expression before '>' token
    6 | cin >>s > >t;
      |           ^
Language: C++

#incldue<iostream>
using namespace std;

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

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

    return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
    1 | #incldue<iostream>
      |  ^~~~~~~
      |  include
a.cc:4:1: error: '::main' must return 'int'
    4 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:5: 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 | #incldue<iostream>
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "Even" << endl;
      |         ^~~~
a.cc:10:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:27: error: 'endl' was not declared in this scope
   10 |         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 | #incldue<iostream>
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << "Odd" << endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:26: error: 'endl' was not declared in this scope
   13 |         cout << "Odd" << endl;
      |                          ^~~~
a.cc:13:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#incldue<iostream>

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

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

    return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
    1 | #incldue<iostream>
      |  ^~~~~~~
      |  include
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> a >> b;
      |     ^~~
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "Even" << endl;
      |         ^~~~
a.cc:9:27: error: 'endl' was not declared in this scope
    9 |         cout << "Even" << endl;
      |                           ^~~~
a.cc:12:9: error: 'cout' was not declared in this scope
   12 |         cout << "Odd" << endl;
      |         ^~~~
a.cc:12:26: error: 'endl' was not declared in this scope
   12 |         cout << "Odd" << endl;
      |                          ^~~~
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:9:16: error: expected primary-expression before '==' token
    9 |   if ( A * B % == 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{
  cout << "Odd" << endl;}
}

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

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

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

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

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

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

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

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

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

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

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

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


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

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

int main(){
  int A, B;
  cin >> A >> B;
  if(A%2==0 .or. B%2==0){
    cout << even<<endl;
  }else{
    cout << odd << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:14: error: expected unqualified-id before 'or' token
    9 |   if(A%2==0 .or. B%2==0){
      |              ^~
a.cc:9:16: error: expected primary-expression before '.' token
    9 |   if(A%2==0 .or. B%2==0){
      |                ^
a.cc:10:13: error: 'even' was not declared in this scope
   10 |     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;
  cin >> A >> B;
  if(B < 10){
    int C = A * 10 + B;
  }
  
  if(B < 100){
    int C = A * 100 + B;
  }
  
  if(B == 100){
    int C = A * 1000 + B;
  }
    cin >> C;
  for(int i = 0;i < 4000;i++){
    if(i * i == C){
      cout << "Yes" << endl;
    break;
    }
    if(i == 4000){
      cout << "No" << endl;
    }
  }
}


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

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

int main() {
  int A,B;
  cin >> A >> B;
  if(B < 10){
    int C = A * 10 + B;
    cin >> C;
  }
  
  if(B < 100){
    int C = A * 100 + B;
    cin >> C;
  }
  
  if(B == 100){
    int C = A * 1000 + B;
    cin >> C;
  }
  
  for(int i = 0;i < 4000;i++){
    if(i * i == C){
      cout << "Yes" << endl;
    break;
    }
    if(i == 4000){
      cout << "No" << endl;
    }
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:23:17: error: 'C' was not declared in this scope
   23 |     if(i * i == C){
      |                 ^
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;
  }
  if (a * b % 2 != 0 {
    cout << "Odd" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ')' before '{' token
    8 |   if (a * b % 2 == 0 {
      |      ~              ^~
      |                     )
a.cc:14:1: error: expected primary-expression before '}' token
   14 | }
      | ^
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;
  }
  if (a * b % 2 != 0 {
    cout << "odd" << endl;
  }
}

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

#include<stdio.h>
int main (void){
  
  int a=0;
  int b=0;
  
  printf("%d,%d:");
  scanf("&a,&b");
  
  puts((a*b)%2?"odd":"even");
       
    

Compiler output:
main.c: In function 'main':
main.c:10:3: error: expected declaration or statement at end of input
   10 |   puts((a*b)%2?"odd":"even");
      |   ^~~~
Language: C++

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

int main() {
  int a, b;
  cin >> N >> A;
  if ((a*b/2)*2 < a*b ){
   cout << "Odd" << endl; 
  }
  else {
    cout << "Even" << endl;
 
  // ここにプログラムを追記
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:10: error: 'N' was not declared in this scope
    6 |   cin >> N >> A;
      |          ^
a.cc:6:15: error: 'A' was not declared in this scope
    6 |   cin >> N >> A;
      |               ^
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
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);
   (void)scanf
  int c = a * b;
  if(c % 2 == 0){
    printf("Even");
  }
  else{
    printf("0dd");
  }
      
   return 0;
}
  


Compiler output:
main.c: In function 'main':
main.c:6:15: error: expected ';' before 'int'
    6 |    (void)scanf
      |               ^
      |               ;
    7 |   int c = a * b;
      |   ~~~          
main.c:8:6: error: 'c' undeclared (first use in this function)
    8 |   if(c % 2 == 0){
      |      ^
main.c:8:6: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:14: error: expected ';' before 'scanf'
    5 |   (void)scanf
      |              ^
      |              ;
    6 |   scanf("%d, %d", &a, &b);
      |   ~~~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:26: error: expected ';' before '{' token
    5 |   scanf("%d, %d", &a, &b){};
      |                          ^
      |                          ;
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:9:27: error: expected declaration specifiers or '...' before '(' token
    9 |   int unused__attribute__((unused));
      |                           ^
main.c:10:3: error: 'unused' undeclared (first use in this function)
   10 |   unused = scanf("%d, %d", &a, &b);
      |   ^~~~~~
main.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d,%d", &a, &b);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | 
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d,%d", &a, &b);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |     printf("Even");
      |     ^~~~~~
main.c:7:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7: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("0dd")
      |     ^~~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:18: error: expected ';' before '}' token
   10 |     printf("0dd")
      |                  ^
      |                  ;
   11 |   }
      |   ~
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:11:18: error: expected ';' before ']' token
   11 |     printf("0dd")
      |                  ^
      |                  ;
   12 |     ]
      |     ~             
main.c:12:5: error: expected statement before ']' token
   12 |     ]
      |     ^
main.c:15:1: error: expected declaration or statement at end of input
   15 | }
      | ^
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:12:18: error: expected ';' before ']' token
   12 |     printf("0dd")
      |                  ^
      |                  ;
   13 |     ]
      |     ~             
main.c:13:5: error: expected statement before ']' token
   13 |     ]
      |     ^
main.c:16:1: error: expected declaration or statement at end of input
   16 | }
      | ^
Language: C

#include<stdio.h>

int main(void){
	int a,b,n;
  
  if(a * b == 2n + 1){
  printf("0dd")
  }
  else{
  printf("Even")
  }
  
    
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:15: error: invalid suffix "n" on integer constant
    6 |   if(a * b == 2n + 1){
      |               ^~
main.c:7:16: error: expected ';' before '}' token
    7 |   printf("0dd")
      |                ^
      |                ;
    8 |   }
      |   ~             
main.c:10:17: error: expected ';' before '}' token
   10 |   printf("Even")
      |                 ^
      |                 ;
   11 |   }
      |   ~
Language: C++

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

int main() {
  int a,b;
  cin >> a>>b;
  int a * b = c; //cという文字を導入
  if (c % 2 == 0) {
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before '*' token
    7 |   int a * b = c; //cという文字を導入
      |         ^
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c % 2 == 0) {
      |       ^
Language: C++

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

int main() {
  int a,b;
  cin >> a>>b;
  int a * b ==c; //cという文字を導入
  if (c % 2 == 0) {
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before '*' token
    7 |   int a * b ==c; //cという文字を導入
      |         ^
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c % 2 == 0) {
      |       ^
Language: C++

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

int main() {
  int a,b;
  cin >> a>>b;
  int >> a * b ==c; //cという文字を導入
  if (c % 2 == 0) {
    cout << "Even" << endl;
  }
  else {
    cout << "Odd" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: expected unqualified-id before '>>' token
    7 |   int >> a * b ==c; //cという文字を導入
      |       ^~
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c % 2 == 0) {
      |       ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:1: error: 'cin' was not declared in this scope
    3 | cin >>a > >b;
      | ^~~
a.cc:3:11: error: expected primary-expression before '>' token
    3 | cin >>a > >b;
      |           ^
a.cc:6:3: error: 'cont' was not declared in this scope; did you mean 'const'?
    6 |   cont >> "Even" >> endl;
      |   ^~~~
      |   const
a.cc:6:21: error: 'endl' was not declared in this scope
    6 |   cont >> "Even" >> endl;
      |                     ^~~~
a.cc:9:3: error: 'cont' was not declared in this scope; did you mean 'const'?
    9 |   cont >> "Odd" >> endl;
      |   ^~~~
      |   const
a.cc:9:20: error: 'endl' was not declared in this scope
    9 |   cont >> "Odd" >> endl;
      |                    ^~~~
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:1:12: note: to match this '{'
    1 | int main (){
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:1: error: 'cin' was not declared in this scope
    3 | cin >>a > >b;
      | ^~~
a.cc:3:11: error: expected primary-expression before '>' token
    3 | cin >>a > >b;
      |           ^
a.cc:5:17: error: 'puts' was not declared in this scope
    5 | if ( c %2 == 0) puts (" Even ");
      |                 ^~~~
a.cc:6:6: error: 'puts' was not declared in this scope
    6 | else puts (" Odd ");
      |      ^~~~
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 << "Odd" << endl;
  }
  else {
    cout << "Even" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before '==' token
    7 |   int c == a * b;
      |         ^~
a.cc:8:7: error: 'c' was not declared in this scope
    8 |   if (c % 2 == 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 << "Odd" << endl;
  }
  else {
    cout << "Even" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected initializer before '==' token
    7 |   int c == a * b
      |         ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else {
      |   ^~~~