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

#include <iostream>
using namespace std;
int main(){
int a,b;
cin>>a,b;
if(a%2=1&&b%2=1){cout<<"odd";
else cout<<"even";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: lvalue required as left operand of assignment
    6 | if(a%2=1&&b%2=1){cout<<"odd";
      |        ~^~~~~
a.cc:7:1: error: expected '}' before 'else'
    7 | else cout<<"even";
      | ^~~~
a.cc:6:17: note: to match this '{'
    6 | if(a%2=1&&b%2=1){cout<<"odd";
      |                 ^
Language: C++

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

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

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

import java.util.*;
public class AProduct20181103 {

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

}

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

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:43: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     if(c % 2 == 0) std::cout << "Even" << endl;
      |                                           ^~~~
      |                                           std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:32: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     else std::cout << "Odd" << endl;
      |                                ^~~~
      |                                std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>

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

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

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

import java.util.Scanner
public class Main {
	public static void main(String[] args) throws Exception {
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner
                        ^
1 error
Language: Java

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

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

Compiler output:
Main.java:3: error: 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
2 errors
Language: Java

import java.util.Scanner;

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

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

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

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<stdio.h>
      | ^~~~~~~
Language: C++

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

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

public class Main{

	public static void main(String[] args) {

	Scanner sc = new Scanner(System.in);
	int a = sc.nextInt();
	int b = sc.nextInt();

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


Compiler output:
Main.java:5: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class Main{

	public static void main(String[] args) {

	Scanner sc = new Scanner(System.in);
	int a = sc.nextInt();
	int b = sc.nextInt();

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


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

public class Main{

	public static void main(String[] args) {

	Scanner sc = new Scanner(System.in);
	int a = sc.nextInt();
	int b = sc.nextInt();

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


Compiler output:
Main.java:5: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
	Scanner sc = new Scanner(System.in);
	                 ^
  symbol:   class Scanner
  location: class Main
2 errors
Language: Java

import java.util.*;
class Main
{public static void main(String[] args)
{
  Scanner sc = new Scanner(System.in);
  String ans="Odd";
  if(sc.nextInt()%2==0||sc.nextInt%2()==0)
    ans="Even";
  System.out.println(ans);
}
}

Compiler output:
Main.java:7: error: ')' expected
  if(sc.nextInt()%2==0||sc.nextInt%2()==0)
                                    ^
Main.java:7: error: -> expected
  if(sc.nextInt()%2==0||sc.nextInt%2()==0)
                                      ^
Main.java:7: error: ';' expected
  if(sc.nextInt()%2==0||sc.nextInt%2()==0)
                                         ^
3 errors
Language: Java

import java.util.*;
class Main
{public static void main(String[] args)
{
  Scanner sc = new Scanner(System.in);
  String ans="Odd";
  if(sc.nextInt%2==0||sc.nextInt%2==0)
    ans="Even";
  System.out.println(ans);
}
}

Compiler output:
Main.java:7: error: cannot find symbol
  if(sc.nextInt%2==0||sc.nextInt%2==0)
       ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:7: error: cannot find symbol
  if(sc.nextInt%2==0||sc.nextInt%2==0)
                        ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
2 errors
Language: Java

inport java.util.*;
class Main
{public static void main(String[] args)
{
  Scanner sc = new Scanner(System.in);
  String ans="Odd";
  if(sc.nextInt%2==0||sc.nextInt%2==0)
    ans="Even";
  System.out.println(ans);
}
}

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

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

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

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

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

import java.util.Scanner;

public class main {

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

}


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


import java.util.Scanner;



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




Compiler output:
Main.java:6: 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) {
		
		Scanner sc = new Scanner(System.in);
		
		int a = sc.nextInt();
		int b = sc.nextInt();
		
		int ans = a * b;
		
		if(ans % 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.
	public static void main(String[] args) {
	              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java


import java.util.Scanner;

public class main {

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

}


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

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

int main() {
  int a;
  int b;

  cin >> a;
  cin >> b;

 int ans;
  ans = a * b;

  if (ans % 2 == 0 ) {
    std::cout << "Even" << '\n';
  } else {
    std::cout << "Odd" << '\n';
  }

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

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

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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected primary-expression before ')' token
    7 |   if ((a * b) & 1 == 1)) cout << "Odd" << endl;
      |                        ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:12: error: unable to find numeric literal operator 'operator""n'
   12 |   if (a*b==2n){
      |            ^~
Language: C++

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

int main{
  int a;
  int b;
  int n;
  
  cin >> a;
  cin >> b;
  
  if (a*b==2n){
    cout << "Evem" << 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;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:9: note: to match this '{'
    4 | int main{
      |         ^
a.cc:9:3: error: 'cin' does not name a type
    9 |   cin >> a;
      |   ^~~
a.cc:10:3: error: 'cin' does not name a type
   10 |   cin >> b;
      |   ^~~
a.cc:12:3: error: expected unqualified-id before 'if'
   12 |   if (a*b==2n){
      |   ^~
a.cc:15:3: error: expected unqualified-id before 'else'
   15 |   else {
      |   ^~~~
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: C++

#include<iostream>
#include<string>
using namespace std;

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

    return 0;    
}

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

import java.util.*;
public class A_Product{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);

    int a = sc.nextInt();
    int b = sc.nextInt();

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


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

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:48: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
    9 |   std::cout << ((a*b)%2 == 0) ? "Even" : "Odd" << std::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 << "0dd" << endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: lvalue required as left operand of assignment
    7 |   if(a*b % 2 = 0){
      |      ~~~~^~~
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:14: error: 'puts' was not declared in this scope
    5 | if(c%2 == 0) puts("Even"); else puts (" Odd ");
      |              ^~~~
a.cc:5:33: error: 'puts' was not declared in this scope
    5 | if(c%2 == 0) puts("Even"); else puts (" Odd ");
      |                                 ^~~~
Language: C++

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

Compiler output:
a.cc:2:17: error: 'str' is not a namespace-name
    2 | using namespace str;
      |                 ^~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout << "Even" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:23: 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:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout << "Odd" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:22: 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>
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: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:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "Odd" << endl;
      |     ^~~~
a.cc:9:22: error: 'endl' was not declared in this scope
    9 |     cout << "Odd" << endl;
      |                      ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "Even" << endl;
      |     ^~~~
a.cc:11:23: error: 'endl' was not declared in this scope
   11 |     cout << "Even" << endl;
      |                       ^~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;

int main () {
	int a, b;
	cin >> a >> b;
	int x = a*b;
	int y = x/2;
	
	if ( x == y*2 ){
	cout << "Even" << endl;
	}
	else {
	cout << "Odd" << endl;
	}
	\\ cout << x << endl;
	\\ cout << y << endl;
}


Compiler output:
a.cc:17:9: error: stray '\' in program
   17 |         \\ cout << x << endl;
      |         ^
a.cc:17:10: error: stray '\' in program
   17 |         \\ cout << x << endl;
      |          ^
a.cc:18:9: error: stray '\' in program
   18 |         \\ cout << y << endl;
      |         ^
a.cc:18:10: error: stray '\' in program
   18 |         \\ cout << y << endl;
      |          ^
Language: C

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

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:1: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
main.c:1:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |           ^~~~~
main.c:1:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:31: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |                               ^~~~
main.c:1:31: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:54: warning: missing terminating " character
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |                                                      ^
main.c:1:54: error: missing terminating " character
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |                                                      ^~~~
main.c:1:51: error: 'Odd' undeclared (first use in this function)
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |                                                   ^~~
main.c:1:51: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:54: error: expected ')' at end of input
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      |                                   ~                  ^
      |                                                      )
main.c:1:1: error: expected declaration or statement at end of input
    1 | main(a,b){scanf("%d%d",&a,&b);puts(a*b%2-1?"Even":Odd");}
      | ^~~~
Language: C

main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      | ^~~~
main.c: In function 'main':
main.c:1:1: error: type of 'a' defaults to 'int' [-Wimplicit-int]
main.c:1:1: error: type of 'b' defaults to 'int' [-Wimplicit-int]
main.c:1:11: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |           ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
main.c:1:11: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |           ^~~~~
main.c:1:11: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:1:29: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |                             ^~~~
main.c:1:29: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:1:52: warning: missing terminating " character
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |                                                    ^
main.c:1:52: error: missing terminating " character
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |                                                    ^~~~
main.c:1:49: error: 'Odd' undeclared (first use in this function)
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |                                                 ^~~
main.c:1:49: note: each undeclared identifier is reported only once for each function it appears in
main.c:1:52: error: expected ')' at end of input
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      |                                 ~                  ^
      |                                                    )
main.c:1:1: error: expected declaration or statement at end of input
    1 | main(a,b){scanf("%d%d",a,b);puts(a*b%2-1?"Even":Odd");}
      | ^~~~
Language: Java

import java.util.Scanner;

class Main{

	static Node[] nodes = new Node[7];

	public static void main(String[] args) {
		Scanner scanner = new Scanner(System.in);
		int a = scanner.nextInt();
		int b = scanner.nextInt();
		if(a*b % 2 == 0){
			System.out.println("Even");

		}else{
			System.out.println("Odd");

		}
	}
}




class Graph{
	int from;
	int to;
	int cost;

	public Graph() {
	}

	public Graph(int f,int t,int c) {
		from = f;
		to= t;
		cost = c;
	}
}


Compiler output:
Main.java:5: error: cannot find symbol
	static Node[] nodes = new Node[7];
	       ^
  symbol:   class Node
  location: class Main
Main.java:5: error: cannot find symbol
	static Node[] nodes = new Node[7];
	                          ^
  symbol:   class Node
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class main {

	public static void main(String[] args) {
		
		Scanner in = new Scanner(System.in);
		
		int num1 = in.nextInt(); 
		int num2 = in.nextInt();
		
		int product = num1 * num2; 
		
		if ( (product & 1) == 0)  {
			System.out.println("Even");
		}
		
		else {
			System.out.println("Odd"); 
		}
	}

}


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

public class A {

	public static void main(String[] args) {
		
		Scanner in = new Scanner(System.in);
		
		int num1 = in.nextInt(); 
		int num2 = in.nextInt();
		
		int product = num1 * num2; 
		
		if ( (product & 1) == 0)  {
			System.out.println("Even");
		}
		
		else {
			System.out.println("Odd"); 
		}
	}

}

Compiler output:
Main.java:1: error: class A is public, should be declared in a file named A.java
public class A {
       ^
Main.java:5: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class A
Main.java:5: error: cannot find symbol
		Scanner in = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class A
3 errors
Language: Java

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

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

		Boolean x = a % 2 == 0;
		Boolean y = b % 2 == 0;

		return x || y;

	}
}

Compiler output:
Main.java:13: error: incompatible types: unexpected return value
		return x || y;
		         ^
1 error
Language: Java

import java.util.*;
public class Main{

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




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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
	public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
	    String line;
	    StringBuilder sb = new StringBuilder();
	    line = br.readLine();
	    String[] strs = line.split(" ");
	    int a = Integer.parseInt(strs[0]);
	    int b = Integer.parseInt(strs[1]);
	    if (((a % 2) * (b % 2))%2 == 0)
	    	System.out.println("Even");
	    else
	    	System.out.println("Odd");
	    
	}
}
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.StringTokenizer;

public class Main {
	public static void main(String[] args)throws IOException {
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		
	    String line;
	    StringBuilder sb = new StringBuilder();
	    line = br.readLine();
	    String[] strs = line.split(" ");
	    int a = Integer.parseInt(strs[0]);
	    int b = Integer.parseInt(strs[1]);
	    if (((a % 2) * (b % 2))%2 == 0)
	    	System.out.println("Even");
	    else
	    	System.out.println("Odd");
	    
	}
}


Compiler output:
Main.java:23: error: class, interface, enum, or record expected
import java.io.BufferedReader;
^
Main.java:24: error: class, interface, enum, or record expected
import java.io.IOException;
^
Main.java:25: error: class, interface, enum, or record expected
import java.io.InputStreamReader;
^
Main.java:26: error: class, interface, enum, or record expected
import java.util.StringTokenizer;
^
4 errors
Language: Java


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



Compiler output:
Main.java:2: 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

import java.util.*;
public class EvenOdd {

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

}


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

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

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

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

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

import java.io.*;

public class Problem {
  public static void main(String[] args) throws java.io.IOException {
    BufferedReader in = new BufferedReader(new InputStreamReader(System.in));

    String[] strIn = in.readLine().split("\\s");

    if ((Integer.parseInt(strIn[0])*Integer.parseInt(strIn[1]))%2 == 0)
      System.out.println("Even");

    else
      System.out.println("Odd");
  }
}


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

import java.util.Scanner;
public class Solution {

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

}

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

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

int a, b

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

Compiler output:
a.cc:6:5: error: expected initializer before 'int'
    6 |     int
      |     ^~~
Language: C++

package main
import "fmt"

func main(){
  var a,b int
  fmt.Scan(&a,&b)

  if a*b%2 == 0{ 
    fmt.Println("Even")
  } else if a*b%2 == 1 {
    fmt.Println("Odd")
  }
}


Compiler output:
a.cc:1:1: error: 'package' does not name a type
    1 | package main
      | ^~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: 'ifif' was not declared in this scope
   16 |   }else ifif(b%2==0){
      |         ^~~~
a.cc:20:4: error: 'else' without a previous 'if'
   20 |   }else{
      |    ^~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:26: error: expected ')' before ';' token
   10 |     cout << "Odd" << endl;
      |                          ^
      |                          )
a.cc:9:8: note: to match this '('
    9 |   }else(
      |        ^
a.cc:11:3: error: expected primary-expression before ')' token
   11 |   )
      |   ^
Language: C++

#include <iostream>
#include <string>
using namespace std;

int main(){
  string a,b;
  cin >> a >> b;
  int c = stoi(a+b);
  int d = (c+1)/2;
  for(int i = 1; i<d+1;, i++){
    if(c==i*i) cout << "Yes" << endl;
    else cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:24: error: expected primary-expression before ',' token
   10 |   for(int i = 1; i<d+1;, i++){
      |                        ^
Language: C

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

  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:11: error: expected '(' before '{' token
    8 |   }else if{
      |           ^
      |           (
Language: Java

import java.util.*;

public class Main{
    public static void main(String[] args){
        Scanner sc=new Scanner(System.inheritedChannel());

        int a=sc.nextInt();
        int b=sc.nextInt();

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

Compiler output:
Main.java:5: error: no suitable constructor found for Scanner(Channel)
        Scanner sc=new Scanner(System.inheritedChannel());
                   ^
    constructor Scanner.Scanner(Readable) is not applicable
      (argument mismatch; Channel cannot be converted to Readable)
    constructor Scanner.Scanner(InputStream) is not applicable
      (argument mismatch; Channel cannot be converted to InputStream)
    constructor Scanner.Scanner(File) is not applicable
      (argument mismatch; Channel cannot be converted to File)
    constructor Scanner.Scanner(Path) is not applicable
      (argument mismatch; Channel cannot be converted to Path)
    constructor Scanner.Scanner(String) is not applicable
      (argument mismatch; Channel cannot be converted to String)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (argument mismatch; Channel cannot be converted to ReadableByteChannel)
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
Language: C++

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

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

#include <iostream>
using namespace std;

int main() 
{
	int A, B;
	cin >> A >> B;
	cout ((A*B)%2 == 0 ? "Even" : "Odd");
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: no match for call to '(std::ostream {aka std::basic_ostream<char>}) (const char*)'
    8 |         cout ((A*B)%2 == 0 ? "Even" : "Odd");
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:8:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 | print("Even");
      | ^~~~~
      | printf
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for(int i=0;i<(n);i++)
const int MOD=(int)1e9+7;
using namespace std;
int main(){
    int a,b;
    cin>>0a>>b;
    if(a*b%2==0) cout<<"Even"<<endl;
    else cout<<"Odd"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:10: error: unable to find numeric literal operator 'operator""a'
    7 |     cin>>0a>>b;
      |          ^~
Language: Java

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

}
}

Compiler output:
Main.java:3: error: cannot find symbol
public static void main(string[] args){
                        ^
  symbol:   class string
  location: class Main
1 error
Language: Java

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

}





Compiler output:
Main.java:13: error: not a statement
System.out,println(s);
      ^
Main.java:13: error: ';' expected
System.out,println(s);
          ^
Main.java:15: error: reached end of file while parsing
}
 ^
3 errors
Language: Java

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

}

Compiler output:
Main.java:1: error: ';' expected
import java.util.*+
                  ^
Main.java:13: error: not a statement
System.out,println(s);
      ^
Main.java:13: error: ';' expected
System.out,println(s);
          ^
Main.java:15: error: reached end of file while parsing
}
 ^
4 errors
Language: C++

#include <iostream>

using namespace std;

bool isEven(int x){
    return (x%2==0);
}

int main(void){
  cin >> a >> b;
  if (isEven(a) || isEven(b)) {
      cout << "Even";
  }
  else {
      cout << "Odd";
  }
}

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

#include <iostream>

using namespace std;

bool isEven(int x){
    return (x%2==0)
}

int main(void){
  cin >> a >> b;
  if (isEven(a) || isEven(b)) {
      cout << "Even";
  }
  else {
      cout << "Odd";
  }
}

Compiler output:
a.cc: In function 'bool isEven(int)':
a.cc:6:20: error: expected ';' before '}' token
    6 |     return (x%2==0)
      |                    ^
      |                    ;
    7 | }
      | ~                   
a.cc: In function 'int main()':
a.cc:10:10: error: 'a' was not declared in this scope
   10 |   cin >> a >> b;
      |          ^
a.cc:10:15: error: 'b' was not declared in this scope
   10 |   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:13:4: error: expected '}' at end of input
   13 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<iostream>
#include<algorithm>
#include<math.h>
#include<set>
#include<vector>
#include<map>
#include<functional>
#include<iomanip>
#include<queue>
#include<deque>
#include<string>
#include<random>
#include<numeric>
#include<string>
typedef long long ll;
using namespace std;

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

Compiler output:
a.cc:30:2: error: stray '\' in program
   30 | }\
      |  ^
Language: C++

#include <iostream>
using namespace std;

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected ';' before '}' token
   12 |         cout<<"Even"
      |                     ^
      |                     ;
   13 |   }
      |   ~
Language: Java

public class Main {

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

}

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

#include <bits/stdc++.h>
using namespace std;
int main()
{
	int n;
	int t[110000],x[110000],y[110000];
	cin>>n;
	t[0]=x[0]=y[0]=0;
	for (int i=0;i<n;++i) cin>>t[i+1]>>x[i+1]>>y[i+1];

	bool done = true;
    for (int i = 0; i < n; ++i)
    {
    int dt = t[i+1]-t[i];
    int dist = abs(x[i+1]-x[i+1]-x[i])+abs(y[i+1]-y[i]);
    if (dt < dist) done =false;
    if (dist %2 != dt%2) can = false;
    }
    if (done) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:26: error: 'can' was not declared in this scope; did you mean 'tan'?
   17 |     if (dist %2 != dt%2) can = false;
      |                          ^~~
      |                          tan
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
	int n;
	int t[110000],x[110000],y[110000];
	cin>>n;
	t[0]=x[0]=y[0]=0;
	for (int i=0;i<n;++i) cin>>t[i+1]>>x[i+1]>>y[i+1];

	bool done = true;
    for (int i = 0; i < n; ++i)
    {
    int dt = t[i+1]-t[i];
    int dist = abs(x[i+1]-x[i+1]-x[i])+abs(y[i+1]-y[i]);
    if (dt < dist) done =false;
    if (dist %2 != dt%2) can = false;
    }
    if (done) cout<<"Yes"<<endl;
    else cout<<"No"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:17:26: error: 'can' was not declared in this scope; did you mean 'tan'?
   17 |     if (dist %2 != dt%2) can = false;
      |                          ^~~
      |                          tan
Language: C++

#include<string>

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;
	}

    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin >> a >> b;
      |         ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<string>
  +++ |+#include <iostream>
    2 | 
a.cc:12:17: error: 'cout' was not declared in this scope
   12 |                 cout << "Even" << endl;
      |                 ^~~~
a.cc:12:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:35: error: 'endl' was not declared in this scope
   12 |                 cout << "Even" << endl;
      |                                   ^~~~
a.cc:2:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    1 | #include<string>
  +++ |+#include <ostream>
    2 | 
a.cc:16:17: error: 'cout' was not declared in this scope
   16 |                 cout << "Odd" << endl;
      |                 ^~~~
a.cc:16:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:34: error: 'endl' was not declared in this scope
   16 |                 cout << "Odd" << endl;
      |                                  ^~~~
a.cc:16:34: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include "sample.h"
#include<string>

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;
	}

    return 0;
}



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


#include "stdafx.h"
#include "sample.h"
#include<string>

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;
	}

    return 0;
}



Compiler output:
a.cc:2:10: fatal error: stdafx.h: No such file or directory
    2 | #include "stdafx.h"
      |          ^~~~~~~~~~
compilation terminated.