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

#include<stdio.h>
#include<stdlib.h>
#include<conio.h>

int main(void) {

	int red, green, blue, n = 0, i = 0;

	scanf("%d", &red);
	scanf("%d", &green);
	scanf("%d", &blue);
	scanf("%d", &n);



		
		while(blue < red && i <= n) {
			blue *= 2;
			i++;
		}

		while (blue < green && i <= n) {
			blue *= 2;
			i++;
		}

	    while (green < red && i <= n) {
			green *= 2;
			i++;
		}


	if (red < green && green < blue && red < blue) {
		printf("Yes\n");
	}
	else 
		printf("No\n");
	
	

	return 0;
}

Compiler output:
main.c:3:9: fatal error: conio.h: No such file or directory
    3 | #include<conio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: Java

import java.util.*;
public class MainB{
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		int k = sc.nextInt();
		boolean jud = false;
		
		int a1 = a;
		int b1 = b;
		int c1 = c;
		
		
		for(int i = 0 ; i < k; i++){
			if(judge(a1,b1,c1)) jud = true;
			c1 = c1*2;
			if(judge(a1,b1,c1)) jud = true;
			for(int j = 0; j < k-i; j++){
				b1 = b1*2;
				if(judge(a1,b1,c1)) jud = true;
			}
			b1 = b;
		}
		
		
		
		if(jud == true){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
	
	public static boolean judge(int a, int b, int c){
		if((a < b)&&(b < c)){
			return true;
		}else{
			return false;
		}
	}
	
}

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

import java.util.Scanner;
Class Main{
  public static void main(String[]args){
    Scanner sc=new Scanner(System.in);
    int a=0,b=0,c=0;
    a=sc.nextInt();
    b=sc.nextInt();
    c=sc.nextInt();
    int k=sc.nextInt();
    if(a>b&&b>c)
      System.out.println("Yes");
    else
      System.out.println("No");
  }
}

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
Class Main{
^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  public static void main(String[]args){
                ^
  (use --enable-preview to enable unnamed classes)
Main.java:15: error: class, interface, enum, or record expected
}
^
3 errors
Language: C++

#include<bits/stdc++.h>
#define int long long int
#define endl "\n"
using namespace std;
signed main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
#endif
    int t=1;
    // cin >> t;
    while (t--) {
        int a,b,c;
        cin>>a>>b>>c;
        int n;
        cin>>n;
        while(n--){
            if(b<c and a<b){
                c=cc*2;
            }
            else if(b<=a){
                b*=2;
            }
            else{
                c=c*2;
            }
        }
        if(a<b and c>b){
            cout<<"YES"<<endl;
        }
        else{
            cout<<"NO"<<endl;
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:19: error: 'cc' was not declared in this scope; did you mean 'c'?
   22 |                 c=cc*2;
      |                   ^~
      |                   c
Language: Java

public class Main {
    
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        // 整数の入力
        //int n = Integer.parseInt(sc.nextLine());
        
        String  str[] = new String[3];
        
        
        //for(int i = 0; i < 3 ; i++){
        //    str[i] = sc.next();
        //}
        //
        //int A= Integer.parseInt(str[0]);
        //int B= Integer.parseInt(str[1]);
        //int C= Integer.parseInt(str[2]);

       //for(int i = 0; i < 3 ; i++){
       //    System.out.println(str[i]);
       // }
        
        int A = sc.nextInt();
        int B =sc.nextInt();
        int C = sc.nextInt();
        
        int k = sc.nextInt();
        
        //System.out.println(A);  
        //System.out.println(B);  
        //System.out.println(C);  
        //System.out.println(k);  
        
        int nokori = k;
        
        for(int i = 0; i < k ; i++){
            if( B > A){
                break;  
            }else{
                B = B + B;
                nokori = nokori - 1;
            }
       }
       
       if(nokori >0){
           for(int i = 0; i < nokori ; i++){
               if( C > B){
                   break;  
               }else{
                   C = C + C;
               }
               
           }
          
       }
           
           //System.out.println("totyu");  
   
           //System.out.println(A);  
           //System.out.println(B);  
           //System.out.println(C); 
           
           
       if( A < B ){
           
           if(B<C){
               System.out.println("Yes");  
           }else{
               System.out.println("No");  
           }
       }else{
           System.out.println("No");  
       }
       
       }
       
           

}

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

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
        int a = sc.nextInt();
        int b = sc.nextInt();
    	int c = sc.nextInt();
    	int k = sc.nextInt();
    	int i = 0;
    
    while(i<=k){
      if(b < a){
        b*=2;
        i++;
      }
       if(c < b){
        c*=2;
        i++;
      }
    }
    }
    if(b > a &&c > b && i<=k){
		System.out.println("Yes");
      }else{
    System.out.println("No");
    }


  }
}

