criyle/codenet-compile-errors huggingface dataset:
Language: Java

class even() {
	public static void main(String[] args) {
      boolean flag = (Integer.parseInt(args[0]) % 2 == 0) || (Integer.parseInt(args[0]) % 2 == 0);
      String out = flag ? "Even" : "Odd";
      System.out.print(out);
  }
}

Compiler output:
Main.java:1: error: '{' expected
class even() {
          ^
1 error
Language: Java

public static void main(String[] args) {
	boolean flag = (Integer.parseInt(args[0]) % 2 == 0) || (Integer.parseInt(args[0]) % 2 == 0);
	String out = flag ? "Even" : "Odd";
	System.out.print(out);
}

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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i < (n); ++i)
using namespace std;
using ll = long long;
using P = pair<ll,ll>;
//マクロ
//forループ関係
//引数は、(ループ内変数,動く範囲)か(ループ内変数,始めの数,終わりの数)、のどちらか
//Dがついてないものはループ変数は1ずつインクリメントされ、Dがついてるものはループ変数は1ずつデクリメントされる
#define FOR(i,a,b) for(ll i=a;i<=(ll)(b);i++)
//xにはvectorなどのコンテナ
#define ALL(x) (x).begin(),(x).end() //sortなどの引数を省略したい
#define SIZE(x) ((ll)(x).size()) //sizeをsize_tからllに直しておく
#define MAX(x) *max_element(ALL(x)) //最大値を求める
#define MIN(x) *min_element(ALL(x)) //最小値を求める
//定数
#define INF 1000000000000 //10^12:極めて大きい値,∞
#define inf 2147483647 //int値の最大値
#define MOD 1000000007 //10^9+7:合同式の法
#define MAXR 100000 //10^5:配列の最大のrange(素数列挙などで使用)
//略記
#define PB push_back //vectorヘの挿入
#define MP make_pair //pairのコンストラクタ
#define F first //pairの一つ目の要素
#define S second //pairの二つ目の要素
#define CST(x) cout<<fixed<<setprecision(x)//小数点以下の桁数指定
template<class T> inline bool chmin(T& a, T b) {
    if (a > b) {
        a = b;
        return true;
    }
    return false;
}
template<class T> inline bool chmax(T& a, T b) {
    if (a < b) {
        a = b;
        return true;
    }
    return false;
}
int gcd(int a, int b) {
    if (b==0) return a;
    else return gcd(b, a%b);
}
int lcm(int a, int b) {
    return a * b / gcd(a, b);
}
int two(int n){
	ll ans=1;
	rep(i,n){
		ans*=2;
	}
	return ans;
}
int main() {
	cin.tie(0);
	cout.tie(0);
	ios::sync_with_stdio(false);

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

    
  
}

Compiler output:
a.cc:63:16: warning: missing terminating " character
   63 |     else cout<<"Odd<<endl;
      |                ^
a.cc:63:16: error: missing terminating " character
   63 |     else cout<<"Odd<<endl;
      |                ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:67:1: error: expected primary-expression before '}' token
   67 | }
      | ^
Language: C

#include <stdio.h>

int main()
{
    int a, b, c;

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'Even' was not declared in this scope
    7 |     cout << Even << endl;
      |             ^~~~
a.cc:10:13: error: 'Odd' was not declared in this scope
   10 |     cout << Odd << endl;
      |             ^~~
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 ) puts("Odd");
  else puts("Even")
}

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:6: error: 'c' was not declared in this scope
    8 |   if(c%2 == 1 ) puts("Odd");
      |      ^
a.cc:9:20: error: expected ';' before '}' token
    9 |   else puts("Even")
      |                    ^
      |                    ;
   10 | }
      | ~
Language: C++

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

