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

clude <ext/pb_ds/assoc_container.hpp>
using namespace std;
using namespace __gnu_pbds;
#define MOD  998244353 
#define ll long long
#define int long long
# define INF 9999999
#define ar array
#define MAX 1000004
# define fr first
# define sc second
#define wt(x) int x;cin>>x;while(x--)
#define watch(x) cerr << "\n" << (#x) << " is " << (x) << endl
//#define cerr if(false)cerr
typedef tree<pair<int,int>,null_type,less<pair<int,int>>,rb_tree_tag,tree_order_statistics_node_update> pbds;
const int N=6e5+6;
void  c_p_c(){
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
 
#ifndef ONLINE_JUDGE
  freopen("input1.txt","r",stdin);
  freopen("output1.txt","w",stdout);
#endif
 }
 
int power(int a,int b,int mod){
    a=a%mod;
    if(a==0){
        return 1;
    }
    int res=1;
    while(b){
        if(b&1){
            res=(res*a)%mod;
        }
        b>>=1;
        a=(a*a)%mod;
    }
    return res;
 }
 
int  MMI(int p){
    return power(p,MOD-2,MOD);
}



int32_t main()
{
    c_p_c();
    
       int x,y;
       cin>>x>>y;
       for(int i=0;i<=x;i++){
        int b=x-i;
        int l=2*i+4*b;
        if(l==y){
            cout<<"Yes\n";
            return 0;
        }
       }
       cout<<"No\n";

        

        
}
        

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude <ext/pb_ds/assoc_container.hpp>
      | ^~~~~
a.cc:3:17: error: '__gnu_pbds' is not a namespace-name
    3 | using namespace __gnu_pbds;
      |                 ^~~~~~~~~~
a.cc:15:9: error: 'tree' does not name a type
   15 | typedef tree<pair<int,int>,null_type,less<pair<int,int>>,rb_tree_tag,tree_order_statistics_node_update> pbds;
      |         ^~~~
a.cc: In function 'void c_p_c()':
a.cc:18:3: error: 'ios_base' has not been declared
   18 |   ios_base::sync_with_stdio(0);
      |   ^~~~~~~~
a.cc:19:3: error: 'cin' was not declared in this scope
   19 |   cin.tie(0);
      |   ^~~
a.cc:20:3: error: 'cout' was not declared in this scope
   20 |   cout.tie(0);
      |   ^~~~
a.cc:23:28: error: 'stdin' was not declared in this scope
   23 |   freopen("input1.txt","r",stdin);
      |                            ^~~~~
a.cc:1:1: note: 'stdin' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | clude <ext/pb_ds/assoc_container.hpp>
a.cc:23:3: error: 'freopen' was not declared in this scope
   23 |   freopen("input1.txt","r",stdin);
      |   ^~~~~~~
a.cc:24:29: error: 'stdout' was not declared in this scope
   24 |   freopen("output1.txt","w",stdout);
      |                             ^~~~~~
a.cc:24:29: note: 'stdout' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc: At global scope:
a.cc:50:1: error: 'int32_t' does not name a type
   50 | int32_t main()
      | ^~~~~~~
a.cc:1:1: note: 'int32_t' is defined in header '<cstdint>'; this is probably fixable by adding '#include <cstdint>'
  +++ |+#include <cstdint>
    1 | clude <ext/pb_ds/assoc_container.hpp>
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 1; i <= (n); ++i)
using namespace std;
using ll = long long;
using P = pair<int,int>;
 
int main() {
    int x, y;
    cin >> x >> y;
    for (int c=0; c<=x; c++) {
        int t = x-c;
        int asi = c*2+t*4;
        if (asi == y) {
            cout << "Yes" << endl;
            return 0;
        }
    }
    cout << "No" << endl;
    return 0;
}

Compiler output:
a.cc:17:6: error: stray '\20' in program
   17 |     }<U+0010>
      |      ^~~~~~~~
Language: C++

#include<bits/stdc++.h>
using manespace std;
int main()
{
  int a,b;
  cin >> a >> b;
 
  int  s=b/4;
  int z=s/2;
  if(s+z==a)
    cout << "Yes";
  else
    cout << "No";
  }

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'manespace'
    2 | using manespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "Yes";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     cout << "No";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
using manespace std;
int main()
{
  int a,b;
  cin >> a >> b;
 
  int  s=b/4;
  int z=s/2;
  if(s+z==a)
    cout << "Yes";
  else
    cout << "No;
  }


Compiler output:
a.cc:13:13: warning: missing terminating " character
   13 |     cout << "No;
      |             ^
a.cc:13:13: error: missing terminating " character
   13 |     cout << "No;
      |             ^~~~
a.cc:2:7: error: expected nested-name-specifier before 'manespace'
    2 | using manespace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     cout << "Yes";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |     cout << "No;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:3: error: expected primary-expression before '}' token
   14 |   }
      |   ^
Language: C++

#include <iostream>
#include <set>
#include <queue>
#include <climits>
using namespace std;
typedef long long int ll;