Compiler output:
Main.java:23: error: illegal start of type
    if(b > a &&c > b && i<=k){
    ^
Main.java:23: error: <identifier> expected
    if(b > a &&c > b && i<=k){
        ^
Main.java:23: error: <identifier> expected
    if(b > a &&c > b && i<=k){
            ^
Main.java:23: error: <identifier> expected
    if(b > a &&c > b && i<=k){
                ^
Main.java:23: error: <identifier> expected
    if(b > a &&c > b && i<=k){
                    ^
Main.java:23: error: <identifier> expected
    if(b > a &&c > b && i<=k){
                         ^
Main.java:23: error: <identifier> expected
    if(b > a &&c > b && i<=k){
                            ^
Main.java:25: error: illegal start of type
      }else{
       ^
Main.java:31: error: class, interface, enum, or record expected
}
^
9 errors
Language: C++

#include <iostream>

using namespace std;
int x;
demsolan(int a,int b,int c)
{
    int dem=0;
    while(b<=a) {b=b*2;dem++;}
    while(c<=b) {c=c*2;dem++;}
    if (dem<=x) {cout<<"YES";} else {cout<<"NO";}
}
int main()
{
    int a,b,c;
    cin>>a>>b>>c>>x;
    demsolan(a,b,c);
    return 0;
}


Compiler output:
a.cc:5:1: error: ISO C++ forbids declaration of 'demsolan' with no type [-fpermissive]
    5 | demsolan(int a,int b,int c)
      | ^~~~~~~~
a.cc: In function 'int demsolan(int, int, int)':
a.cc:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
	int a, b, c, k;
	cin >> a >> b >> c >> k;
	int i = -1;
	while (++i < k)
	{
		if (c <= b || c <= a)
        {
			c = c * 2;
          	continue ;
        }
		if (b <= a)
        {
          b = b * 2;
          continue :
        }
		else
        {
			a = a * 2;
          	continue :
        }
	}
	if (c > b && b > a)
		cout << "Yes";
	else
		cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:19: error: expected ';' before ':' token
   20 |           continue :
      |                   ^~
      |                   ;
a.cc:20:20: error: expected primary-expression before ':' token
   20 |           continue :
      |                    ^
a.cc:25:25: error: expected ';' before ':' token
   25 |                 continue :
      |                         ^~
      |                         ;
a.cc:25:26: error: expected primary-expression before ':' token
   25 |                 continue :
      |                          ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
	int a,b,c,k;
  	cin>>a;
  	cin>>b;
  	cin>>c;
  	cin>>k;
  	for(i=0;i<k;i++){
    	if(b<=a){
        	b*=2;
        }
      	else if(c<=b){
        	c*=2;
        }
      	else{
        	c*=2;
        }
    }
  	if(a<b&&b<c){
    	cout<<"YES";
    }
  	else{
    	cout<<"NO";
    }
  return 0;
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: 'i' was not declared in this scope
   10 |         for(i=0;i<k;i++){
      |             ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
	int a,b,c,k;
  	cin>>a;
  	cin>>b;
  	cin>>c;
  	cin>>k;
  	for(i=0;i<k;i++){
    	if(b<=a){
        	b*=2;
        }
      	else if(c<=b){
        	c*=2;
        }
      	else{
        	c*=2;
        }
    }
  	if(a<b&&b<c){
    	cout<<"YES";
    }
  	else{
    	cout<<"NO";
    }
 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: 'i' was not declared in this scope
   10 |         for(i=0;i<k;i++){
      |             ^
Language: C++

#include<iostream>
using namespace std;

int main(){
	int a,b,c,k;
  	cin>>a>>b>>c;
  	cin>>k;
  	for(i=0;i<k;i++){
    	if(b<=a){
        	b*=2;
        }
      	else if(c<=b){
        	c*=2;
        }
      	else{
        	c*=2;
        }
    }
  	if(a<b&&b<c){
    	cout<<"YES";
    }
  	else{
    	cout<<"NO";
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'i' was not declared in this scope
    8 |         for(i=0;i<k;i++){
      |             ^
Language: C++

#include <bits/stdc++.h>
#define rep(i,n) for (long long i=0; i<(n); ++i)
using namespace std;
using ll = long long;
using P = pair<int, int>;

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

    ans = 0;
    rep(i,k) {
        if (b > c) {
            c = c * 2;
            break;
        } else if (a > b) {
            b = b * 2;
            break;
        }
    }

    if ((a < b) && (b < c)) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
    
    cout << a << b << c << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |     ans = 0;
      |     ^~~
      |     abs
Language: C++

#include<bits/stdc++.h>
#define rep(i,n) for(int i = 0;i<n;i++)
using namespace std;
typedef pair<int,int> P;
typedef long long ll;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0;}
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0;}


int main() {
    int a,b,c;
    cin >> a >> b >> c;
    int k; 
    cin >> k;
    rep (i,k) {
        if (a>=b) { 
            b *= 2;
            continue;
         }
        if (b>=c) {
            c *= 2;
            continue;
        }
    }
    if(a<b && b<c) cout << "Yes"<<endl;
    else cout << "No << endl;
}

            

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

#include <stdio.h>
#include <math.h>

int main(void)
{
    int a,b,c,k;
    scanf("%d %d %d", &a, &b, &c);
    scanf("%d", &k);
    for(int l=0;l<=k;l++)
    {
        for(int m=0;m<=k;m++){
            for(int n=0;n<=k;n++)
            {
                if(l+m+n!=7) continue;
                s++;
                aa=a*(int)pow(2, (double)l);
                ba=b*(int)pow(2, (double)m);
                ca=c*(int)pow(2, (double)n);

                if(aa < ba && ba < ca){
                    printf("Yes");
                    return 0;
                }
            }
        }
    }
    printf("No");
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:15:17: error: 's' undeclared (first use in this function)
   15 |                 s++;
      |                 ^
main.c:15:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:17: error: 'aa' undeclared (first use in this function); did you mean 'a'?
   16 |                 aa=a*(int)pow(2, (double)l);
      |                 ^~
      |                 a
main.c:17:17: error: 'ba' undeclared (first use in this function); did you mean 'b'?
   17 |                 ba=b*(int)pow(2, (double)m);
      |                 ^~
      |                 b
main.c:18:17: error: 'ca' undeclared (first use in this function); did you mean 'c'?
   18 |                 ca=c*(int)pow(2, (double)n);
      |                 ^~
      |                 c
Language: Java

import java.util.*;

public class Main {

    public static void main(String args[]) {
public static void main(String args[]) {
        Scanner s = new Scanner(System.in);
        int r = s.nextInt();
        int g = s.nextInt();
        int b = s.nextInt();

        int k = s.nextInt();

        while(k-- >0){
            if(b<g || b<r){
                b=b*2;
            }
            else if(g<r){
                g=g*2;
            }
        }
        if(b>g && g>r){
            System.out.println("Yes");
        }
        else {
            System.out.println("No");
        }



    }



Compiler output:
Main.java:6: error: illegal start of expression
public static void main(String args[]) {
^
Main.java:31: error: reached end of file while parsing
    }
     ^
2 errors
Language: C++

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

int main() {
	int a,b,c,k;
	string ans = "No";
	cin >> a >> b >> c;
	cin >> k;
	for (int i = 0; i <= k; i++) {
		int B, C;
		B = b * pow(2, i);
		C = c * pow(2, (k - i));
		if (a < B && B < C) {
			ans = "Yes";
			break;
		}
	}
	cout << ans << endl;
	return 0;
	/*
	int ans = 0, n, m, k, i, j=0;
	cin >> n >> m >> k;
	vector<long long> a(n);
	vector<long long> A(n);
	vector<long long> b(m);
	vector<long long> B(m);
	for (i = 0; i < n; i++) {
		cin >> A[i];
	}
	for (i = 0; i < m; i++) {
		cin >> B[i];
	}
	a[0] = 0;
	b[0] = 0;
	for (i = 0; i < n; i++) {
		a[i] += A[i];
	}
	for (i = 0; i < m; i++) {
		b[i] += B[i];
	}

	cout << ans << endl;

	return 0;
	*/
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:25: error: 'pow' was not declared in this scope
   13 |                 B = b * pow(2, i);
      |                         ^~~
Language: C++

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

int main() {
	int a,b,c,k;
	string ans = "No";
	cin >> a >> b >> c;
	cin >> k;
	for (int i = 0; i <= k; i++) {
		int B, C;
		B = b * pow(2, i);
		C = c * pow(2, (k - i));
		if (a < B && B < C) {
			ans = "Yes";
			break;
		}
	}
	cout << ans << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:25: error: 'pow' was not declared in this scope
   13 |                 B = b * pow(2, i);
      |                         ^~~
Language: C

int main() {
	int a, b, c;
	int k;
	scanf("%d" "%d" "%d", &a, &b, &c);
	scanf("%d", &k);
	for (int i = 0; i < k; i++) {
		if (a > b) {
			b *= 2;
			continue;
		}
		if (b> c) {
			c *= 2;
			continue;
		}
	}
  	if (a < b && b < c) {
			printf("Yes");
			break;
		}
	if (a > b || b > c) {
		printf("No");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |         scanf("%d" "%d" "%d", &a, &b, &c);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:4:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |         scanf("%d" "%d" "%d", &a, &b, &c);
      |         ^~~~~
main.c:4:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:17:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   17 |                         printf("Yes");
      |                         ^~~~~~
main.c:17:25: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:17:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:17:25: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:18:25: error: break statement not within loop or switch
   18 |                         break;
      |                         ^~~~~
main.c:21:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   21 |                 printf("No");
      |                 ^~~~~~
main.c:21:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

package contest;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class P1 {
    public static void main(String[] args)throws Exception{
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String[] s=br.readLine().split(" ");
        int a=Integer.parseInt(s[0].trim());
        int b=Integer.parseInt(s[1].trim());
        int c=Integer.parseInt(s[2].trim());
        int k=Integer.parseInt(br.readLine().trim());

        if(check(a,b,c)){
            System.out.println("Yes");
        }
        else {
            while(k-->0)
            {
                if(a>=b)
                {
                    b=b*2;
                }else if(b>=c){
                    c=c*2;
                }

            }
            if(a<b&&b<c)
            {
                System.out.println("Yes");
            }else{
                System.out.println("No");
            }
        }
        }
//        System.out.println(");







    public static boolean check(int a,int b,int c){
        if(b>a && c>b){
            return true;
        }
        return false;
    }




}


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

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

int main()
{
	int a,b,c,k;
	cin>>a>>b>>c>>k;//c>b>a;
	if(c>b && b>a)	cout<<"Yes";
	else
	{
		bool c1=0;
		for(int i=1; i<=k; i++)
		{
		//	cout<<a<<" "<<b<<" "<<c<<endl;
			if(b>=c)
			{
				b/=2;
				continue;
			}
			if(a>=b)
			{
				a/=2;
				continue;
			}
			
			cout<<"Yes";
			c1=1;
			break;
		}
		if(c>b&&b>a)	c1=1;
		if(c1==0)
			cout<<"No";
		else
			cout<<"Yes
;	}
	return 0;
 }

Compiler output:
a.cc:34:31: warning: missing terminating " character
   34 |                         cout<<"Yes
      |                               ^
a.cc:34:31: error: missing terminating " character
   34 |                         cout<<"Yes
      |                               ^~~~
a.cc: In function 'int main()':
a.cc:35:1: error: expected primary-expression before ';' token
   35 | ;       }
      | ^
Language: C

int main() {
	int a, b, c;
	int k;
	scanf("%d" "%d" "%d", &a, &b, &c);
	scanf("%d", &k);
	for (int i = 0; i < k; i++) {
		if (a > c) {
			c *= 2;
			continue;
		}
		if (b > c) {
			c *= 2;
			continue;
		}
		if (a > b) {
			b *= 2;
			continue;
		}
	}
    if (a < b && b < c) {
			printf("Yes");
			break;
		}
	if (a > b || b > c) {
		printf("No");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |         scanf("%d" "%d" "%d", &a, &b, &c);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:4:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |         scanf("%d" "%d" "%d", &a, &b, &c);
      |         ^~~~~
main.c:4:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:21:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   21 |                         printf("Yes");
      |                         ^~~~~~
main.c:21:25: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:21:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:21:25: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:22:25: error: break statement not within loop or switch
   22 |                         break;
      |                         ^~~~~
main.c:25:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   25 |                 printf("No");
      |                 ^~~~~~
main.c:25:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

package contest;

import java.io.BufferedReader;
import java.io.InputStreamReader;

public class P1 {
    public static void main(String[] args)throws Exception{
        BufferedReader br=new BufferedReader(new InputStreamReader(System.in));
        String[] s=br.readLine().split(" ");
        int a=Integer.parseInt(s[0].trim());
        int b=Integer.parseInt(s[1].trim());
        int c=Integer.parseInt(s[2].trim());
        int k=Integer.parseInt(br.readLine().trim());

        if(check(a,b,c)){
            System.out.println("YES");
        }
        else {
          boolean flag=true;
            while (k-- > 0 && flag) {
                if (a >= b) {
                    b = b * 2;
                } else if (c <= b) {
                    c = c * 2;
                }
                if (check(a, b, c)) {
                    System.out.println("YES");
                  flag=false;
                    break;
                }
            }
            if (!check(a, b, c)  && flag) {
                System.out.println("NO");
            }
        }
//        System.out.println(");





    }

    public static boolean check(int a,int b,int c){
        if(b>a && c>b){
            return true;
        }
        return false;
    }




}


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

#pragma GCC optimize("O2")
#include<bits/stdc++.h>
using namespace std;
int main()
{
  int a,b,c,d,e,f,k,cn=0;
  cin>>a>>b>>c;
  cin>>k;
  for(int i=0;i<k;i++)
  {
    if(b>a && c>b)
    {
      cout<<"Yes";
      cn++;
      break;
    }
    else if(b>c)
    {
      c=c*2;
    }
    else if(c>b)
    {
      b=b*2;
    }
  }
    if(b>a && c>b)
    {
      cout<<"Yes";
    }
    else{
        cout<<"No;
    }
  
}


Compiler output:
a.cc:31:15: warning: missing terminating " character
   31 |         cout<<"No;
      |               ^
a.cc:31:15: error: missing terminating " character
   31 |         cout<<"No;
      |               ^~~~
a.cc: In function 'int main()':
a.cc:32:5: error: expected primary-expression before '}' token
   32 |     }
      |     ^
Language: Java

import java.util.*;

public class eof {
	 public static void main(String[] args) {

	  Scanner s = new Scanner(System.in);

	  int r = s.nextInt();
	  int g = s.nextInt();
	  int b = s.nextInt();
	  int k = s.nextInt();
	  
	  int temp = k;
	  int count = 0;
	  
	  while(temp != 0) {
		  
		  if(r<b && r<g) {
			  r *= 2;
			  count++;
		  }
		  else if(g<b && g<r) {
			  g *=2;
			  count++;
		  }
		  else if(b<r && b<g){
			  b *= 2;
			  count++;
		  }
		  temp--;
	  }
	  s.close();
	  

	  if(count == k) {
		  System.out.println("Yes");
	  }
	  else {
		  System.out.println("No");
	  }
	  
	 }
}

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

#include<bits/stdc++.h>

#define ll long long
#define mod 1000000007

using namespace std;



int main()
{
//    freopen("input.txt", "r", stdin);
//    freopen("output.txt", "w", stdout);
//    ios_base::sync_with_stdio(false);
//    cin.tie(NULL);
    ll r,g,b,k;
    cin>>r>>g>>b>>k;
    while(k--){
        if(b>g&&g>r){
            cout<<"Yes\n";return 0;
        }
        else if(g<=r)g*=2;
        else if(b<=g)b*=2;
    }
    if(b>g&&g>r){
        cout<<"Yes\n";return 0;
    }
    else cout<<"No\n7 4 2
37 4 2
3";
}


Compiler output:
a.cc:28:16: warning: missing terminating " character
   28 |     else cout<<"No\n7 4 2
      |                ^
a.cc:28:16: error: missing terminating " character
   28 |     else cout<<"No\n7 4 2
      |                ^~~~~~~~~~
a.cc:30:2: warning: missing terminating " character
   30 | 3";
      |  ^
a.cc:30:2: error: missing terminating " character
   30 | 3";
      |  ^~
a.cc: In function 'int main()':
a.cc:29:3: error: expected ';' before numeric constant
   29 | 37 4 2
      |   ^~
      |   ;
Language: C

int main() {
	int a, b, c;
	int k;
	scanf_s("%d %d %d", &a, &b, &c);
	scanf_s("%d", &k);
	for (int i = 0; i < k; i++) {
		if (a > c) {
			c *= 2;
			continue;
		}
		if (b > c) {
			c *= 2;
			continue;
		}
		if (a > b) {
			b *= 2;
			continue;
		}
		if (a < b && b < c) {
			printf("Yes");
			break;
		}
	}
	if (a > b || b > c) {
		printf("No");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:9: error: implicit declaration of function 'scanf_s' [-Wimplicit-function-declaration]
    4 |         scanf_s("%d %d %d", &a, &b, &c);
      |         ^~~~~~~
main.c:20:25: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   20 |                         printf("Yes");
      |                         ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:20:25: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   20 |                         printf("Yes");
      |                         ^~~~~~
main.c:20:25: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:25:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   25 |                 printf("No");
      |                 ^~~~~~
main.c:25:17: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main();
{
  int A,B,C;
  cin>>A>>B>>C;
  int k;
  cin>>k;
  while(B<=A && k>0)
  {
    B= B*2;
    k--;
  }
  while(C<=B && k>0)
  {
    C= C*2;
    k--;
  }
  if(B>A && C>B)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
  return 0;
}

      

Compiler output:
a.cc:4:1: error: expected unqualified-id before '{' token
    4 | {
      | ^
Language: C++

#include "pch.h"
#include <iostream>
using namespace std;

int main() {
	int a, b, c, k;
	cin >> a >> b >> c >> k;
	
	if (a >= b) {
		for (int i = 1; i <= k; i++) {
			b = b * 2;
			k = k - 1;
			if (a < b) {
				break;
			}
		}
	}
	if (b >= c) {
		for (int i = 1; i <= k; i++) {
			c = c * 2;
			k = k - 1;
			if (b < c) {
				break;
			}
		}
	}
	if (a < b and b < c) {
		cout << "Yes";
	}
	else {
		cout << "No";
	}
}

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

#include<bits/stdc++.h>
using namespace std;
int main;
{
  int A,B,C;
  cin>>A>>B>>C;
  int k;
  cin>>k;
  while(B<=A && k>0)
  {
    B= B*2;
    k--;
  }
  while(C<=B && k>0)
  {
    C= C*2;
    k--;
  }
  if(B>A && C>B)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
  return 0;
}

      

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main;
      |     ^~~~
a.cc:4:1: error: expected unqualified-id before '{' token
    4 | {
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main() {
  // r g b
  cin >> a >> b >> c >> k;
  while (b <= a) {
    b *= 2;
    k--;
  }
  while (c <= b) {
    c *= 2;
    k--;
  }
  cout << (k >= 0 ? "Yes" : "No") << endl;
  return 0;
}

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

#include <stdio.h>
int main(void){
  int n;
  int i;
  int min;
  int a[3];
  for (i=1; i<=3; i++){
    scanf("%d", &a[i])
  }
  scanf("%d", &n);
  min=a[1]; 
  if(a[2]<min) 
    min=a[2];
  if (a[3]<min)
    min=a[3];
  if (min==a[1]){
  for (i=0; i<n; i++){
min=min*2;
  }
    a[1]=min;
  }
  
  if (min==a[2]){
  for (i=0; i<n; i++){
min=min*2;
  }
    a[2]=min;
  }
  
  if (min==a[3]){
  for (i=0; i<n; i++){
min=min*2;
  }
    a[3]=min;
  }
  
  
  if (a[2]>a[1]&&a[3]>a[2]){
    printf("Yes");
  }
  else
    printf("No");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:23: error: expected ';' before '}' token
    8 |     scanf("%d", &a[i])
      |                       ^
      |                       ;
    9 |   }
      |   ~
Language: C

#include <stdio.h>
int main(void){
  int a, b, c;
  int n;
  int i;
  int min;
  int a[3];
  for (i=1; i<=3; i++){
    scanf("%d", &a[i])
  }
  scanf("%d", &n);
  min=a[1]; 
  if(a[2]<min) 
    min=a[2];
  if (a[3]<min)
    min=a[3];
  if (min==a[1]){
  for (i=0; i<n; i++){
min=min*2;
  }
    a[1]=min;
  }
  
  if (min==a[2]){
  for (i=0; i<n; i++){
min=min*2;
  }
    a[2]=min;
  }
  
  if (min==a[3]){
  for (i=0; i<n; i++){
min=min*2;
  }
    a[3]=min;
  }
  
  
  if (a[2]>a[1]&&a[3]>a[2]){
    printf("Yes");
  }
  else
    printf("No");
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:7:7: error: conflicting types for 'a'; have 'int[3]'
    7 |   int a[3];
      |       ^
main.c:3:7: note: previous declaration of 'a' with type 'int'
    3 |   int a, b, c;
      |       ^
main.c:9:23: error: expected ';' before '}' token
    9 |     scanf("%d", &a[i])
      |                       ^
      |                       ;
   10 |   }
      |   ~
Language: C++

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

int main() {
	int A,B,C,K;
	cin >>A>>B>>C>>K;
	int n=0;
	


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

#include<bits/stdc++.h>
#define dbug printf("I am here\n");
#define Fast ios_base::sync_with_stdio(false); cin.tie(0);
#define vs             v.size()
#define ss             s.size()
#define sot(v)       sort(v.begin(),v.end())
#define rev(v)       reverse(v.begin(),v.end())
#define pii             pair<int,int>
#define ll               long long
#define ull             unsigned long long
#define pb             push_back
#define mpp          make_pair
#define Okay         0

const int m = 10+10e7;
static ll int inf = 1e18;
using namespace std;


void  solve(){
      ll int k;
      int a,b,c;
      cin>>a>>b>>c;
      cin>>k;
      for(int i=0;i<k;i++){
        if(a>b){
            b*=2;
            continue;
        }
        if(b>c){
            c*=2;
            continue;
        }
      }
      if(a<b && b<c)cout<<"Yes"<<endl;
      else cout<<"No"<<endl;


}


int main() {
    Fast;

    int tst;


           solve();



    return Okay ;
}


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

#include<iostream>
using namespace std;

int main()
{
	/*#ifndef ONLINE_JUDGE
		freopen("input.txt","r",stdin);
		freopen("output.txt","w",stdout);
	#endif*/
	
	int red, green, blue, k, count=0;
	cin>> red >> green >> blue >> k;
	// G > R
	// B > G
	while(red >= green){
		green = green*2;
		count++;
	}
	while(green >= bluea){
		blue = blue*2;
		count++;
	}
	if(count == k && blue>green && green>red){
		cout<<"Yes"<<endl;
	}else{
		cout<<"No"<<endl;
	}

	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:24: error: 'bluea' was not declared in this scope; did you mean 'blue'?
   19 |         while(green >= bluea){
      |                        ^~~~~
      |                        blue
Language: C++

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

int main(){
	int a,b,c,k
	cin>>a>>b>>c>>k;
	int ops = 0;
	while(b<=a){
		b = b*2;
		ops++;
	}
	while(c<=b){
		c = c*2;
		ops++;
	}
	if(ops<=k){
		cout<<"Yes"<<endl;
	}
	else{
		cout<<"No"<<endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: expected initializer before 'cin'
    6 |         cin>>a>>b>>c>>k;
      |         ^~~
a.cc:16:17: error: 'k' was not declared in this scope
   16 |         if(ops<=k){
      |                 ^
Language: C++

 /***     
 * When I wrote this
 * only God & I understood
 * what I was doing
 * Now, God only knows 
 /***/ 
#include<iostream>
#include<cmath>
#include<cstring>
#include<string>
#include<algorithm>
#include <iomanip>
#include<map>
typedef long long ll;
const int mod = 1e9+7;
using namespace std;
ll gcd(ll a, ll b){return b?gcd(b,a%b):a;}
ll lcm(ll a, ll b){return a/gcd(a,b)*b;}
//fixed<< setprecision(2)
int main()
{
    std::ios::sync_with_stdio(false);
    std::cin.tie(0);
    ll a,b,c,k;
    while(cin>>a>>b>>c>>k)
    {
        while(a>b&&k>0)
        {
            b*=2;
            k--;
        }
        while(b>c&&k>0)
        {
            c*=2;
            k--;
        }
        if(a=<b&&b=<c)cout<<"Yes\n";
        else cout<<"No\n";
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:37:14: error: expected primary-expression before '<' token
   37 |         if(a=<b&&b=<c)cout<<"Yes\n";
      |              ^
a.cc:37:20: error: expected primary-expression before '<' token
   37 |         if(a=<b&&b=<c)cout<<"Yes\n";
      |                    ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int A, B, C, K, count=0;
  cin >> A >> B >> C >> K;
  if(A!<B || B!<C){
  while(B<A)
  {
    B *= 2;
    count++;
  }
  while(C<B)
  {
    C *= 2;
    count++;
  }}
  if(count <= K)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: expected ')' before '!' token
    7 |   if(A!<B || B!<C){
      |     ~ ^
      |       )
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define MP make_pair
#define ull unsigned long long int
#define F first
#define S second
#define put insert
#define pb push_back
#define rsort(arr) sort(arr.begin(),arr.end(),greater<int>())
#define srt(arr) sort(arr.begin(),arr.end())
ll MOD = 1e9+7;
bool check(int a, int b, int c) {
    if(b > a && c > b)
        return true;
    return false;
}
int main() {
    int t = 1;
    // cin>>t;
    while(t--) {
        int a,b,c,k;
        cin>>a>>b>>c>>k;
        bool answerable = false;
        if(check(a,b,c)) {
            answerable = true;
            break;
        } else {
            while(k--) {
                if(b =< a)
                    b = b*2;
                else if(c <= b)
                    c = c*2;
                if(check(a,b,c)) {
                    answerable = true;
                    break;
                }
            }
        }
        if(answerable)
            cout<<"Yes";
        else
            cout<<"No";
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:30:23: error: expected primary-expression before '<' token
   30 |                 if(b =< a)
      |                       ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll=long long int;
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    ll a,b,c,k;
    cin>>a>>b>>c;
    cin>>k;
    if(c>b && b>a)
    {
        cout<<"Yes"<<endl;
    }
    else
    {
        while(k)
        {
            if(b>a)
            {
                break;
            }
            else
            {
                b=b*2;
            }
            k--;
        }

        while(k--)
        {
            if(c>b)
            {
                break;
            }
            else
            {
                c*=2;
            }
        }

        if(c>b && b>a)
        {
           cout<<"Yes"<<endl;

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

    return 0;
}
v

Compiler output:
a.cc:55:1: error: 'v' does not name a type
   55 | v
      | ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int A, B, C, K, count=0;
  cin >> A >> B >> C >> K;
  while(B<A)
  {
    B *= 2;
    count++;
  }
  while(C<B)
  {
    C *= 2;
    count++;
  }
  if(A<B && B<C && count = K)
    cout << "Yes" << endl;
  else
    cout << "No" << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:17: error: lvalue required as left operand of assignment
   17 |   if(A<B && B<C && count = K)
      |      ~~~~~~~~~~~^~~~~~~~
Language: Java

import java.util.*;

public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int a = sc.nextInt();
   int b = sc.nextInt();
   int c = sc.nextInt();
   int[] magic = {a,b,c};
   
   int k = sc.nextInt();
   Random r = new Random()
   
   for(int i = 0;i < k;i++){
     int number = r.nextInt(3);
     magic[number] = 2 * magic[number];
   }
   if(magic[0] < magic[1] && magic[1] < magic[2]){
    System.out.println("Yes");
   }else{
    System.out.println("No");
   }
   
 }
}

Compiler output:
Main.java:12: error: ';' expected
   Random r = new Random()
                          ^
1 error
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
	int A,B,C;
	cin >> A >> B >> C;
	int K;
	cin >> K;
	string ans = "No";
	for(int i=0; i<K; i++){
		if(A<B*pow(2,i) && B*pow(2,i<C*pow(2,(K-i)))
			ans = "Yes";
	}
	cout << ans << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:61: error: expected ';' before 'ans'
   11 |                 if(A<B*pow(2,i) && B*pow(2,i<C*pow(2,(K-i)))
      |                                                             ^
      |                                                             ;
   12 |                         ans = "Yes";
      |                         ~~~                                  
a.cc:13:9: error: expected primary-expression before '}' token
   13 |         }
      |         ^
a.cc:12:37: error: expected ')' before '}' token
   12 |                         ans = "Yes";
      |                                     ^
      |                                     )
   13 |         }
      |         ~                            
a.cc:11:19: note: to match this '('
   11 |                 if(A<B*pow(2,i) && B*pow(2,i<C*pow(2,(K-i)))
      |                   ^
a.cc:13:9: error: expected primary-expression before '}' token
   13 |         }
      |         ^
Language: C

#include <bits/stdc++.h>
using namespace std;
int main(){
  int A, B, C, K, count = 0;
  cin >> A >> B >> C >> K;
  for (int i = 0; i < K; i++){
    if (B >= C){
      C *= 2;
    }
    else if (A >= B){
      B *= 2;
    }
  }
  if ((A < B) && (B < C)){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
  return 0;
}

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

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

int main() {
    int A, B, C;
    cin >> A >> B >> C;
    int K;
    cin >> K;
    while ((B <= A) && (K > 0)) {
        B *= 2;
        K--;
    }
    if ((B > A) && (K > 0)) {
        for (int i=0; i<K; i++) {
            C *= 2;
        }
    }
    if ((C > B) && (B > A)) {
        cout << "Yes" << endl;
    }
    else {
        cout << "No" << endl;
  

Compiler output:
a.cc: In function 'int main()':
a.cc:24:30: error: expected '}' at end of input
   24 |         cout << "No" << endl;
      |                              ^
a.cc:23:10: note: to match this '{'
   23 |     else {
      |          ^
a.cc:24:30: error: expected '}' at end of input
   24 |         cout << "No" << endl;
      |                              ^
a.cc:6:12: note: to match this '{'
    6 | int main() {
      |            ^
Language: C++

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

int main(){
  int R,G,B,K,i=0;cin>>R>>G>>B>>K;
  if(B>G&&G>A){
    cout<<"Yes"<<endl;
    return 0;
  }
  else{
    while(G<=A){
      G*=2;i++;
    }
    while(B<=G){
      B*=2;i++;
    }
    cout<<(i>K?"No":"Yes")<<endl;
  }
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:6:13: error: 'A' was not declared in this scope
    6 |   if(B>G&&G>A){
      |             ^
Language: C

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

int main(){
  vector<int> vc(3);
  int a, b, c, k;
  rep(i, 3) cin >> vc[i];
  cin >> k;

  rep(i,k){
    if(vc[1] <= vc[0]){
      vc[1] *= 2;
    }else if(vc[2] <= vc[1]){
      vc[2] *= 2;
    }
  }

  if(vc[0] < vc[1] & vc[1] < vc[2]){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }
}

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

#include <bits/stdc++.h>
using namespace std;
     
    int main(){
        int r, g, b, k;
        cin >> r >> g >> b >> k;
      
        while(k!=0 && r<g){
          g *= 2;
          k--;
        }
        while(k!=0 && g<b){
          b *= 2;
          k--;
        }
        if((r<g && g<b){
          cout << 'Yes' << endl;
        }
        else{
          cout << 'No' << endl;
        } 
    }

Compiler output:
a.cc:17:19: warning: multi-character character constant [-Wmultichar]
   17 |           cout << 'Yes' << endl;
      |                   ^~~~~
a.cc:20:19: warning: multi-character character constant [-Wmultichar]
   20 |           cout << 'No' << endl;
      |                   ^~~~
a.cc: In function 'int main()':
a.cc:16:24: error: expected ')' before '{' token
   16 |         if((r<g && g<b){
      |           ~            ^
      |                        )
a.cc:22:5: error: expected primary-expression before '}' token
   22 |     }
      |     ^
Language: C++

#include <iostream>
 
using namespace std;
 
int main(){
  int A, B, C, K;
  cin >> A >> B >> C >> K;
  int O = 0;
  while (A >= B){
    B *= 2;
    O += 1;
  }
  while (B >= C){
    C *= 2;
    O += 1;
  }
  if (O > K){ cout << "No"};
  else{ cout << "Yes"};
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:27: error: expected ';' before '}' token
   17 |   if (O > K){ cout << "No"};
      |                           ^
      |                           ;
a.cc:18:3: error: 'else' without a previous 'if'
   18 |   else{ cout << "Yes"};
      |   ^~~~
a.cc:18:22: error: expected ';' before '}' token
   18 |   else{ cout << "Yes"};
      |                      ^
      |                      ;
Language: C++

    #include <bits/stdc++.h>
    using namespace std;
     
    int main(){
        int r, g, b, k;
        cin >> r >> g >> b >> k;
      
        while(k!=0 && r<g){
          g *= 2
          k--
        }
        while(k!=0 && g<b){
          b *= 2
          k--
        }
        if((r<g && g<b){
          cout << 'Yes' << endl;
        }
        else{
          cout << 'No' << endl;
        } 
    }

Compiler output:
a.cc:17:19: warning: multi-character character constant [-Wmultichar]
   17 |           cout << 'Yes' << endl;
      |                   ^~~~~
a.cc:20:19: warning: multi-character character constant [-Wmultichar]
   20 |           cout << 'No' << endl;
      |                   ^~~~
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before 'k'
    9 |           g *= 2
      |                 ^
      |                 ;
   10 |           k--
      |           ~      
a.cc:13:17: error: expected ';' before 'k'
   13 |           b *= 2
      |                 ^
      |                 ;
   14 |           k--
      |           ~      
a.cc:16:24: error: expected ')' before '{' token
   16 |         if((r<g && g<b){
      |           ~            ^
      |                        )
a.cc:22:5: error: expected primary-expression before '}' token
   22 |     }
      |     ^
Language: C++

#include<iostream>
#include<string>
using namespace std;
int main()
{
	//int a;
	//cin >> a;
	//if (a >= 400 && a <= 599)cout << 8;
	//else if (a >= 600 && a <= 799)cout << 7;
	//else if (a >= 800 && a <= 999)cout << 6;
	//else if (a >= 1000 && a <= 1199)cout << 5;
	//else if (a >= 1200 && a<= 1399)cout << 4;
	//else if (a >= 1400 && a <= 1599)cout << 3;
	//else if (a >= 1600 && a <= 1799)cout << 2;
	//else if (a >= 1800 && a <= 1999)cout << 1;


	int a, b, c, k;
	cin >> a >> b >> c >> k;
	while (a >= b)
	{
		b = b << 1;
		k -= 1;
		//cout << b << endl;
		if (k < 0)
		{
			cout << "No";
			exit(0);
		}
	}
	while (b >= c)
	{
		c = c << 1;
		k -= 1;
		//cout << c << " " << k << endl;
		if (k < 0)
		{
			cout << "No";
			exit(0);
		}
	}
	cout << "Yes";
	return 0;

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

#include <iostream>
#include <cstdio>
#include <cstring>
#include <algorithm>

using namespace std;
int main() 
{
	int a, b, c, k;
	scanf("%d%d%d%d", &a, &b, &c, &k);

	bool flag = false;
	for (int q1 = 0; q1 <= k; ++q1)
	{
		for (int q2 = 0; q2 <= k; ++q2)
		{
			for (int q3 = 0; q3 <= k; ++q3)
			{
				if (q1 + q2 + q3 <= k)
				{
					if (a * pow(2, q1) < b * pow(2, q2) && b * pow(2, q2) < c * pow(2, q3))
					{
						flag = true;
						goto here;
					}
				}
			}
		}
	}

	here:;

	if (flag)
	{
		puts("Yes");
	}
	else
	{
		puts("No");
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:49: error: 'pow' was not declared in this scope
   21 |                                         if (a * pow(2, q1) < b * pow(2, q2) && b * pow(2, q2) < c * pow(2, q3))
      |                                                 ^~~
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main()
{
    long long int a,b,c,d;
    cin>>a>>b>>c;
    cin>>d;
    while(b=<a)
    {
        if(d==0) break;
        b=b*2;
        d--;
    }
    while(c=<b)
    {
        if(d==0) break;
        c=c*2;
        d--;
    }
    if(a>=b || b>=c) cout<<"No"<<endl;
    else cout<<"Yes"<<endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected primary-expression before '<' token
   10 |     while(b=<a)
      |             ^
a.cc:16:13: error: expected primary-expression before '<' token
   16 |     while(c=<b)
      |             ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c;
	cin>>a>>b>>c;
	int k;
	cin>>k;
	int t1=0;
	if(a>=b)
	{
		while(a>=b)
		{
			b*=2;
			t1++;
		}
	}
	int t2=k-t1;
	for(int i=1;i<=t2;i++) c*=2;
	if(c<=b ||c<=a) cout<<"No"<<endl;
	else cout<<"Yes"<<endl;
	

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

int main(void) {
	int a,b,c;
	int k;
	bool flag = 0;
	cin >> a >> b >> c;
	cin >> k;
	for (int x = 0; x <= k; x++) {
		for (int y = 0; y <= k - x;y++) {
			int z = k - x - y;
			if ((a*x < b*y) && (b*y < c*z)) {
				flag = 1;
				break;
			}
		}
	}
	if (flag == 1)cout << "Yes";
	else cout << "No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin >> a >> b >> c;
      |         ^~~
a.cc:16:23: error: 'cout' was not declared in this scope
   16 |         if (flag == 1)cout << "Yes";
      |                       ^~~~
a.cc:17:14: error: 'cout' was not declared in this scope
   17 |         else cout << "No";
      |              ^~~~