criyle/codenet-compile-errors huggingface dataset:
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:11:27: error: expected '}' at end of input
   11 |   cout << "Even" << endl;}
      |                           ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: 'cont' was not declared in this scope; did you mean 'const'?
    9 |   else cont << "Odd" << endl;
      |        ^~~~
      |        const
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc: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: Java

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

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

int a;
int b;
if(a*b%2==0){
System.out.println("even");}
else{System.out.println("odd");}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int a;
^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: class, interface, enum, or record expected
if(a*b%2==0){
^
Main.java:4: error: class, interface, enum, or record expected
System.out.println("even");}
                           ^
Main.java:5: error: class, interface, enum, or record expected
else{System.out.println("odd");}
                               ^
4 errors
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: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;
  int b;
  int c = a*b;
  
  if(c == 1){
    cout << "odd";
  }
  else{
    for(int i =c;c>=1;c/2;){
      continue;
    }
    if(c==1){
      cout << "even";
      else{
        cout << "odd";
      }
    }
  }
}
    
    


Compiler output:
a.cc: In function 'int main()':
a.cc:13:26: error: expected ')' before ';' token
   13 |     for(int i =c;c>=1;c/2;){
      |        ~                 ^
      |                          )
a.cc:13:27: error: expected primary-expression before ')' token
   13 |     for(int i =c;c>=1;c/2;){
      |                           ^
a.cc:18:7: error: expected '}' before 'else'
   18 |       else{
      |       ^~~~
a.cc:16:13: note: to match this '{'
   16 |     if(c==1){
      |             ^
a.cc: At global scope:
a.cc:23:1: error: expected declaration before '}' token
   23 | }
      | ^
Language: C++

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

int main(){
  int a;
  int b;
  int c = ab;
  
  if(c = 1){
    cout << "odd";
  }
  else{
    for(int i =c;c>=1;c/2;){
      continue;
    }
    if(c==1){
      cout << "even";
      else{
        cout << "odd";
      }
    }
  }
  
  return;
    
    


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'ab' was not declared in this scope; did you mean 'b'?
    7 |   int c = ab;
      |           ^~
      |           b
a.cc:13:26: error: expected ')' before ';' token
   13 |     for(int i =c;c>=1;c/2;){
      |        ~                 ^
      |                          )
a.cc:13:27: error: expected primary-expression before ')' token
   13 |     for(int i =c;c>=1;c/2;){
      |                           ^
a.cc:18:7: error: expected '}' before 'else'
   18 |       else{
      |       ^~~~
a.cc:16:13: note: to match this '{'
   16 |     if(c==1){
      |             ^
a.cc: At global scope:
a.cc:24:3: error: expected unqualified-id before 'return'
   24 |   return;
      |   ^~~~~~
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:1:1: error: 'include' does not name a type
    1 | include<bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even" << endl;
      |     ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope
    8 |     cout << "Even" << endl;
      |                       ^~~~
a.cc:10:3: error: 'cout' was not declared in this scope
   10 |   cout << "Odd" << endl;
      |   ^~~~
a.cc:10:20: error: 'endl' was not declared in this scope
   10 |   cout << "Odd" << endl;
      |                    ^~~~
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 {
    count << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [4]' to binary 'operator<<'
   12 |     count << "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 if {
    cout << "Odd" << endl;
  }  
  return 0
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:11: error: expected '(' before '{' token
   12 |   else if {
      |           ^
      |           (
a.cc:15:11: error: expected ';' before '}' token
   15 |   return 0
      |           ^
      |           ;
   16 | }
      | ~
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: lvalue required as left operand of assignment
    9 |   if (c % 2 = 0) {
      |       ~~^~~
a.cc:12:11: error: expected '(' before '{' token
   12 |   else if {
      |           ^
      |           (
a.cc:15:11: error: expected ';' before '}' token
   15 |   return 0
      |           ^
      |           ;
   16 | }
      | ~
Language: C++

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

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

  if (c % 2 = 0) {
    cout << "Even" << endl;
  }
  else if {
    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:12:3: error: 'else' without a previous 'if'
   12 |   else if {
      |   ^~~~
a.cc:12:11: error: expected '(' before '{' token
   12 |   else if {
      |           ^
      |           (
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:12:3: error: 'else' without a previous 'if'
   12 |   else {
      |   ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  double 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:6:11: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    6 |     if(a*b%2 == 1)
      |        ~~~^~
      |         |  |
      |         |  int
      |         double
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:6:24: error: expected ';' before 'cout'
    6 |     if((a * b % 2 == 1)
      |                        ^
      |                        ;
    7 |       cout << "Odd" << endl;
      |       ~~~~              
a.cc:8:3: error: expected primary-expression before 'else'
    8 |   else
      |   ^~~~
a.cc:7:29: error: expected ')' before 'else'
    7 |       cout << "Odd" << endl;
      |                             ^
      |                             )
    8 |   else
      |   ~~~~                       
a.cc:6:7: note: to match this '('
    6 |     if((a * b % 2 == 1)
      |       ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: expected ';' before 'cout'
    6 |     if((a*b%2 == 1)
      |                    ^
      |                    ;
    7 |       cout << "Odd" << endl;
      |       ~~~~          
a.cc:8:3: error: expected primary-expression before 'else'
    8 |   else
      |   ^~~~
a.cc:7:29: error: expected ')' before 'else'
    7 |       cout << "Odd" << endl;
      |                             ^
      |                             )
    8 |   else
      |   ~~~~                       
a.cc:6:7: note: to match this '('
    6 |     if((a*b%2 == 1)
      |       ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main () {
  double 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:6:12: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    6 |     if((a*b%2 == 1)
      |         ~~~^~
      |          |  |
      |          |  int
      |          double
a.cc:8:3: error: expected primary-expression before 'else'
    8 |   else
      |   ^~~~
a.cc:7:29: error: expected ')' before 'else'
    7 |       cout << "Odd" << endl;
      |                             ^
      |                             )
    8 |   else
      |   ~~~~                       
a.cc:6:7: note: to match this '('
    6 |     if((a*b%2 == 1)
      |       ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main () {
  double 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:11: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    6 |     if(a*b%2 == 0)
      |        ~~~^~
      |         |  |
      |         |  int
      |         double
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: lvalue required as left operand of assignment
    6 |   int ( a + b ) / 2 = c;
      |   ~~~~~~~~~~~~~~^~~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a >> b;
      |   ^~~
a.cc:6:23: error: 'c' was not declared in this scope
    6 |   int ( a + b ) / 2 = c;
      |                       ^
a.cc:8:7: error: 'cout' was not declared in this scope
    8 |       cout << "Even" << endl;
      |       ^~~~
a.cc:8:25: error: 'endl' was not declared in this scope
    8 |       cout << "Even" << endl;
      |                         ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << "Odd" << endl;
      |     ^~~~
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |     cout << "Odd" << endl;
      |                      ^~~~
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;
  }
  if(c%2!=0){
    cout << "Odd" << endl;
  }
}

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

import java.util.Scanner;

public class Main3 {
    public static void main(String[] args) {
    	Scanner sc = new Scanner(System.in);
    	int n = sc.nextInt();
    	
    	int t[] = new int[n+1];
    	int x[] = new int[n+1];
    	int y[] = new int[n+1];
    	
    	t[0] = 0 ;
    	x[0] = 0 ;
    	y[0] = 0 ;
    	
    	boolean result = true;
    	
    	for(int i = 1; i <= n; i++) {
    		t[i] = sc.nextInt();
    		x[i] = sc.nextInt();
    		y[i] = sc.nextInt();
    		
    		int tempx = Math.abs(x[i] - x[i-1]);
    		int tempy = Math.abs(y[i] - y[i-1]);
    		int tempt = Math.abs(t[i] - t[i-1]);
    		
    		if ((tempx + tempy)> tempt) {
    			result = false;
    			break;
    		}
    		
    		if ((tempx +tempy) %2 != tempt %2) {
    			result = false;
    			break;
    		}
    	}
    	
    	sc.close();
    	
    	if (result) {
    		System.out.println("Yes");
    	} else {
    		System.out.println("No");
    	}
    }
}


Compiler output:
Main.java:3: error: class Main3 is public, should be declared in a file named Main3.java
public class Main3 {
       ^
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:8:14: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |   cout<"Even"<< 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:8:9: warning: multi-character character constant [-Wmultichar]
    8 |   cout<<'Even'<< endl;
      |         ^~~~~~
a.cc:12:9: warning: multi-character character constant [-Wmultichar]
   12 |   cout<<'Odd'<< endl;
      |         ^~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: expected ',' or ';' before 'if'
    7 |   if (c%2==0){
      |   ^~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else {
      |   ^~~~
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: Java

public class Main{
  public static void main(String[] args) {
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    int count =0;
    int check =0;
    ArrayList<Integer> t = new ArrayList<Integer>();
    ArrayList<Integer> x = new ArrayList<Integer>();
    ArrayList<Integer> y = new ArrayList<Integer>();
    ArrayList<Integer> z = new ArrayList<Integer>();
    while (sc.hasNext()) {
      count++;
      t.add(sc.nextInt());
      x.add(sc.nextInt());
      y.add(sc.nextInt());
    }
    for (int i =0; i<count; i++) {
      int ttmp = t.get(i);
      int xtmp = x.get(i);
      int ytmp = y.get(i);
      z.add(xtmp + ytmp);
      
      if (xtmp+ytmp > ttmp) break;
      if ((ttmp+xtmp+ytmp) % 2 == 1) break;
      if (i>0) {
        int ztmp = z.get(i-1);
        int interval = Math.abs(xtmp + ytmp - ztmp);
        if (interval > ttmp - t.get(i-1)) break;
      }
      check++;
    } 
      if (check == count ) {
        System.out.println("Yes");
      } else {
        System.out.println("No");
      }
  }
}

Compiler output:
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
Main.java:7: error: cannot find symbol
    ArrayList<Integer> t = new ArrayList<Integer>();
    ^
  symbol:   class ArrayList
  location: class Main
Main.java:7: error: cannot find symbol
    ArrayList<Integer> t = new ArrayList<Integer>();
                               ^
  symbol:   class ArrayList
  location: class Main
Main.java:8: error: cannot find symbol
    ArrayList<Integer> x = new ArrayList<Integer>();
    ^
  symbol:   class ArrayList
  location: class Main
Main.java:8: error: cannot find symbol
    ArrayList<Integer> x = new ArrayList<Integer>();
                               ^
  symbol:   class ArrayList
  location: class Main
Main.java:9: error: cannot find symbol
    ArrayList<Integer> y = new ArrayList<Integer>();
    ^
  symbol:   class ArrayList
  location: class Main
Main.java:9: error: cannot find symbol
    ArrayList<Integer> y = new ArrayList<Integer>();
                               ^
  symbol:   class ArrayList
  location: class Main
Main.java:10: error: cannot find symbol
    ArrayList<Integer> z = new ArrayList<Integer>();
    ^
  symbol:   class ArrayList
  location: class Main
Main.java:10: error: cannot find symbol
    ArrayList<Integer> z = new ArrayList<Integer>();
                               ^
  symbol:   class ArrayList
  location: class Main
10 errors
Language: C

#include<stdio.h>

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

Compiler output:
main.c:3:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | void main{
      |          ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, srt, end) for (long long i = (srt); i < (long long)(end); i++)
#define VL vector<ll>
#define INF 100000000
typedef long long ll;

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

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

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

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <bits/stdc++.h>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even"<< end;
      |     ^~~~
a.cc:8:22: error: 'end' was not declared in this scope
    8 |     cout << "Even"<< end;
      |                      ^~~
a.cc:9:5: error: expected '}' before 'else'
    9 |     else {
      |     ^~~~
a.cc:7:24: note: to match this '{'
    7 |   if (a * b % 2 == 0 ) {
      |                        ^
a.cc:10:7: error: 'cout' was not declared in this scope
   10 |       cout << "dd"<< endl;
      |       ^~~~
a.cc:10:22: error: 'endl' was not declared in this scope
   10 |       cout << "dd"<< endl;
      |                      ^~~~
a.cc: At global scope:
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <bits/stdc++.h>
      | ^~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << Even << end;
      |     ^~~~
a.cc:8:13: error: 'Even' was not declared in this scope
    8 |     cout << Even << end;
      |             ^~~~
a.cc:8:21: error: 'end' was not declared in this scope
    8 |     cout << Even << end;
      |                     ^~~
a.cc:11:7: error: 'cout' was not declared in this scope
   11 |       cout << Odd << endl;
      |       ^~~~
a.cc:11:15: error: 'Odd' was not declared in this scope
   11 |       cout << Odd << endl;
      |               ^~~
a.cc:11:22: error: 'endl' was not declared in this scope
   11 |       cout << Odd << endl;
      |                      ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'Even' was not declared in this scope
    8 |     cout << Even << end;
      |             ^~~~
a.cc:9:5: error: expected '}' before 'else'
    9 |     else {
      |     ^~~~
a.cc:7:24: note: to match this '{'
    7 |   if (a * b % 2 == 0 ) {
      |                        ^
a.cc:10:15: error: 'Odd' was not declared in this scope
   10 |       cout << Odd << endl;
      |               ^~~
a.cc: At global scope:
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:4:5: error: cannot declare '::main' to be a global variable
    4 | int main {
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a, b;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if (a * b % 2 == 0) {
      |   ^~
a.cc:10:3: error: expected unqualified-id before 'else'
   10 |   else {
      |   ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

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

int main() {
  int A, B;
  cin >> A >> B;
  
  if (A%2==o||B%2==0){
    cout <<"Even";
  }
  else {
    cout <<"Odd";
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: 'o' was not declared in this scope
    8 |   if (A%2==o||B%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 << "Even" << endl;
  }
  else{
    cout << "Odd" << endl;
  }
	
}

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

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

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

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

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

Compiler output:
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.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 << "Even" << endl;
  } else {
    cout << "Odd" << endl;
}

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

mport java.util.*;

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

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

import java.util.Scanner;

public class App {
    public static void main(final String[] args) throws Exception {
        System.out.println("Hello Java");
        Scanner sc = new Scanner(System.in);

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

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

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

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

Compiler output:
a.cc:6:29: warning: missing terminating " character
    6 |         cout << a*b%2?"Odd":"Even;
      |                             ^
a.cc:6:29: error: missing terminating " character
    6 |         cout << a*b%2?"Odd":"Even;
      |                             ^~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: expected primary-expression before 'return'
    7 |         return 0;
      |         ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: expected ';' before ':' token
   11 |     cout << "Even" << endl:
      |                           ^
      |                           ;
Language: C++

#include <iostream>
using namespace std;

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

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


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

public static void main(String[] args) {
    int a = Integer.parseInt(args[0]);
    int b = Integer.parseInt(args[1]);
    String result = (a * b) % 2 == 0 ? "Even" : "Odd";
    System.out.println(result);
}

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

public static void main(String[] args) {
        int a = (int) args[0];
        int b = (int) args[1];

        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
        System.out.println(result);

    }

Compiler output:
Main.java:5: error: unclosed character literal
        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
                                            ^
Main.java:5: error: unclosed character literal
        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
                                                 ^
Main.java:5: error: not a statement
        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
                                              ^
Main.java:5: error: unclosed character literal
        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
                                                     ^
Main.java:5: error: unclosed character literal
        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
                                                         ^
Main.java:5: error: not a statement
        String result = (a * b) % 2 === 0 ? 'Even' : 'Odd';
                                                       ^
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)
7 errors
Language: C++

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

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



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

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


Compiler output:
main.c: In function 'main':
main.c:7:4: error: 'esle' undeclared (first use in this function)
    7 |   }esle{
      |    ^~~~
main.c:7:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:8: error: expected ';' before '{' token
    7 |   }esle{
      |        ^
      |        ;
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> a >> b;
      |     ^~~
a.cc:8:9: error: 'cout' was not declared in this scope
    8 |         cout << "Even" << endl;
      |         ^~~~
a.cc:8:27: error: 'endl' was not declared in this scope
    8 |         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 <stdio.h>

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

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

#include <stdio.h>

int main(void) {
     int a, b;
    scanf("%d",  a);
    scanf("%d",  b);
int pro = a * b;
if (pro % 2 == 0)  {
printf("Yes");
} else {
printf("No");
}

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

#include <stdio.h>

int main(void) {
     int a, b;
    scanf("%d",  &a);
    scanf("%d",  &b);
int pro = a * b;
if (pro % 2 == 0)  {
printf("Yes");
} else {
printf("No");
}

Compiler output:
main.c: In function 'main':
main.c:12:1: error: expected declaration or statement at end of input
   12 | }
      | ^
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<iostream>
using namespace std;
int main()
{
    // 整数の入力
    string s;
    cin >> s;

    int cont = 0;
    // 出力
    for(int ct = 0; ct < s.size(); ct++)
    {
        if(s[ct] == "1")
        {
            ct++;
        }
    }
    cout << cont;
    
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   13 |         if(s[ct] == "1")
Language: Java

import java.util.*;
public class Main {
	Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		
		int b = sc.nextInt();
		
		int result = (a * b);
		
		if((result % 2) == 0) {
			System.out.println("Even");
		}else{
			System.out.println("Odd");
		}
}

Compiler output:
Main.java:11: error: illegal start of type
		if((result % 2) == 0) {
		^
Main.java:11: error: <identifier> expected
		if((result % 2) == 0) {
		          ^
Main.java:13: error: illegal start of type
		}else{
		 ^
3 errors
Language: C++

#include<iostream>
using namespace std;
int main()
{
    // 整数の入力
    int a,b;
    cin >> a >> b;

    // 出力
    if (((a * b) % 2) == 0)
    {
        cout "Even";
    }
    else
    {
        cout "Odd";
    }
    
    return 0;
}


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

package test;

import java.util.Scanner;

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


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

package test;

import java.util.Scanner;

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

}

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

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

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

    cin >> a >> b;
    product = a * b;

    if (product % 2 == 0){
        cout << "Even" << endl;
    }

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

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

#include <iostream>

using namespace std;

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

    int c = a * b;

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

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

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:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> A >> B ;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout << "Odd" << endl ;
      |     ^~~~
a.cc:5:22: error: 'endl' was not declared in this scope
    5 |     cout << "Odd" << endl ;
      |                      ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even" << endl ;
      |     ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope
    8 |     cout << "Even" << endl ;
      |                       ^~~~
Language: C++

int main(void){
  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:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> A >> B ;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout << "Odd" << endl ;
      |     ^~~~
a.cc:5:22: error: 'endl' was not declared in this scope
    5 |     cout << "Odd" << endl ;
      |                      ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even" << endl ;
      |     ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope
    8 |     cout << "Even" << endl ;
      |                       ^~~~
Language: C++

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

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

#include <stdio.h>
#include <stdlib.h>
 
void main()
{
  int a,b;
  
  printf("数値aを入力してください");
  scanf("%d", &a);
  printf("数値bを入力してください");
  scanf("%d", &b);
  
  if((a % 2) && (b % 2))
  {
    printf("Odd"); 
  }
  else
  {
    printf("Even");
  }
}
#include <stdio.h>
 
int main()
{
  int a,b;
  
  printf("数値aを入力してください");
  scanf("%d", &a);
  printf("数値bを入力してください");
  scanf("%d", &b);
  
  if((a % 2) && (b % 2))
  {
    printf("Odd"); 
  }
  else
  {
    printf("Even");
  }
}

Compiler output:
main.c:24:5: error: conflicting types for 'main'; have 'int()'
   24 | int main()
      |     ^~~~
main.c:4:6: note: previous definition of 'main' with type 'void()'
    4 | void main()
      |      ^~~~
Language: C

#include <stdio.h>
#include <stdlib.h>
 
int main()
{
  int a,b;
  
  printf("数値aを入力してください");
  scanf("%d", &a);
  printf("数値bを入力してください");
  scanf("%d", &b);
  
  if((a % 2) && (b % 2))
  {
    printf("Odd"); 
  }
  else
  {
    printf("Even");
  }
}
#include <stdio.h>

int main()
{
  int a,b;
  
  printf("数値aを入力してください");
  scanf("%d", &a);
  printf("数値bを入力してください");
  scanf("%d", &b);
  
  if((a % 2) && (b % 2))
  {
    printf("Odd"); 
  }
  else
  {
    printf("Even");
  }
}
提出情報

Compiler output:
main.c:24:5: error: redefinition of 'main'
   24 | int main()
      |     ^~~~
main.c:4:5: note: previous definition of 'main' with type 'int()'
    4 | int main()
      |     ^~~~
main.c:42:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   42 | 提出情報
      | ^~~~~~~~
Language: C++

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

int main() {
  int a, b;
  cinn >> 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:6:3: error: 'cinn' was not declared in this scope
    6 |   cinn >> a >> b;
      |   ^~~~
Language: C++

#include <bits/stdc++.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cinn' was not declared in this scope
    5 |   cinn >> a >> b;
      |   ^~~~
a.cc:7:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   cout << "Even" << endl;
      |   ^~~~
      |   std::cout
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:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   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:9:3: 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
      |                  ^~~~
a.cc:9:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   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 <bits/stdc++.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: 'cinn' was not declared in this scope
    5 |   a << b << cinn
      |             ^~~~
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else {
      |   ^~~~
a.cc:9:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   cout << "Odd" << endl;
      |   ^~~~
      |   std::cout
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:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |   cout << "Odd" << endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

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

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

    
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:11:16: error: lvalue required as left operand of assignment
   11 |     if(result%2=0)
      |                ^
Language: C++

int main()
{
    int a, b;

    std::cin >> a >> b;
    if( a % 2==1 && b % 2 == 1){
        std::cout << "Odd" << std::endl;
    } else {
        std::cout << "Even" << std::endl;
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'cin' is not a member of 'std'
    5 |     std::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 | int main()
a.cc:7:14: error: 'cout' is not a member of 'std'
    7 |         std::cout << "Odd" << std::endl;
      |              ^~~~
a.cc:7:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:36: error: 'endl' is not a member of 'std'
    7 |         std::cout << "Odd" << std::endl;
      |                                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main()
a.cc:9:14: error: 'cout' is not a member of 'std'
    9 |         std::cout << "Even" << std::endl;
      |              ^~~~
a.cc:9:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:37: error: 'endl' is not a member of 'std'
    9 |         std::cout << "Even" << std::endl;
      |                                     ^~~~
a.cc:9:37: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

#include<stdio.h>
int main()
{
int a;
int b;
int c;

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

c=a*b;

if(c%2==1){
printf("Odd");
}else {
printf("Even");
}

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

#include<stdio.h>
int main()
{
int a;
int b;
int c;

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

c=a*b;

IF(c%2==0){
printf("Odd");
}else {
printf("Even");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'IF' [-Wimplicit-function-declaration]
   13 | IF(c%2==0){
      | ^~
main.c:13:11: error: expected ';' before '{' token
   13 | IF(c%2==0){
      |           ^
      |           ;
Language: C

#include<stdio.h>
int main()
{
int a;
int b;
int c;

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

c=a*b;

IF(c%2==0){
prntf("Even");
}else {
printf("Odd");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:1: error: implicit declaration of function 'IF' [-Wimplicit-function-declaration]
   13 | IF(c%2==0){
      | ^~
main.c:13:11: error: expected ';' before '{' token
   13 | IF(c%2==0){
      |           ^
      |           ;
Language: C++

include <iostream>
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:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> a >> b;
      |   ^~~
a.cc:5:3: error: 'cout' was not declared in this scope
    5 |   cout << "odd"<<endl;
      |   ^~~~
a.cc:5:18: error: 'endl' was not declared in this scope
    5 |   cout << "odd"<<endl;
      |                  ^~~~
a.cc:8:3: error: 'cout' was not declared in this scope
    8 |   cout << "Even" <<endl;
      |   ^~~~
a.cc:8:20: error: 'endl' was not declared in this scope
    8 |   cout << "Even" <<endl;
      |                    ^~~~