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

int main (){
int a ,b;
  x=a*b;
  if(x%==0){
    printf("Even");
    } else {
    printf("Odd")};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'x' was not declared in this scope
    3 |   x=a*b;
      |   ^
a.cc:4:9: error: expected primary-expression before '=' token
    4 |   if(x%==0){
      |         ^
a.cc:5:5: error: 'printf' was not declared in this scope
    5 |     printf("Even");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main (){
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Odd")};
      |     ^~~~~~
a.cc:7:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:11: error: expected ';' before '}' token
    8 |   return 0
      |           ^
      |           ;
    9 | }
      | ~
Language: C++

int main(void)
{
  a>=0;
  b<=1000;
  x=a*b;
  if(x%==0){
    printf("Even");
    } else {
    printf("Odd")};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'a' was not declared in this scope
    3 |   a>=0;
      |   ^
a.cc:4:3: error: 'b' was not declared in this scope
    4 |   b<=1000;
      |   ^
a.cc:5:3: error: 'x' was not declared in this scope
    5 |   x=a*b;
      |   ^
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Even");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("Odd")};
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'printf' was not declared in this scope
    4 |   printf("Even");
      |   ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main (){
a.cc:6:3: error: 'printf' was not declared in this scope
    6 |   printf("Odd");
      |   ^~~~~~
a.cc:6:3: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:8:2: error: expected '}' at end of input
    8 | }
      |  ^
a.cc:1:12: note: to match this '{'
    1 | int main (){
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'print' was not declared in this scope; did you mean 'int'?
    4 |   print("Even");
      |   ^~~~~
      |   int
a.cc:6:3: error: 'print' was not declared in this scope; did you mean 'int'?
    6 |   print("Odd");
      |   ^~~~~
      |   int
a.cc:8:2: error: expected '}' at end of input
    8 | }
      |  ^
a.cc:1:12: note: to match this '{'
    1 | int main (){
      |            ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'print' was not declared in this scope; did you mean 'int'?
    4 |   print ("Even");
      |   ^~~~~
      |   int
a.cc:5:1: error: expected '}' before 'else'
    5 | else
      | ^~~~
a.cc:3:17: note: to match this '{'
    3 | if((a*b)%2 == 0){;
      |                 ^
a.cc:6:3: error: 'print' was not declared in this scope; did you mean 'int'?
    6 |   print ("Odd")};
      |   ^~~~~
      |   int
a.cc: At global scope:
a.cc:7:1: error: expected unqualified-id before 'return'
    7 | return 0;
      | ^~~~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'print' was not declared in this scope; did you mean 'int'?
    4 |   print ("Even");
      |   ^~~~~
      |   int
a.cc:5:1: error: 'else' without a previous 'if'
    5 | else;
      | ^~~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:19: error: 'puts' was not declared in this scope
    3 | if ((a*b)%2 == 0) puts ("Even");
      |                   ^~~~
a.cc:4:6: error: 'puts' was not declared in this scope
    4 | else puts ("Odd");
      |      ^~~~
Language: C++

int main (){
int a, b;
cin >>a>>b;
int x = a * b ;
if (x%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:5:15: error: 'puts' was not declared in this scope
    5 | if (x%2 == 0) puts ("Even");
      |               ^~~~
a.cc:6:6: error: 'puts' was not declared in this scope
    6 | else puts ("Odd");
      |      ^~~~
Language: C++

int main (){
int a ,b;
cin >>a>>b;
int x = a * b ;
if (x%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:5:15: error: 'puts' was not declared in this scope
    5 | if (x%2 == 0) puts ("Even");
      |               ^~~~
a.cc:6:6: error: 'puts' was not declared in this scope
    6 | else puts ("Odd");
      |      ^~~~
Language: C++

int main (){
int a ,b;
std::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:6: error: 'cin' is not a member of 'std'
    3 | 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:5:17: error: 'puts' was not declared in this scope
    5 | if ( c %2 == 0) puts ("Even");
      |                 ^~~~
a.cc:6:6: error: 'puts' was not declared in this scope
    6 | else puts ("Odd");
      |      ^~~~
Language: C++

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:5:17: error: 'puts' was not declared in this scope
    5 | if ( c %2 == 0) puts ("Even");
      |                 ^~~~
a.cc:6:6: error: 'puts' was not declared in this scope
    6 | else puts ("Odd");
      |      ^~~~
Language: C++

int main (){
int a ,b;
cin >>a;
cin >>b;
  int x=a*b;
  if(x%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;
      | ^~~
a.cc:7:5: error: 'puts' was not declared in this scope
    7 |     puts("Even");
      |     ^~~~
a.cc:9:5: error: 'puts' was not declared in this scope
    9 |     puts("Odd");
      |     ^~~~
Language: C++

int main (){
int a ,b;
cin >>a >>b;
  int x=a*b;
  if(x%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:6:5: error: 'puts' was not declared in this scope
    6 |     puts("Even");
      |     ^~~~
a.cc:8:5: error: 'puts' was not declared in this scope
    8 |     puts("Odd");
      |     ^~~~
Language: C++

int main (){
int a ,b;
cin >>a >>b;
  int x=a*b;
  if(x% == 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:5:9: error: expected primary-expression before '==' token
    5 |   if(x% == 0)
      |         ^~
a.cc:6:5: error: 'puts' was not declared in this scope
    6 |     puts("Even");
      |     ^~~~
a.cc:8:5: error: 'puts' was not declared in this scope
    8 |     puts("Odd");
      |     ^~~~
Language: C++

int main (){
int a ,b;
cin >>a > >b;
  int x=a*b;
  if(x% == 0)
    prints("Even");
    else
    prints("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:9: error: expected primary-expression before '==' token
    5 |   if(x% == 0)
      |         ^~
a.cc:6:5: error: 'prints' was not declared in this scope
    6 |     prints("Even");
      |     ^~~~~~
a.cc:8:5: error: 'prints' was not declared in this scope
    8 |     prints("Odd");
      |     ^~~~~~
Language: C++

int main(){
  int a, b;
  cin>>a>>b;
  int x=a*b;
  if(x% == 0)
    prints("Even");
    else
    prints("Odd");
  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:9: error: expected primary-expression before '==' token
    5 |   if(x% == 0)
      |         ^~
a.cc:6:5: error: 'prints' was not declared in this scope
    6 |     prints("Even");
      |     ^~~~~~
a.cc:8:5: error: 'prints' was not declared in this scope
    8 |     prints("Odd");
      |     ^~~~~~
Language: C++

int main(){
  int a, b;
  cin >>a>>b;
  int x=a*b;
  if(x%==0)
    prints("Even");
    else
    prints("Odd");
  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:9: error: expected primary-expression before '=' token
    5 |   if(x%==0)
      |         ^
a.cc:6:5: error: 'prints' was not declared in this scope
    6 |     prints("Even");
      |     ^~~~~~
a.cc:8:5: error: 'prints' was not declared in this scope
    8 |     prints("Odd");
      |     ^~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin>>a>>b;
      |   ^~~
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'prints' was not declared in this scope
    7 |     prints("Even");
      |     ^~~~~~
a.cc:8:5: error: expected '}' before 'else'
    8 |     else
      |     ^~~~
a.cc:6:12: note: to match this '{'
    6 |   if(x%==0){
      |            ^
a.cc:9:5: error: 'prints' was not declared in this scope
    9 |     prints("Odd")};
      |     ^~~~~~
a.cc: At global scope:
a.cc:10:3: error: expected unqualified-id before 'return'
   10 |   return 0;
      |   ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >>a>>b;
      |   ^~~
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'prints' was not declared in this scope
    7 |     prints("Even");
      |     ^~~~~~
a.cc:8:5: error: expected '}' before 'else'
    8 |     else
      |     ^~~~
a.cc:6:12: note: to match this '{'
    6 |   if(x%==0){
      |            ^
a.cc:9:5: error: 'prints' was not declared in this scope
    9 |     prints("Odd")};
      |     ^~~~~~
a.cc: At global scope:
a.cc:10:3: error: expected unqualified-id before 'return'
   10 |   return 0;
      |   ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >>a>>b;
      |   ^~~
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'prints' was not declared in this scope
    7 |     prints("Even",x);
      |     ^~~~~~
a.cc:8:5: error: expected '}' before 'else'
    8 |     else
      |     ^~~~
a.cc:6:12: note: to match this '{'
    6 |   if(x%==0){
      |            ^
a.cc:9:5: error: 'prints' was not declared in this scope
    9 |     prints("Odd",x)};
      |     ^~~~~~
a.cc: At global scope:
a.cc:10:3: error: expected unqualified-id before 'return'
   10 |   return 0;
      |   ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

int main(void)
{
  int a, b;
  cin >>a>>b;
  int x=a*b;
  if(x%==0){
    prints("Even",x);
    } else {
    prints("Odd",x)};
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >>a>>b;
      |   ^~~
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'prints' was not declared in this scope
    7 |     prints("Even",x);
      |     ^~~~~~
a.cc:9:5: error: 'prints' was not declared in this scope
    9 |     prints("Odd",x)};
      |     ^~~~~~
Language: C++

int main(void)
{
  int a, b;
  cin >> a>>b;
  int x=a*b;
  if(x%==0){
    printf("Even",x);
    } else {
    printf("Odd",x)};
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> a>>b;
      |   ^~~
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Even",x);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("Odd",x)};
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(void)
{
  int a, b;
  cin >> a>>b;
  x=a*b;
  if(x%==0){
    printf("Even",x);
    } else {
    printf("Odd",x)};
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> a>>b;
      |   ^~~
a.cc:5:3: error: 'x' was not declared in this scope
    5 |   x=a*b;
      |   ^
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Even",x);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("Odd",x)};
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(void)
{
  int a, b;
  cin >> a, >>b;
  x=a*b;
  if(x%==0){
    printf("Even",x);
    } else {
    printf("Odd",x)};
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> a, >>b;
      |   ^~~
a.cc:4:13: error: expected primary-expression before '>>' token
    4 |   cin >> a, >>b;
      |             ^~
a.cc:5:3: error: 'x' was not declared in this scope
    5 |   x=a*b;
      |   ^
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Even",x);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("Odd",x)};
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(void)
{
  int a, b;
  a>=0;
  b<=1000;
  x=a*b;
  if(x%==0){
    printf("Even",x);
    } else {
    printf("Odd",x)};
  return 0;
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'x' was not declared in this scope
    6 |   x=a*b;
      |   ^
a.cc:7:9: error: expected primary-expression before '=' token
    7 |   if(x%==0){
      |         ^
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("Even",x);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:10:5: error: 'printf' was not declared in this scope
   10 |     printf("Odd",x)};
      |     ^~~~~~
a.cc:10:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

int main(void)
{
  int a, b
  a>=0;
  b<=1000;
  x=a*b;
  if(x%==0){
    printf("Even",x);
    } else {
    printf("Odd",x)};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: expected initializer before 'a'
    4 |   a>=0;
      |   ^
a.cc:5:3: error: 'b' was not declared in this scope
    5 |   b<=1000;
      |   ^
a.cc:6:3: error: 'x' was not declared in this scope
    6 |   x=a*b;
      |   ^
a.cc:7:9: error: expected primary-expression before '=' token
    7 |   if(x%==0){
      |         ^
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("Even",x);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:10:5: error: 'printf' was not declared in this scope
   10 |     printf("Odd",x)};
      |     ^~~~~~
a.cc:10:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:11:11: error: expected ';' before '}' token
   11 |   return 0
      |           ^
      |           ;
   12 | }
      | ~
Language: C++

int main(void)
{
  a>=0;
  b<=1000;
  x=a*b;
  if(x%==0){
    printf("Even",x);
    } else {
    printf("Odd",x)};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'a' was not declared in this scope
    3 |   a>=0;
      |   ^
a.cc:4:3: error: 'b' was not declared in this scope
    4 |   b<=1000;
      |   ^
a.cc:5:3: error: 'x' was not declared in this scope
    5 |   x=a*b;
      |   ^
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(x%==0){
      |         ^
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Even",x);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("Odd",x)};
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

int main(void)
{
  a>=0;
  b<=1000;
  x=a*b;
  if(a%==0){
    printf("Even",a);
    } else {
    printf("Odd",a)};
  return 0
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'a' was not declared in this scope
    3 |   a>=0;
      |   ^
a.cc:4:3: error: 'b' was not declared in this scope
    4 |   b<=1000;
      |   ^
a.cc:5:3: error: 'x' was not declared in this scope
    5 |   x=a*b;
      |   ^
a.cc:6:9: error: expected primary-expression before '=' token
    6 |   if(a%==0){
      |         ^
a.cc:7:5: error: 'printf' was not declared in this scope
    7 |     printf("Even",a);
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void)
a.cc:9:5: error: 'printf' was not declared in this scope
    9 |     printf("Odd",a)};
      |     ^~~~~~
a.cc:9:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

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

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

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

#include<bit/stdc++.h>

using namespace std;

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

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



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

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

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

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

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

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


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

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #including; did you mean #include?
    1 | #including <bits/stdc++.h>
      |  ^~~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #including <bits/stdc++.h>
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even" <<endl;
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:22: error: 'endl' was not declared in this scope
    8 |     cout << "Even" <<endl;
      |                      ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #including <bits/stdc++.h>
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << "Odd" <<endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:21: error: 'endl' was not declared in this scope
   10 |     cout << "Odd" <<endl;
      |                     ^~~~
a.cc:10:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:11: error: expected '(' before '{' token
   11 |   }else if{
      |           ^
      |           (
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 if{
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
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 if{
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
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 if{
    cout << "Odd" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
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 << "Odd" << endl;
  }else if{
    cout << "Even" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
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 << "Odd" << endl;
  }else if{
    cout << "Even" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: lvalue required as left operand of assignment
    7 |   if(( a % 2 = 0) || ( b % 2 == 0 )){
      |        ~~^~~
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
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 << "Odd" << endl;
  }else if{
    cout << "Even" << endl
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> a >> b;
      |   ^~~
a.cc:7:10: error: lvalue required as left operand of assignment
    7 |   if(( a % 2 = 0) || ( b % 2 == 0 )){
      |        ~~^~~
a.cc:7:24: error: 'b' was not declared in this scope
    7 |   if(( a % 2 = 0) || ( b % 2 == 0 )){
      |                        ^
a.cc:9:11: error: expected '(' before '{' token
    9 |   }else if{
      |           ^
      |           (
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:13:4: 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==1){
    cout<<"Odd"<<endl;
  }
  else{
  cout << "Even" << endl;
}


Compiler output:
a.cc: In function 'int main()':
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() {
  int a, b, c;
  cin >> a, b;
  c = a * b;
  if (c % 2 == 0) {
    cout << "even\n";
  } else {
    cout << "odd\n"
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:20: error: expected ';' before '}' token
   11 |     cout << "odd\n"
      |                    ^
      |                    ;
   12 |   }
      |   ~
Language: C++

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a, b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "even\n";
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << "odd\n"
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

using namespace std;

int main() {
  int a, b, c;
  cin >> a, b;
  c = a * b;
  if (c % 2 == 0) {
    printf("even\n");
  } else {
    printf("odd\n")
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a, b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("even\n");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | using namespace std;
a.cc:10:5: error: 'printf' was not declared in this scope
   10 |     printf("odd\n")
      |     ^~~~~~
a.cc:10:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

using namespace std;

int main() {
  int a, b, c;
  cin >> a, b;
  c = a * b;
  if (c % 2 = 0) {
    printf("even\n");
  } else {
    printf("odd\n")
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a, b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:9: error: lvalue required as left operand of assignment
    7 |   if (c % 2 = 0) {
      |       ~~^~~
a.cc:8:5: error: 'printf' was not declared in this scope
    8 |     printf("even\n");
      |     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | using namespace std;
a.cc:10:5: error: 'printf' was not declared in this scope
   10 |     printf("odd\n")
      |     ^~~~~~
a.cc:10:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:22: error: expected ';' before 'endl'
   12 |   else {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:5:8: error: expected initializer before '.' token
    5 |   int a.b;
      |        ^
a.cc:6:9: error: 'a' was not declared in this scope
    6 |   cin >>a >>b;
      |         ^
a.cc:6:13: error: 'b' was not declared in this scope
    6 |   cin >>a >>b;
      |             ^
Language: C++

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

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


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

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

int main() {
  int a, b;
  cin >> a, b;
  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: lvalue required as left operand of assignment
    7 |   if (a * b % 2 = 0) {
      |       ~~~~~~^~~
Language: Java

package beginner086;

import java.util.Scanner;

public class A {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ

		Scanner sc = new Scanner(System.in);
		String[] line = sc.nextLine().split(" ");
		sc.close();

		int a = Integer.parseInt(line[0]);
		int b = Integer.parseInt(line[1]);

		if(isValid(a) && isValid(b)) {
			if (isEven(a, b)) {
				System.out.println("Even");
			} else {
				System.out.println("Odd");
			}
		}
	}

	private static boolean isEven(int a, int b) {

		if ((a * b) % 2 == 0) {
			return true;
		} else {
			return false;
		}
	}

	private static boolean isValid(int num) {
		if (num >= 1 && num <= 10000) {
			return true;
		} else {
			return false;
		}
	}

}


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

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

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


Compiler output:
a.cc:8:13: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |             ^~~~~~
a.cc:8:19: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |                   ^~
a.cc:10:13: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
a.cc:10:18: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |                  ^~
a.cc: In function 'int main()':
a.cc:8:13: error: unable to find character literal operator 'operator""Even' with 'char' argument
    8 |     cout << ''Even'' << endl;
      |             ^~~~~~
a.cc:10:13: error: unable to find character literal operator 'operator""Odd' with 'char' argument
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
Language: C++

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

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


Compiler output:
a.cc:8:13: warning: multi-character character constant [-Wmultichar]
    8 |     cout << 'Even' << endl;
      |             ^~~~~~
a.cc:10:13: warning: multi-character character constant [-Wmultichar]
   10 |     cout << 'Odd' << endl;
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'if'
    6 |   cin >> a >> b
      |                ^
      |                ;
    7 |   if ( (a*b) % 2 == 0 ){
      |   ~~            
a.cc:9:5: error: 'else' without a previous 'if'
    9 |   } else {
      |     ^~~~
Language: C++

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

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


Compiler output:
a.cc:8:13: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |             ^~~~~~
a.cc:8:19: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |                   ^~
a.cc:10:13: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
a.cc:10:18: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |                  ^~
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'if'
    6 |   cin >> a >> b
      |                ^
      |                ;
    7 |   if ( (a*b) % 2 == 0 ){
      |   ~~            
a.cc:9:5: error: 'else' without a previous 'if'
    9 |   } else {
      |     ^~~~
a.cc:10:13: error: unable to find character literal operator 'operator""Odd' with 'char' argument
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
Language: C++

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

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


Compiler output:
a.cc:8:13: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |             ^~~~~~
a.cc:8:19: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |                   ^~
a.cc:10:13: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
a.cc:10:18: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |                  ^~
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'if'
    6 |   cin >> a >> b
      |                ^
      |                ;
    7 |   if( (a*b) % 2 == 0 ){
      |   ~~            
a.cc:9:5: error: 'else' without a previous 'if'
    9 |   } else {
      |     ^~~~
a.cc:10:13: error: unable to find character literal operator 'operator""Odd' with 'char' argument
   10 |     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'' << endl;
  } else {
    cout << ''Odd'' << endl;
  }
  return 0;
}
  


Compiler output:
a.cc:8:13: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |             ^~~~~~
a.cc:8:19: error: empty character constant
    8 |     cout << ''Even'' << endl;
      |                   ^~
a.cc:10:13: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
a.cc:10:18: error: empty character constant
   10 |     cout << ''Odd'' << endl;
      |                  ^~
a.cc: In function 'int main()':
a.cc:6:16: error: expected ';' before 'if'
    6 |   cin >> a >> b
      |                ^
      |                ;
    7 |   if( (a*b) % 2 == 0 ){
      |   ~~            
a.cc:9:5: error: 'else' without a previous 'if'
    9 |   } else {
      |     ^~~~
a.cc:10:13: error: unable to find character literal operator 'operator""Odd' with 'char' argument
   10 |     cout << ''Odd'' << endl;
      |             ^~~~~
Language: C++

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

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


Compiler output:
a.cc:7:13: error: empty character constant
    7 |     cout << ''Even'' << endl;
      |             ^~~~~~
a.cc:7:19: error: empty character constant
    7 |     cout << ''Even'' << endl;
      |                   ^~
a.cc:9:13: error: empty character constant
    9 |     cout << ''Odd'' << endl;
      |             ^~~~~
a.cc:9:18: error: empty character constant
    9 |     cout << ''Odd'' << endl;
      |                  ^~
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: expected unqualified-id before 'if'
    6 |   if( (a*b) % 2 == 0 ){
      |   ^~
a.cc:8:5: error: expected unqualified-id before 'else'
    8 |   } else {
      |     ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

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


Compiler output:
a.cc: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: expected unqualified-id before 'if'
    6 |   if( (a*b) % 2 == 0 ){
      |   ^~
a.cc:8:5: error: expected unqualified-id before 'else'
    8 |   } else {
      |     ^~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

#include <iostream>
using namespace std;

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

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

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:12: error: 'Odd' was not declared in this scope
    8 |     cout<< Odd <<endl;
      |            ^~~
a.cc:11:11: error: 'Even' was not declared in this scope
   11 |     cout<<Even<<endl+
      |           ^~~~
a.cc:12:3: error: expected primary-expression before '}' token
   12 |   }
      |   ^
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char [5])'
    8 |         cout("Even");
      |         ~~~~^~~~~~~~
a.cc:11:3: error: 'count' was not declared in this scope
   11 |   count("Odd");
      |   ^~~~~
Language: C++

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

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

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> a >> b;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout << "Even";
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout << "Odd";
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
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");
  }
  retrun 0;
}

Compiler output:
main.c: In function 'main':
main.c:13:3: error: 'retrun' undeclared (first use in this function)
   13 |   retrun 0;
      |   ^~~~~~
main.c:13:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:13:9: error: expected ';' before numeric constant
   13 |   retrun 0;
      |         ^~
      |         ;