int main() {
  
  int a;
  int 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:19:4: error: expected '}' at end of input
   19 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define _GLIBCXX_DEBUG
#define rep(i, from, to) for (int i = from; i < (to); ++i)
#define mp(x,y) make_pair(x,y)
#define all(x) (x).begin(),(x).end()
#define pb push_back
using ll = long long;
using vin=vector<int>;
using vll=vector<ll>;
using vst=vector<string>;
using P = pair<int, int>;
const int inf=1e9+7;
const ll INF=1e18;
template <typename T> void chmin(T &a, T b) { a = min(a, b); }
template <typename T> void chmax(T &a, T b) { a = max(a, b); }
template<class T> inline void Yes(T condition){ if(condition) cout << "Yes" << endl; else cout << "No" << endl; }
template<class T> inline void YES(T condition){ if(condition) cout << "YES" << endl; else cout << "NO" << endl; }
const int dx[4] = { 1, 0, -1, 0 };
const int dy[4] = { 0, 1, 0, -1 };

ll f(ll x){
 ll ret=0;
  while(x>0){
   ret+=x%10;
    x/=10;
  }
  
  
  return ret;
}

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

Compiler output:
a.cc: In function 'int main()':
a.cc:36:27: error: expected ')' before ':' token
   36 |            cout<<(a*b%2==0:? "Even":"Odd")<<endl;
      |                  ~        ^
      |                           )
Language: C++

#include <iostream>
using namespace std;