int main()
{
    int x,y;
    cin>>x>>y;
    int b=(y-2*x)/2;
    int a=x-b;
    if(a==(y-4b)/2 && a>=0 && b>=0)
    cout<<"Yes";
    else
    {
        cout<<"No";
    }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: unable to find numeric literal operator 'operator""b'
   14 |     if(a==(y-4b)/2 && a>=0 && b>=0)
      |              ^~
Language: C

#include<stdio.h>

int main(void) {
	int X, Y, a;
	scanf("%d%d", &X, &Y);

	for (a = 0; a <= X; a++) {
		if (2 * a + 4 * (X - a) == Y) {
			printf("Yes");
                        return 0;
		}
		}
        printf("No")
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:21: error: expected ';' before 'return'
   13 |         printf("No")
      |                     ^
      |                     ;
   14 |         return 0;
      |         ~~~~~~
Language: C

#include<stdio.h>

int main(void) {
	int X, Y, a;
	scanf("%d%d", &X, &Y);

	for (a = 0; a <= X; a++) {
		if (2 * a + 4 * (X - a) == Y) {
			printf("Yes");
return 0;
		}
		}
printf("No")
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:13: error: expected ';' before 'return'
   13 | printf("No")
      |             ^
      |             ;
   14 |         return 0;
      |         ~~~~~~
Language: C++

int main(void)
{
    int X, Y;
    cin >> X >> Y;

    int j;
    for (int i = 0; i <= X; i++)
    {
        j = X - i;
        if (i * 2 + j * 4 == Y)
        {
            printf("Yes\n");
            return (0);
        }
    }
    printf("No\n");
    return (0);
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'cin' was not declared in this scope
    4 |     cin >> X >> Y;
      |     ^~~
a.cc:12:13: error: 'printf' was not declared in this scope
   12 |             printf("Yes\n");
      |             ^~~~~~
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:16:5: error: 'printf' was not declared in this scope
   16 |     printf("No\n");
      |     ^~~~~~
a.cc:16: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()
{
  ios::sync_with_stdio(0);
  cin.tie(0);
  int x, y;
  cin >> x >> y;
  if(y / x > 2)
  {
    cout << "No\n";
  }
  else
  {
    cout << "Yes\n";
  }
  return 0;
}
#include<bits/stdc++.h>
using namespace std;
int main()
{
  ios::sync_with_stdio(0);
  cin.tie(0);
  int x, y;
  cin >> x >> y;
  if(y / x > 2 || ((4 * x - y) % 2 != 0))
  {
    cout << "No\n";
  }
  else
  {
    cout << "Yes\n";
  }
  return 0;


Compiler output:
a.cc:21:5: error: redefinition of 'int main()'
   21 | int main()
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main()
      |     ^~~~
a.cc: In function 'int main()':
a.cc:35:12: error: expected '}' at end of input
   35 |   return 0;
      |            ^
a.cc:22:1: note: to match this '{'
   22 | {
      | ^
Language: C++

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

int main() {
  int X, Y, ans, x, y;
  bool ans = false;
  cin >> X >> Y;
  
  if ( X == 1 ) {
    if ( Y == 4 || Y == 2 ) {
      x = true;
    }
  } else {
    for ( int i = 0; i < X+1; i++ ) {
      x = i;      //亀
      y = X - i;  //鶴
      if ( x * 4 + y * 2 == Y ) {
        ans = true;
        break;
      }
    }
  }

  if ( ans ) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: conflicting declaration 'bool ans'
    6 |   bool ans = false;
      |        ^~~
a.cc:5:13: note: previous declaration as 'int ans'
    5 |   int X, Y, ans, x, y;
      |             ^~~
Language: C++

///HELLO THERE~!
///CREATED BY MD SADMAN MEHEDI SIVAN [IUT CSE(SWE)-19]

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

#define fastio          ios_base::sync_with_stdio(false);cin.tie(nullptr);cout.tie(nullptr);
#define read            freopen("blue.txt","r",stdin);
#define write           freopen("red.txt","w",stdout);

using ll=long long;
using ull=unsigned long long;
const double pi = 2*acos(0.0);

int  main()
{

    fastio;
    
    long long x,y;
    cin>>x>>y;
    
    if(y%2==0 && y>=2*x)
        cout<<"YES";
    }
    else
        cout<<"NO";
    return 0;
}


Compiler output:
a.cc:26:5: error: expected unqualified-id before 'else'
   26 |     else
      |     ^~~~
a.cc:28:5: error: expected unqualified-id before 'return'
   28 |     return 0;
      |     ^~~~~~
a.cc:29:1: error: expected declaration before '}' token
   29 | }
      | ^
Language: C

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

 int b=0,c1=0,c2=0,z=0;
 double x,y;
 
 scanf("%d %d",&c1,&c2);

 for(z=0;z <= c1;z++){
 b = c1 - z;
 if(2*z + 4*b == c2){
 printf("YES");
 break;
 }
 else if(z == c1){
 printf("NO"); 
 } 
 }
 return 0;
 
}

Compiler output:
main.c:1:18: warning: extra tokens at end of #include directive
    1 | #include<stdio.h>int main(void){
      |                  ^~~
main.c:6:8: error: expected declaration specifiers or '...' before string constant
    6 |  scanf("%d %d",&c1,&c2);
      |        ^~~~~~~
main.c:6:16: error: expected declaration specifiers or '...' before '&' token
    6 |  scanf("%d %d",&c1,&c2);
      |                ^
main.c:6:20: error: expected declaration specifiers or '...' before '&' token
    6 |  scanf("%d %d",&c1,&c2);
      |                    ^
main.c:8:2: error: expected identifier or '(' before 'for'
    8 |  for(z=0;z <= c1;z++){
      |  ^~~
main.c:8:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    8 |  for(z=0;z <= c1;z++){
      |            ^~
main.c:8:19: error: expected '=', ',', ';', 'asm' or '__attribute__' before '++' token
    8 |  for(z=0;z <= c1;z++){
      |                   ^~
main.c:18:2: error: expected identifier or '(' before 'return'
   18 |  return 0;
      |  ^~~~~~
main.c:20:1: error: expected identifier or '(' before '}' token
   20 | }
      | ^
Language: C++

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

int main()
{
  ios::sync_with_stdio(false);
  cin.tie(nullptr);

  int x, y;
  cin >> x >> y;

  bool range = 2x <= y && y <= 4;
  bool even = y % 2 == 0;

  if (range && even) cout << "Yes" << endl;
  else cout << "No" << endl;
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:16: error: unable to find numeric literal operator 'operator""x'
   13 |   bool range = 2x <= y && y <= 4;
      |                ^~
Language: Java

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class code {
	public static void main(String[] args)throws IOException {
		FastReader sc = new FastReader();
		PrintWriter pw = new PrintWriter(System.out);
		int x = sc.nextInt();
		int y = sc.nextInt();
		if (x * 2 >= y && x * 4 >= y) {
			if ((y - 2 * x) % 2 == 0) {
				if (((4 * x) - y) % 2 == 0) {
					System.out.println("Yes");
				} else {
					System.out.println("No");
				}
			} else {
				System.out.println("No");
			}
		} else {
			System.out.println("No");
		}

	}
}





class FastReader {
	BufferedReader br;
	StringTokenizer st;

	public FastReader() {
		br = new BufferedReader(new
		                        InputStreamReader(System.in));
	}

	String next() {
		while (st == null || !st.hasMoreElements()) {
			try {
				st = new StringTokenizer(br.readLine());
			} catch (IOException  e) {
				e.printStackTrace();
			}
		}
		return st.nextToken();
	}

	int nextInt() {
		return Integer.parseInt(next());
	}

	long nextLong() {
		return Long.parseLong(next());
	}

	double nextDouble() {
		return Double.parseDouble(next());
	}

	String nextLine() {
		String str = "";
		try {
			str = br.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return str;
	}
}

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

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;
import java.util.*;
public class code {
	public static void main(String[] args)throws IOException {
		FastReader sc = new FastReader();
		PrintWriter pw = new PrintWriter(System.out);
		int x = sc.nextInt();
		int y = sc.nextInt();
		if (y % 2 != 0) {
			System.out.println("No");
		} else {
			if (x * 2 >= y || x * 4 >= y) {
				System.out.println("Yes");
			} else {
				System.out.println("No");
			}
		}

	}
}





class FastReader {
	BufferedReader br;
	StringTokenizer st;

	public FastReader() {
		br = new BufferedReader(new
		                        InputStreamReader(System.in));
	}

	String next() {
		while (st == null || !st.hasMoreElements()) {
			try {
				st = new StringTokenizer(br.readLine());
			} catch (IOException  e) {
				e.printStackTrace();
			}
		}
		return st.nextToken();
	}

	int nextInt() {
		return Integer.parseInt(next());
	}

	long nextLong() {
		return Long.parseLong(next());
	}

	double nextDouble() {
		return Double.parseDouble(next());
	}

	String nextLine() {
		String str = "";
		try {
			str = br.readLine();
		} catch (IOException e) {
			e.printStackTrace();
		}
		return str;
	}
}

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

#include<stdio.h>
#inclue<string.h>
int main(){
int x,y;
scanf("%d %d",&x,&y);
  string str="No";
  for(int i=0;i<=x;i++){
  int b=x-i;
    if((2*a+4*b)==y){
      str="Yes";
    }
  }
  printf("%s",str);
}

Compiler output:
main.c:2:2: error: invalid preprocessing directive #inclue; did you mean #include?
    2 | #inclue<string.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:6:3: error: unknown type name 'string'; did you mean 'stdin'?
    6 |   string str="No";
      |   ^~~~~~
      |   stdin
main.c:6:14: error: initialization of 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    6 |   string str="No";
      |              ^~~~
main.c:9:11: error: 'a' undeclared (first use in this function)
    9 |     if((2*a+4*b)==y){
      |           ^
main.c:9:11: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:10: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
   10 |       str="Yes";
      |          ^
Language: C++

#include<bits/stdc++.h> 
using namespace std;
int main(){
  int x,y;
  cin>>x>>y;
  int a;
  a = (4*x) - y ; 
  a = a / 2; 
  int b;
  b = y - (2*x);
  b = b/2;
  if((a+b) == x && (2*a+(4*b)) == y)) cout<< "Yes";
  else cout<< "No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:37: error: expected primary-expression before ')' token
   12 |   if((a+b) == x && (2*a+(4*b)) == y)) cout<< "Yes";
      |                                     ^
Language: C++

#include<bit/stdc++.h> 
using namespace std;
int main(){
  int x,y;
  cin>>x>>y;
  int a;
  a = (4*x) - y ; 
  a = a / 2; 
  int b;
  b = y - (2*x);
  b = b/2;
  if((a+b) == x && (2*a+(4*b)) == y)) cout<< "Yes";
  else cout<< "No";
  return 0;
}

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<bit/stdc++.h> 
using namespace std;
int main(){
  int x,y;
  cin>>x>>y;
  int a = (4*x) - y ; 
  a = a / 2; 
  int b = y - (2*x);
  b = b/2;
  if( a + b == x) cout<< "Yes"<<endl;
  else 
    cout<< "No"<<endl;
  return 0;
}

































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++.h>
using namespace std;

int main() {
  int X, Y;
  cin >> X >> Y;

  a = Y % 2;
  if (a) {
    cout << "No" << endl;
    return 0;
  }

  minVal = X * 2;
  maxVal = X * 4;

  if (Y < minVal || maxVal < Y) {
    cout << "No" << endl;
    return 0;
  } 

  cout << "Yes" << enndl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'a' was not declared in this scope
    9 |   a = Y % 2;
      |   ^
a.cc:15:3: error: 'minVal' was not declared in this scope
   15 |   minVal = X * 2;
      |   ^~~~~~
a.cc:16:3: error: 'maxVal' was not declared in this scope
   16 |   maxVal = X * 4;
      |   ^~~~~~
a.cc:23:20: error: 'enndl' was not declared in this scope
   23 |   cout << "Yes" << enndl;
      |                    ^~~~~
Language: C++

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

int main(){
  int A,B;
  cin >> A >> B;
  if(2 * A <= B && 2 * A >= B && Y % 2 == 2){
    cout << "Yes" << endl;
  }
    else{
cout << "No" << endl;
    }
}


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

#include<iostream>
 
using namespace std;
 
int main()
{
int x,y;
cin>>x>>y;
 
if((y%2==0) and (y>2*x and y<*4*x))
{
cout<<"Yes"<<endl;
}
else
cout<<"No"<<endl;

Compiler output:
a.cc: In function 'int main()':
a.cc:10:30: error: invalid type argument of unary '*' (have 'int')
   10 | if((y%2==0) and (y>2*x and y<*4*x))
      |                              ^~
a.cc:15:18: error: expected '}' at end of input
   15 | cout<<"No"<<endl;
      |                  ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

#include<iostream>

using namespaces std;

int main()
{
int x,y;
cin>>x>>y;

if((y%2==0) and (y>2*x and y<*4*x))
{
cout<<"Yes"<<endl;
}
else
cout<<"No"<<endl;

}

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'namespaces'
    3 | using namespaces std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 | cin>>x>>y;
      | ^~~
      | 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:10:30: error: invalid type argument of unary '*' (have 'int')
   10 | if((y%2==0) and (y>2*x and y<*4*x))
      |                              ^~
a.cc:12:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 | cout<<"Yes"<<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:12:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 | cout<<"Yes"<<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:15:1: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   15 | cout<<"No"<<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:15:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   15 | cout<<"No"<<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>
#define ll long long
#define testfor(T) ll T; cin>>T; while(T--)
using namespace std;
int main(){
	int x,y;
	cin>>x>>y;
	int rem=0;
	for(int i=0;i<x+1;i++){
		rem = x-i;
		if(i*2+rem*4==y){
			cout<<"Yes"<<endl;
			found=1;
			break;
		}
	}
	if(!found){
		cout<<"No"<<endl;
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:25: error: 'found' was not declared in this scope; did you mean 'round'?
   13 |                         found=1;
      |                         ^~~~~
      |                         round
a.cc:17:13: error: 'found' was not declared in this scope; did you mean 'round'?
   17 |         if(!found){
      |             ^~~~~
      |             round
Language: Java

import java.util.Scanner;

public class Main1 {

	public static void main(String[] args) {
		Scanner scan = new Scanner(System.in);
		int x=scan.nextInt();
		int y=scan.nextInt();
		if(Math.abs(x-y)%2!=0) System.out.println("Yes");
		else System.out.println("No");
	}

}


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

#include<iostream>
using namespace std;
int main(){
int X, Y;
cin >> X;
cin >> Y;
if(X*4>=Y&&X*2<=Y){
  if(Y%2==0){
    cout << "Yes" << endl;}}
else{
  cout << No << endl;}
}


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

#include<iostream>
using namespace std;
int main(){
int X, Y;
cin >> X;
cin >> Y;
if(X*4>=Y&&X*2<=Y){
  if(Y%2=0){
    cout << "Yes" << endl;}}
else{
  cout << No << endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:7: error: lvalue required as left operand of assignment
    8 |   if(Y%2=0){
      |      ~^~
a.cc:11:11: error: 'No' was not declared in this scope
   11 |   cout << No << endl;}
      |           ^~
Language: C

#include<stdio.h>

int main(void){
  int a,b,c=0,i,x,y;
  scanf("%d %d",&x,&y);
  for(i=0;i<=x;i++){
    a=i;
    b=x-i;
    if(2*a+4*b==y){
      c=1;
      break;
    }
  }
  if(c==1){
    printf("Yes\n");
  }
  else{
    printf("No");

Compiler output:
main.c: In function 'main':
main.c:18:5: error: expected declaration or statement at end of input
   18 |     printf("No");
      |     ^~~~~~
main.c:18:5: error: expected declaration or statement at end of input
Language: C++

#include<bits/stdc++.h>
#define ll long long 
using namespace std;
int32_t main(){
  double x,y;
  cin>>x>>y;
  if((4.0F*x-y)/2.0F>=0&&(long long)(4.0F*x-y)/2.OF==(4.0F*x-y)/2.0F&&(long long)(x)%2==0&&(long long)(y)%2==0)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:7:48: error: unable to find numeric literal operator 'operator""OF'
    7 |   if((4.0F*x-y)/2.0F>=0&&(long long)(4.0F*x-y)/2.OF==(4.0F*x-y)/2.0F&&(long long)(x)%2==0&&(long long)(y)%2==0)
      |                                                ^~~~
Language: C++

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



int main() {

    int x,y;
    cin>>x>>y;
int a=0;
bool flag=false;
    for(int i=0;i<=x;i++)
        { 
        a= 4*i +2*(x-i;
        if(a==y)
            flag=true;
        }
        
        
            if(flag=true)
        cout<<"Yes"<<endl;
            else if(flag==false)
        cout<<"No"<<endl;

        return 0;

}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:23: error: expected ')' before ';' token
   14 |         a= 4*i +2*(x-i;
      |                   ~   ^
      |                       )
Language: C++

#include<bits/stdc++.h>
#define ll long long 
int32_t main(){
  double x,y;
  cin>>x>>y;
  if((4*x-y)/2>=0&&(long long)(4*x-y)/2==(4*x-y)/2)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>x>>y;
      |   ^~~
      |   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<<"Yes"<<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:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     cout<<"Yes"<<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<<"No"<<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:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout<<"No"<<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 x, y, res1 ,res2;
    cin >> x >> y;
    res1 = x* 2;
    res2 = x * 4;

    if((y%2)== 0 && y >= res1 && y <= res2)
        cout << "Yes" << endl;

    else
        cout << "NO" << endl;

    return 0;

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

X,Y=map(int,input().split())
def s(X,Y):
    for i in range(0,X+1):
        for j in range(i,X+2):
            if (2*i+4*j)==Y or (2*j+4*i)==Y:
                return "Yes"
    return "No"
string_ans = s(X,Y);
print(string_ans)

Compiler output:
a.cc:1:1: error: 'X' does not name a type
    1 | X,Y=map(int,input().split())
      | ^
a.cc:9:6: error: expected constructor, destructor, or type conversion before '(' token
    9 | print(string_ans)
      |      ^
Language: C++

#include <bits/stdc++>

using namespace std;

int main(void) {
  int x, y;
  cin >>x >> y;
  if (4 * x < y || 2 * x > y) {
    cout << "No" << endl;
  } else if (y % 2 == 0 || y % 6 == 0) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
  return 0;
}

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

// https://atcoder.jp/contests/abc170/tasks/abc170_b

#include "../../macro.h"
using namespace std;

/*
mm	:	tc(linear) sc(memo+stack)
			idea-
					generate all combinations
			
			TLE: without memorization
			WA: with memorization

ba	:	tc(x) sc(array)
			idea- 
					let x=3 (animal) y=8 (legs total)
					crans possible, c = [0,1,2,3]
					turtle possible, t = [3,2,1,0]
					c, t contain possible number of crane & turtle

			iterate over i=0 to x+1 
				check if 2*c[i]+4*t[i] == y, then return true

*/
int memo[101];
void recursion(int x, int y, int animal, int legs, int &ans){
	if(legs==y && animal==x){
		ans = 1;
		return;
	}
	if(legs>y || animal>x){
		return;
	}

	// memorization
	if(memo[legs]==-1){
		memo[legs]=1;
		recursion(x,y, animal+1, legs+2, ans);
		recursion(x,y,animal+1, legs+4, ans);
	}
}

int editorial(int x, int y){
	int c[x+1], t[x+1];
	for(int i=0; i<x+1; i++){
		c[i] = i;
		t[i] = x-i;
	}
	for(int i=0; i<x+1; i++){
		if(2*c[i]+4*t[i]==y)
			return 1;
	}
	return 0;
}

int main()
{
	ios_base::sync_with_stdio(0);	cin.tie(0);	cout.tie(0);
	int x, y;	cin>>x>>y;
	int ans =	editorial(x,y);	
	if(ans)	cout<<"Yes";
	else cout<<"No";
	return 0;
}

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

#include <iostream.h>
using namespace std;

int editorial(int x, int y){
	int c[x+1], t[x+1];
	for(int i=0; i<x+1; i++){
		c[i] = i;
		t[i] = x-i;
	}
	for(int i=0; i<x+1; i++){
		if(2*c[i]+4*t[i]==y)
			return 1;
	}
	return 0;
}

int main()
{
	ios_base::sync_with_stdio(0);	cin.tie(0);	cout.tie(0);
	int x, y;	cin>>x>>y;
	int ans =	editorial(x,y);	
	if(ans)	cout<<"Yes";
	else cout<<"No";
	return 0;
}

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

int editorial(int x, int y){
	int c[x+1], t[x+1];
	for(int i=0; i<x+1; i++){
		c[i] = i;
		t[i] = x-i;
	}
	for(int i=0; i<x+1; i++){
		if(2*c[i]+4*t[i]==y)
			return 1;
	}
	return 0;
}

int main()
{
	ios_base::sync_with_stdio(0);	cin.tie(0);	cout.tie(0);
	int x, y;	cin>>x>>y;
	int ans =	editorial(x,y);	
	if(ans)	cout<<"Yes";
	else cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: 'ios_base' has not been declared
   16 |         ios_base::sync_with_stdio(0);   cin.tie(0);     cout.tie(0);
      |         ^~~~~~~~
a.cc:16:41: error: 'cin' was not declared in this scope
   16 |         ios_base::sync_with_stdio(0);   cin.tie(0);     cout.tie(0);
      |                                         ^~~
a.cc:16:57: error: 'cout' was not declared in this scope
   16 |         ios_base::sync_with_stdio(0);   cin.tie(0);     cout.tie(0);
      |                                                         ^~~~
Language: C++

#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<string>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<math.h>
#include<utility>
#include<queue>
#include<map>
 
using namespace std;

int main(){
    int x, y;
    cin >> x >> y;

    if(y >= 2*x && y <= 4*x && (y-2x)%2 == 0 && (4*x - y)%2 == 0){
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:35: error: unable to find numeric literal operator 'operator""x'
   19 |     if(y >= 2*x && y <= 4*x && (y-2x)%2 == 0 && (4*x - y)%2 == 0){
      |                                   ^~
Language: C++

#include<iostream>
#include<cstdlib>
#include<cstdio>
#include<string>
#include<iomanip>
#include<algorithm>
#include<vector>
#include<math.h>
#include<utility>
#include<queue>
#include<map>
 
using namespace std;

int main(){
    int x, y;
    cin >> x >> y;

    if(y >= 2*x && y =< 4*x && (y-2x)%2 == 0 && (4*x - y)%2 == 0){
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:23: error: expected primary-expression before '<' token
   19 |     if(y >= 2*x && y =< 4*x && (y-2x)%2 == 0 && (4*x - y)%2 == 0){
      |                       ^
a.cc:19:35: error: unable to find numeric literal operator 'operator""x'
   19 |     if(y >= 2*x && y =< 4*x && (y-2x)%2 == 0 && (4*x - y)%2 == 0){
      |                                   ^~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    double a,b;
    cin>>a>>b;
    else if(b%2!=0)cout<<"No";
    else if(a>b/2)cout<<"No";
    else if(a<b/4)cout<<"No";
    else cout<<"Yes";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'else' without a previous 'if'
    7 |     else if(b%2!=0)cout<<"No";
      |     ^~~~
a.cc:7:14: error: invalid operands of types 'double' and 'int' to binary 'operator%'
    7 |     else if(b%2!=0)cout<<"No";
      |             ~^~
      |             | |
      |             | int
      |             double
Language: C++

#include<bits/stdc++.h>
#include<iostream>
#include<string>
#include<set>
using namespace std;
#define rep(i, a, n) for (int i = a; i < n; i++)
typedef long long ll;

bool find(vector<int> p,int u){
    rep(i,0,p.size()){
        if(p[i]==u) return true;
    }
    return false;
}

int main(){
    //A
    /*
    vector<int> x(5);
    int p;
    rep(i,0,5) {
        cin>>x[i];
        if(x[i]==0){
            p=i;
            break;
        }
    }
    cout<<p+1<<endl;
    */
   //B?
   int x,y;
   cin>>x>>y;
   int a,b;
   b=x-a;
   for(i,0,x+1){
       if(2*b+4*a==y){
           cout<<"Yes"<<endl;
           return 0;
       }
   }
   cout<<"No"<<endl;

  //C
  /*
  int x,n;cin>>x>>n;
  vector<int> p(n);
  rep(i,0,n) cin>>p[i];
  if(n==0){ 
    cout<<x<<endl;
    return 0;
  }
  sort(p.begin(),p.end());
  int u=x;
  int l=x;
  while(u>0||l<=100){
      if(find(p,u)==true){
          u--;
          if(find(p,l)==true){
              l++;
          }
          else {
              cout<<l<<endl;
              return 0;
          }
      }
      else{
          cout<<u<<endl;
          return 0;
      }
  }
  */
}

/*
total=4*x;
   while(total!=y){
       if(total<y){
           cout<<"No"<<endl;
           return 0;
       }
       total-=2;
       //cout<<total<<endl;
   }
    if(total==y){
        cout<<"Yes"<<endl;
    }
    else cout<<"No"<<endl;
   //cout<<"a"<<endl;
   */

Compiler output:
a.cc: In function 'int main()':
a.cc:35:8: error: 'i' was not declared in this scope
   35 |    for(i,0,x+1){
      |        ^
a.cc:72:1: error: expected primary-expression before '}' token
   72 | }
      | ^
a.cc:41:21: error: expected ')' before '}' token
   41 |    cout<<"No"<<endl;
      |                     ^
      |                     )
......
   72 | }
      | ~                    
a.cc:35:7: note: to match this '('
   35 |    for(i,0,x+1){
      |       ^
a.cc:72:1: error: expected primary-expression before '}' token
   72 | }
      | ^
Language: C++

#include<bits/stdc++.h>
#define ll long long int
#define loop(i,a,b) for(i=a;i<b;i++)
#define mod 1000000007
#define pb push_back
#define lim 100001

using namespace std;
int main()
{ll n,m;
	cin>>n>>m;
	m-=(2*n);
	if(m<0 || m%2)
		{cout<<"No"<<endl;
		return 0;}
		m/=2;
		if(n-m<0)
			{cout<<"No"<<endl;
		return 0;
	}
	cout<"Yes"<<endl;
	return 0;



}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:19: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
   21 |         cout<"Yes"<<endl;
      |              ~~~~~^~~~~~
Language: C++

#include<bits/stdc++.h>
#define endl "\n"
using namespace std;
#define ll long long
#define ld long double
#define ui unsigned int
#define ull unsigned ll
#define foi(n) for(ll i=0;i<n;i++)
#define foj(n) for(ll j=0;j<n;j++)
#define fok(n) for(ll k=0;k<n;k++)
#pragma GCC optimize("O3", "unroll-loops")
#define fixed(); cout << fixed << setprecision(20);
#define fast(); ios_base::sync_with_stdio(false); cin.tie(NULL); cout.tie(NULL);

/*****************************************************************************/


#define graph          vector<vector<int>>
#define V              vector
typedef pair<int, int> pii;
typedef pair<ll, ll>   pll;
typedef V<int>         vi;
typedef V<ll>          vll;
typedef V<string>      vs;
typedef V<double>      vd;
typedef V<pii>         vpii;             
typedef V<pll>         vpll;             
typedef pair<int,pii>  piii;             
typedef priority_queue<pii, vector<pii>, greater<pii> > pqq;   

/*****************************************************************************/

#define mp                   make_pair
#define eb                   emplace_back
#define pb                   push_back
#define pf                   push_front
#define popb                 pop_back
#define popf                 pop_front
#define hashmap              unordered_map
#define hashset              unordered_set
#define lb                   lower_bound
#define ub                   upper_bound
#define all(a)               (a).begin(), (a).end()
#define rall(a)              (a).rbegin(), (a).rend()
#define ff                   first
#define ss                   second
#define lbpos(v,x)           (int)(lower_bound(all(v),x)-v.begin())//=v.size()==>No LB 
#define ubpos(v,x)           (int)(upper_bound(all(v),x)-v.begin())//=v.size()==>No UB

/*****************************************************************************/

int32_t main(){
    bool is=false
   ll x,y;
   cin>>x>>y;
   for(ll i=0;i<=y/2;i++)
   for(ll j=0;j<=y/4;j++)
   if((i*2+j*4)==y&&i+j==x)
   is=true;
   if(is) cout<<"YES"<<endl;
   else cout<<"NO"<<endl;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:4:12: error: expected ',' or ';' before 'long'
    4 | #define ll long long
      |            ^~~~
a.cc:54:4: note: in expansion of macro 'll'
   54 |    ll x,y;
      |    ^~
a.cc:55:9: error: 'x' was not declared in this scope
   55 |    cin>>x>>y;
      |         ^
a.cc:55:12: error: 'y' was not declared in this scope; did you mean 'yn'?
   55 |    cin>>x>>y;
      |            ^
      |            yn
Language: C++

#include<bits/stdc++.h>

using namespace std;


int main(){
	
	
	int n ;
	int legs;
	cin>>n>>legs;
	
	
	for(int i=0;i<=n;i++)
	{
	 if(i*4 + (n-i)*2 == legs)
	{
		 cout << "Yes";
	     return 0;
	 }
}
		cout<<"No";

Compiler output:
a.cc: In function 'int main()':
a.cc:22:28: error: expected '}' at end of input
   22 |                 cout<<"No";
      |                            ^
a.cc:6:11: note: to match this '{'
    6 | int main(){
      |           ^
Language: Java

import java.util.*;
class Main
{
  public static void main(String args[])
  {
    Scanner sc=new Scanner(System.in);
    int x=sc.nextInt();
    int y=sc.nextInt();
    boolean f=false;
    for(int i=0;i<=x;i++)
    {
      int j=x-i;
      if(4*i+2*j==y)
        f=true;
    }
    if(f)
      System.out.println("Yes");
    else
      System.out.pritln("No");
  }
}

Compiler output:
Main.java:19: error: cannot find symbol
      System.out.pritln("No");
                ^
  symbol:   method pritln(String)
  location: variable out of type PrintStream
1 error
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    int x,y;
    cin>>x>>y;
	bool flag=false;
    for(int i=0;i<=x;i++)
        {
        a= 2*i + 4*(x-i);
        if(a==y)
          flag=true;
    }
    if(flag==true)
        cout<<"YES"<<endl;
    else
        cout<<"NO"<<endl;

        return 0;
        }


Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'a' was not declared in this scope
   11 |         a= 2*i + 4*(x-i);
      |         ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  int n,y;
  cin>>x>>y;
  for(int i=0;i<=50;i++){
    for(int j=0;j<=24;j++){
      if(2*i+4*j==x) cout<<"Yes"<<endl;
      return 0;
    }
  }
  cout<<"No"<<endl;
  return 0;
}

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

#include <iostream>
 
int main(){
    int x, y;
  	double a;
  
    std::cin >> x >> y;
    a = (4 * x - y) / 2;
 
    if ((a % 1 == 0) && (a >= 0) && (x - a >= 0))
    {
        std::cout << "Yes" << std::endl;
    }
    else
    {
        std::cout << "No" << std::endl;
    }
    
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: invalid operands of types 'double' and 'int' to binary 'operator%'
   10 |     if ((a % 1 == 0) && (a >= 0) && (x - a >= 0))
      |          ~ ^ ~
      |          |   |
      |          |   int
      |          double
Language: C

#include <stdio.h>
 
int main() {
 
 	int i, num, X, Y, cnt;
 
    cnt = 0;

 	if(scanf("%d%d", &X, &Y) == -1){
      return 0;
    }
 	for(i = 0; i <= X; i++) {
 		num = 2*i + 4*(X - i);
	 	if(num == Y){
	 		cnt++;
	 	}
 	}

 	if(wa == 0){
 		printf("NO\n");
 	}else{
 		printf("YES\n");
 	}
	
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:19:12: error: 'wa' undeclared (first use in this function)
   19 |         if(wa == 0){
      |            ^~
main.c:19:12: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

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

//Hiia
#include <stdio.h>
#include <stdlib.h>//rannsuu
#include <time.h>
//srand((unsigned int) time(0));
#include <math.h>//koudona keisann
#include <string.h>//hairetsu
//#define N

//scanf("\n", );
//printf("\n", );

//long n,s;
//scanf("%ld %ld", &n, &s);

//for(i = 0; i < N; i++) {

//long long a [100010];
//for(int i=0;i<n;i++) scanf("%lld",&a[i]);


int main(){
  int X, Y, n;
  scanf("%d%d", &X,&Y);
  if(4*X-Y % 2 == 1){
    printf("No\n");
  }
  else{
    if(2*X=Y || 4*X=Y){
      printf("Yes\n");
    }
    else{
    n=(4*X-Y)/2;
    if(1<=n && n<=X && 1<=X-n && X-n<=X){
      printf("Yes\n");
    }
    else{
      printf("No\n");
    }
  }
  }



  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:29:20: error: lvalue required as left operand of assignment
   29 |     if(2*X=Y || 4*X=Y){
      |                    ^
Language: C++

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

int main() {
   int X,Y;
   cin >>X>>Y;

if(X*2<=Y && Y<=X*4 &&Y%2=0){
     cout<<"yes"<< endl;
   }
   else if(Y<2*X){
     cout<<"no"<< endl;
   }
   else if(4*X<Y){
     cout<<"no" <<endl;
   }
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: lvalue required as left operand of assignment
    8 | if(X*2<=Y && Y<=X*4 &&Y%2=0){
      |    ~~~~~~~~~~~~~~~~~^~~~~
a.cc: At global scope:
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: C++

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

int main(){
 int X,Y;
 cin >>X>>Y;

 for(int i=0;i<100;i++){
     if(2*i+4*(X-i)==Y){
      cout<<"Yes"<<endl;break;
      } 
 }   
  for(int i=0;i<100;i++){
     if((2*i+4*(X-i)) !== Y){
      cout<<"No"<<endl;break;
      } 
 }   
 
  cout<<"No"<<endl;
 
return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:14:25: error: expected primary-expression before '=' token
   14 |      if((2*i+4*(X-i)) !== Y){
      |                         ^
Language: C++

#include <bits/stc++.h>

using namespace std;
int main(){
	int x, y;
  	cin >> x >> y;
  	if(y - (x *2) % 2 == 0 && y -(x*2) != 0) cout << "Yes" <<endl;
  	else cout << "No" <<endl; 
}

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

#include<iostream>
using namespace std;
int main()
{
int x,y;
  cin>>x>>y;
  int c;
  if(y%2==0)
  {c=2*x-y/2;
   if(c>0 && c<=x)
   { cout<<"Yes";
   else cout<<"No";}
  }
  cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:4: error: expected '}' before 'else'
   12 |    else cout<<"No";}
      |    ^~~~
a.cc:11:4: note: to match this '{'
   11 |    { cout<<"Yes";
      |    ^
a.cc: At global scope:
a.cc:14:3: error: 'cout' does not name a type
   14 |   cout<<"No";
      |   ^~~~
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
a.cc:16:1: error: expected declaration before '}' token
   16 | }
      | ^
Language: C

#include<stdio.h>
#include<stdlib.h>
int main()
{
    int X <= 100,Y <= 100;
    scanf("%d%d",&X,&Y);
    int a,b;
    a = (4*X - Y)%2;
    b = (4*X - Y)/2;
    if(a == 0 && b>0)
    {
        printf("Yes\n");
    } 
    else
    {
        printf("No\n");
    }
    return 0;
    
    
}

Compiler output:
main.c: In function 'main':
main.c:5:11: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<=' token
    5 |     int X <= 100,Y <= 100;
      |           ^~
main.c:5:11: error: expected expression before '<=' token
main.c:6:19: error: 'X' undeclared (first use in this function)
    6 |     scanf("%d%d",&X,&Y);
      |                   ^
main.c:6:19: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:22: error: 'Y' undeclared (first use in this function)
    6 |     scanf("%d%d",&X,&Y);
      |                      ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main (){
 int X;
 cin >> X;
  int Y;
  cin >>Y;
 	int Z = (4*X-Y)　;
	
  if (Y%2 ==0 && Z >= 0 && Z !=1){cout <<"Yes" <<endl;}
  else cout << "No" <<endl;

}



Compiler output:
a.cc:8:24: error: extended character 　 is not valid in an identifier
    8 |         int Z = (4*X-Y)　;
      |                        ^
a.cc: In function 'int main()':
a.cc:8:24: error: expected ',' or ';' before '\U00003000'
    8 |         int Z = (4*X-Y)　;
      |                        ^~
Language: C++

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

int main() {
  int x, n;
  cin>>x>>n;
  if(n&1) cout<<"No\n";
  else (n > 4*x || n < 2*x) cout<<"No\n";
  else cout<<"Yes\n";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:28: error: expected ';' before 'cout'
    8 |   else (n > 4*x || n < 2*x) cout<<"No\n";
      |                            ^~~~~
      |                            ;
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else cout<<"Yes\n";
      |   ^~~~