int main(){
  int a,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:7:3: error: 'c' was not declared in this scope
    7 |   c=a*b;
      |   ^
Language: Java

import java.util.*;

public class Example {
    public static void main(final String[] args) {
        final Scanner sc = new Scanner(System.in);
        final int a = sc.nextInt();
        final 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 Example is public, should be declared in a file named Example.java
public class Example {
       ^
1 error
Language: C++

#include<iostream>
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;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:32: error: 'Odd' was not declared in this scope
    9 |   if(a%2==1 && b%2==1) cout << Odd <<endl;
      |                                ^~~
a.cc:10:16: error: 'Even' was not declared in this scope
   10 |   else cout << Even << endl;
      |                ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
void check (int num){
  if( num % 2 == 0){
    cout << "Even" << endl;
  }
  else{
    cout << "Even" << endl;
  }
  return;
}

int main (){
  cin >> a >> b;
  check (a*b);
 
}


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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: lvalue required as left operand of assignment
    7 |   if(a%2=1 && b%2=1){cout<<"Odd"<<endl;}
      |          ~~^~~~~~
Language: C++

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

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

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

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

int main() {
  int a,b;
  cin>>a>>b endl;
  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:12: error: expected ';' before 'endl'
    6 |   cin>>a>>b endl;
      |            ^~~~~
      |            ;
a.cc:7:11: error: lvalue required as left operand of assignment
    7 |   if(a%2=1&&b%2=1){cout<<"Odd"<<endl;}
      |          ~^~~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: lvalue required as left operand of assignment
    7 |   cout << (a*b%2=0 ? "Even" : "Odd" ) << endl;
      |            ~~~^~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: lvalue required as left operand of assignment
    7 |     cout << (a*b%2=0 ? "Even" :"Odd") << endl;
      |              ~~~^~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: lvalue required as left operand of assignment
    7 |     cout << (a*b%2=0 ? "Even" :"Odd") << endl;
      |              ~~~^~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:17: error: lvalue required as left operand of assignment
    7 |     cout << (a*b%2=0 ? "Even" :"Odd") << endl;
      |              ~~~^~
a.cc: At global scope:
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

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


int a, b;

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



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

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


int a, b;

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



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

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


Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main{
      |     ^~~~
a.cc:5:16: error: expected '}' before ';' token
    5 |   cin >> a >> b;
      |                ^
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:5:12: error: invalid user-defined conversion from 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} to 'int' [-fpermissive]
    5 |   cin >> a >> b;
      |   ~~~~~~~~~^~~~
In file included from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/istream:40,
                 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,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_ios.h:121:16: note: candidate is: 'std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits<char>]' (near match)
  121 |       explicit operator bool() const
      |                ^~~~~~~~
/usr/include/c++/14/bits/basic_ios.h:121:16: note:   return type 'bool' of explicit conversion function cannot be converted to 'int' with a qualification conversion
a.cc:6:3: error: expected unqualified-id before 'if'
    6 |   if(a*b%2 == 0){
      |   ^~
a.cc:9:3: error: expected unqualified-id before 'else'
    9 |   else{
      |   ^~~~
a.cc:12:1: error: expected unqualified-id before 'return'
   12 | return 0;}
      | ^~~~~~
a.cc:12:10: error: expected declaration before '}' token
   12 | return 0;}
      |          ^
Language: C++

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

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


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

b,c,n,min,max,sum;
   cin>>n;
   for (int i=0; i<n; i++){
       
       a=min[n];
       b=max[n];
       c=sum[n];
   }
   
     cout<<min<<max<<sum<<endl;
    }
}

Compiler output:
a.cc:1:1: error: 'b' does not name a type
    1 | b,c,n,min,max,sum;
      | ^
a.cc:2:4: error: 'cin' does not name a type
    2 |    cin>>n;
      |    ^~~
a.cc:3:4: error: expected unqualified-id before 'for'
    3 |    for (int i=0; i<n; i++){
      |    ^~~
a.cc:3:18: error: 'i' does not name a type
    3 |    for (int i=0; i<n; i++){
      |                  ^
a.cc:3:23: error: 'i' does not name a type
    3 |    for (int i=0; i<n; i++){
      |                       ^
a.cc:10:6: error: 'cout' does not name a type
   10 |      cout<<min<<max<<sum<<endl;
      |      ^~~~
a.cc:11:5: error: expected declaration before '}' token
   11 |     }
      |     ^
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:11:9: error: expected '(' before '{' token
   11 |         {
      |         ^
      |         (
Language: C++

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

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

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

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

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

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


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

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

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

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | v#include <bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'v' does not name a type
    1 | v#include <bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:6:3: error: 'string' was not declared in this scope
    6 |   string e= "Even";
      |   ^~~~~~
a.cc:7:9: error: expected ';' before 'o'
    7 |   string o="Odd";
      |         ^~
      |         ;
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin>>a>>b;
      |   ^~~
a.cc:9:11: error: expected primary-expression before '==' token
    9 |   if(a*b%===0){
      |           ^~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<e;
      |     ^~~~
a.cc:10:11: error: 'e' was not declared in this scope
   10 |     cout<<e;
      |           ^
a.cc:12:5: error: 'cout' was not declared in this scope
   12 |     cout<<o;
      |     ^~~~
a.cc:12:11: error: 'o' was not declared in this scope
   12 |     cout<<o;
      |           ^
Language: C++

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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected primary-expression before '=' token
    9 |   if(a*b%2===0){
      |             ^
a.cc:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected primary-expression before '==' token
    9 |   if(a*b%===0){
      |           ^~
a.cc:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: Java

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

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

#include <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:10:5: error: expected ',' or ';' before 'if'
   10 |     if(c%2==0)
      |     ^~
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else cout <<"Odd"<< endl;
      |   ^~~~
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:9:3: error: expected ',' or ';' before 'if'
    9 |   if(c%2=0)
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else cout <<"Odd"<< endl;
      |   ^~~~
Language: C++

#include<iostream>
using namespace std;

int main(){
  int a,b;
  cin>>a>>b;
  int c;
  c=a*b;
  if(c%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:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include<iostream>
using namespace std;

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


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

#include<iostream>
using namespace std;

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

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

import java.io.*;

class Product
{
  public static void main(String[] args) throws IOException
    
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
  	String str = br.readLine();
  	int a = Integer.parseInt(str);
  	int b = Integer.parseInt(str);
  
  	if((a * b) % 2 ==0) {
      System.out.println("even");
    } else {
      System.out.println("odd");
    }
}


Compiler output:
Main.java:5: error: ';' expected
  public static void main(String[] args) throws IOException
                                                           ^
Main.java:12: error: illegal start of type
  	if((a * b) % 2 ==0) {
  	^
Main.java:12: error: <identifier> expected
  	if((a * b) % 2 ==0) {
  	     ^
Main.java:12: error: <identifier> expected
  	if((a * b) % 2 ==0) {
  	         ^
Main.java:14: error: illegal start of type
    } else {
      ^
5 errors
Language: Java

class Product
{//
  int a = 0;
  int b = 0;
  public static void main(String[] args){ 
	if(( a * b ) % 2 ==0) {
      System.out.println("even");
    }else {
      System.out.println("odd");
    }
  }
}  

Compiler output:
Main.java:6: error: non-static variable a cannot be referenced from a static context
	if(( a * b ) % 2 ==0) {
	     ^
Main.java:6: error: non-static variable b cannot be referenced from a static context
	if(( a * b ) % 2 ==0) {
	         ^
2 errors
Language: Java

class Product
{//
  int a = 0;
  int b = 0;
  public static void main(String[] args){ 
	if(( a * b ) % 2 ==0) {
      System.out.println("even");
    }else {
      System.out.println("odd");
    }
  }

Compiler output:
Main.java:11: error: reached end of file while parsing
  }
   ^
1 error
Language: C++

# -*- coding: utf-8 -*-
# スペース区切りの整数の入力
a, b = map(int, input().split())

if ( a*b % 2 == 0 ):
    print("Even")
else:
    print("Odd")


Compiler output:
a.cc:1:3: error: invalid preprocessing directive #-
    1 | # -*- coding: utf-8 -*-
      |   ^
a.cc:2:3: error: invalid preprocessing directive #\U000030b9\U000030da\U000030fc\U000030b9\U0000533a\U00005207\U0000308a\U0000306e\U00006574\U00006570\U0000306e\U00005165\U0000529b
    2 | # スペース区切りの整数の入力
      |   ^~~~~~~~~~~~~~~~~~~~~~~~~~
a.cc:3:1: error: 'a' does not name a type
    3 | a, b = map(int, input().split())
      | ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected ',' or ';' before 'if'
    9 |   if ((mul % 2) == 1) {
      |   ^~
a.cc:11:5: error: 'else' without a previous 'if'
   11 |   } else {
      |     ^~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected ')' before '{' token
    5 |   if((a * b % 2 == 0) {
      |     ~                ^~
      |                      )
main.c:11:1: error: expected expression before '}' token
   11 | }
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected ')' before '{' token
    5 |   if((a * b % 2 == 0) {
      |     ~                ^~
      |                      )
main.c:10:1: error: expected declaration or statement at end of input
   10 | }
      | ^
Language: C++

#include <iostream>
using namespace std;

int mainb(){
  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 mainb()':
a.cc:13:1: warning: no return statement in function returning non-void [-Wreturn-type]
   13 | }
      | ^
/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<stdio.h>
 int main(void)
 {
   int a:
   int b;
   scanf("%d,%d",&a,%b);
   if((a*b)%2==0){
     printf("Even");
   else{
     printf("Odd");
   }
     
     return 0;
   }
   

Compiler output:
main.c: In function 'main':
main.c:4:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before ':' token
    4 |    int a:
      |         ^
main.c:4:9: error: expected expression before ':' token
main.c:6:19: error: 'a' undeclared (first use in this function)
    6 |    scanf("%d,%d",&a,%b);
      |                   ^
main.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:21: error: expected expression before '%' token
    6 |    scanf("%d,%d",&a,%b);
      |                     ^
main.c:7:10: error: 'b' undeclared (first use in this function)
    7 |    if((a*b)%2==0){
      |          ^
main.c:9:4: error: expected '}' before 'else'
    9 |    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:7: error: 'A' was not declared in this scope
    7 |   if (A * B % 2 == 0){
      |       ^
a.cc:7:11: error: 'B' was not declared in this scope
    7 |   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 << "0dd" << endl;
  }
}

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'B' was not declared in this scope
    7 |   if (A * B % 2 == 0){
      |           ^
Language: Java

public static void main(String[] args) {
  int a = 0;
  int b = 0;
  
  if ( a % b ==0) {
  	System.out.println("even");
  }
  else {
    System.out.println("odd");
  }
    

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:10: error: reached end of file while parsing
  }
   ^
2 errors
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>;
typedef vector<int> vi;

int main() {
  int a, b;
  cin >> a >> b;
  cout << (a & b 1 ? "Odd" : "Even") << endl;

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: expected ')' before numeric constant
   11 |   cout << (a & b 1 ? "Odd" : "Even") << 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:8:12: error: lvalue required as left operand of assignment
    8 |   if (a%2=0||b%2=0) {
      |           ~^~~~~
Language: Java

input java.io.*;

public class Main{
  public static void main(String[] args){
    BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    String str = br.readline();
    int a = Integer.parseInt(str);
    str = br.readline();
    int b = Integer.parseInt(str);
    if((a * b) % 2 == 0){
      System.out.println("Even");
    else{
      System.out.println("Odd");
    }
  }
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
input java.io.*;
^
Main.java:12: error: 'else' without 'if'
    else{
    ^
Main.java:16: error: reached end of file while parsing
}
 ^
3 errors
Language: C++

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


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

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

  int sum = a * b; 

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

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

import java.util.*;

class Mail {
	public static void main(String[] args) {
      Scanner sc = new Scanner(System.in);
      int a = sc.nextInt();
      int b = sc.nextInt();
      
      // 入力チェックしたい
      int t = a * b;
      
      if (t % 2 == 0) {
        System.out.println("Even");
      } else {
        System.out.println("0dd");
      }
    }
}

積が奇数なら Odd と、 偶数なら Even と出力せよ。

Compiler output:
Main.java:20: error: class, interface, enum, or record expected
?????? Odd ?? ???? Even ??????
^
Main.java:20: error: illegal character: '\u3001'
?????? Odd ?? ???? Even ??????
            ^
Main.java:20: error: illegal character: '\u3002'
?????? Odd ?? ???? Even ??????
                             ^
3 errors
Language: C++

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

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

  if ((a * b * 10 / 2 ) == a * b / 2 * 10 ) {
    cout << "Even" << endl;
  }
  else if ((a * b * 10 / 2 ) != a * b / 2 * 10 )) {
    cout << "odd" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: expected initializer before 'b'
    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;
      |               ^
a.cc:11:49: error: expected primary-expression before ')' token
   11 |   else if ((a * b * 10 / 2 ) != a * b / 2 * 10 )) {
      |                                                 ^
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 * b) % 2){
        cout << "Odd" << endl;
    }else{
        cout << "Even" << endl;
        }
    }





}

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

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





}

Compiler output:
a.cc:17:1: error: expected declaration before '}' token
   17 | }
      | ^
Language: C

#include <studio.h>

int main(){
  int a, b;
  scanf(%d%d, &a, &b);
  puts(a*b%2 ? "Odd" : "Even")
  return 0;
}  

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

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

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


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

int main(){
    int a,b;
    acanf("%d%d",&a,&b);
    puts(a*b%2 ? "Odd" : "Even");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'acanf' [-Wimplicit-function-declaration]
    3 |     acanf("%d%d",&a,&b);
      |     ^~~~~
main.c:4:5: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    4 |     puts(a*b%2 ? "Odd" : "Even");
      |     ^~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'puts'
  +++ |+#include <stdio.h>
    1 | int main(){
Language: C++

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

int main() {
  int N, A;
  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: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

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

Compiler output:
main.c:1:1: error: expected identifier or '(' before '<' token
    1 | <stdio.h>
      | ^
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: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 <iostream>
using namespace std;
int main(void){
    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:14: error: lvalue required as left operand of assignment
    6 |     if(a * b % 2 = 0)
      |        ~~~~~~^~~
a.cc:9:22: error: expected ';' before 'endl'
    9 |         cout << "Odd" endl;
      |                      ^~~~~
      |                      ;
Language: C++

#include <iostream>
using namespace std;

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

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

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin>> a >> b;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:18: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     if(a*b%2==0) cout<< "Even" <<endl;
      |                  ^~~~
      |                  std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |     if(a*b%2==0) cout<< "Even" <<endl;
      |                                  ^~~~
      |                                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:7:10: error: 'pcout' was not declared in this scope
    7 |     else pcout<< "Odd" <<endl;
      |          ^~~~~
a.cc:7:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     else pcout<< "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 <stdio.h>

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

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
main.c:5:11: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    5 |     scanf('%d %d',&a,&b);
      |           ^~~~~~~
main.c:6:25: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    6 |     if(a*b%2==0) printf('Even\n');
      |                         ^~~~~~~~
main.c:7:17: warning: multi-character character constant [-Wmultichar]
    7 |     else printf('Odd\n');
      |                 ^~~~~~~
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc:5:11: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    5 |     scanf('%d %d',&a,&b);
      |           ^~~~~~~
a.cc:6:23: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    6 |     if(a%b==0) printf('Even\n');
      |                       ^~~~~~~~
a.cc:7:17: warning: multi-character character constant [-Wmultichar]
    7 |     else printf('Odd\n');
      |                 ^~~~~~~
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void){
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:11: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    5 |     scanf('%d %d',&a,&b);
      |           ^~~~~~~
      |           |
      |           int
In file included from a.cc:1:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:6:23: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |     if(a%b==0) printf('Even\n');
      |                       ^~~~~~~~
      |                       |
      |                       int
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:7:17: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    7 |     else printf('Odd\n');
      |                 ^~~~~~~
      |                 |
      |                 int
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:5:11: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    5 |     scanf('%d %d',&a,&b);
      |           ^~~~~~~
main.c:5:11: error: passing argument 1 of 'scanf' makes pointer from integer without a cast [-Wint-conversion]
    5 |     scanf('%d %d',&a,&b);
      |           ^~~~~~~
      |           |
      |           int
In file included from main.c:1:
/usr/include/stdio.h:428:42: note: expected 'const char *' but argument is of type 'int'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:6:23: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    6 |     if(a%b==0) printf('Even\n');
      |                       ^~~~~~~~
main.c:6:23: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    6 |     if(a%b==0) printf('Even\n');
      |                       ^~~~~~~~
      |                       |
      |                       int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:7:17: warning: multi-character character constant [-Wmultichar]
    7 |     else printf('Odd\n');
      |                 ^~~~~~~
main.c:7:17: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
    7 |     else printf('Odd\n');
      |                 ^~~~~~~
      |                 |
      |                 int
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
main.c:9:17: error: expected ';' before '}' token
    9 |         return 0
      |                 ^
      |                 ;
   10 | }
      | ~
Language: Java

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

Compiler output:
Main.java:5: error: incompatible types: String cannot be converted to int
    int a = sc.next();
                   ^
Main.java:6: error: incompatible types: String cannot be converted to int
    int b = sc.next();
                   ^
2 errors
Language: C

#include <stdio.h>

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

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

Compiler output:
Main.java:2: error: '{' expected
public class Main() {
                 ^
1 error
Language: Java

import java.util.*;
 
public class Main {
    public static void main(String[] args) throws Exception{
        // Your code here!
     		Scanner sc = new Scanner(System.in);
            int a = sc.nextInt();
            int b = sc.nextInt();
            int toal =a*b;
            if(total % 2 == 0){
                System.out.println("Even");
                
            }
            if(total %2 !== 0){
                System.out.println("Odd");
                
            }
        
    }
}

Compiler output:
Main.java:14: error: illegal start of expression
            if(total %2 !== 0){
                          ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		// スペース区切りの整数の入力
		int b = sc.nextInt();
		
      	if((a * b) % 2 == 0){
          		// 出力
		System.out.println(Even);
        }
        else{
                // 出力
		System.out.println(Odd);
        }

	}
}

Compiler output:
Main.java:12: error: cannot find symbol
		System.out.println(Even);
		                   ^
  symbol:   variable Even
  location: class Main
Main.java:16: error: cannot find symbol
		System.out.println(Odd);
		                   ^
  symbol:   variable Odd
  location: class Main
2 errors
Language: Java

class productA{
  public static void main(String args[]){
    int i =a*b;
    if(i%2==0){
      system.out.println("Odd");
    }
    if(i%2!=0){
      system.out.println("Even");
}


Compiler output:
Main.java:9: error: reached end of file while parsing
}
 ^
1 error
Language: C

#include <stdio.h>
int main(void) {
    int n, m;
    char buf[1000];

    fgets(buf, sizeof(buf), stdin);
    sscanf_s(buf, "%d %d\n", &n, &m);

    if (n % 2 == 1 && m % 2 == 1)
        printf("Odd");
    else
        printf("Even");

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'sscanf_s'; did you mean 'sscanf'? [-Wimplicit-function-declaration]
    7 |     sscanf_s(buf, "%d %d\n", &n, &m);
      |     ^~~~~~~~
      |     sscanf
Language: C++

#include <iostream>
using namespace std;

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

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

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

Compiler output:
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
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<stdio.h>

int main() {
    int a;
    int b;

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

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

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

#include<stdio.h>

int main() {
    int a;
    int b;

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

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

Compiler output:
main.c: In function 'main':
main.c:7:18: error: invalid type argument of unary '*' (have 'int')
    7 |     scanf("%d" , *a);
      |                  ^~
main.c:8:17: error: invalid type argument of unary '*' (have 'int')
    8 |     scanf("%d", *b);
      |                 ^~
main.c:10:15: error: lvalue required as left operand of assignment
   10 |     if((a*b%2)=0){
      |               ^
Language: C++

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

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

#include <ionstome>
using namespace std;

int main(){
  int a;
  int b;
  cin>>a>>b;
  if ( (a*b)%2==1 ):{
    coutodd
  }
  if ( (a*b)%2==0 ):{
    couteven
  }
       return0
      

Compiler output:
a.cc:1:10: fatal error: ionstome: No such file or directory
    1 | #include <ionstome>
      |          ^~~~~~~~~~
compilation terminated.
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:
      |       ^~~