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

import java.util.Scanner;

public class Main {
    public static void main(String[] args) throws Exception {
        //緑のカードに書かれている整数は、赤のカードに書かれている整数より真に大きい。
        //青のカードに書かれている整数は、緑のカードに書かれている整数より真に大きい。
        Scanner sc = new Scanner(System.in);
        int A = sc.nextInt(); //赤
        int B = sc.nextInt(); //緑
        int C = sc.nextInt(); //青
        int K = sc.nextInt();
        boolean flag = false;
        for (int i = 0; i < K; i++) {
                if (B < A){　　　　　　// ①
                    B = B * 2;
                } else if (A < B) {    // ②
                    C = C * 2;
                }
                if(A < B && B < C){
                    flag = true;
                    break;
                }
        }
        if (flag) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:14: error: illegal character: '\u3000'
                if (B < A){??????// ?
                           ^
Main.java:14: error: illegal character: '\u3000'
                if (B < A){??????// ?
                            ^
Main.java:14: error: illegal character: '\u3000'
                if (B < A){??????// ?
                             ^
Main.java:14: error: illegal character: '\u3000'
                if (B < A){??????// ?
                              ^
Main.java:14: error: illegal character: '\u3000'
                if (B < A){??????// ?
                               ^
Main.java:14: error: illegal character: '\u3000'
                if (B < A){??????// ?
                                ^
6 errors
Language: C

#include <stdio.c>

int main() {
  int A, B, C, K;
  int diff, i;
  
  scanf("%d %d %d\n", &A, &B, &C);
  scanf("%d\n", &K);
  
  while((K >= 0) && (A >= B)) {
    B *= 2;
    K--;
  }
  
  while((K >= 0) && (B >= C)) {
    C *= 2;
    K--;
  }
  
  printf("%s\n", (K >= 0) ? "yes" : "No");
  
  return 0;
}
  

Compiler output:
main.c:1:10: fatal error: stdio.c: No such file or directory
    1 | #include <stdio.c>
      |          ^~~~~~~~~
compilation terminated.
Language: Java

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

@SuppressWarnings("unused")
public class HelloWorld {
	static class InputReader{ 
	BufferedReader reader;
	StringTokenizer tokenizer;
	public InputReader(InputStream stream) {
		reader = new BufferedReader(new InputStreamReader(stream), 32768);
		tokenizer = null;
	}
	String next() {
		while (tokenizer == null || !tokenizer.hasMoreTokens()) {
			try {
				tokenizer = new StringTokenizer(reader.readLine());
			} catch (IOException e) {
				throw new RuntimeException(e);
			}
		}
		return tokenizer.nextToken();
	}
	public int nextInt() {
		return Integer.parseInt(next());
	}
	public Long nextLong() {
		return Long.parseLong(next());
	}
	public double nextDouble() {
		return Double.parseDouble(next());
	}
	}
	static InputReader r = new InputReader(System.in);
	static PrintWriter pw = new PrintWriter(System.out);
	public static void main(String[] args) {
		new Solve();
		pw.close();
	}
	static class Solve {
		Solve() {// if b > a || c > b
			int a = r.nextInt(), b = r.nextInt(), c = r.nextInt(), k = r.nextInt();
			boolean work = false;
			while (k > 0 && b <= a) {
				if (b <= a && k > 0) {
					b *= 2;
					k = k - 1;
				} else {
					break;
				}
			}
			while (k > 0 && c <= b) {
				if (k > 0 && c <= b) {
					c*=2;
					k = k - 1;
				}
			}
			if (c > b && b > a) {
				work = true;
			}
			if (work) {
				pw.println("Yes");
			} else {
				pw.println("No");
			}
			return;
		}
	}
}


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

import java.util*;

public class Main{
  public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
        int red = sc.nextInt();
        int green = sc.nextInt();
        int blue = sc.nextInt();
        int K = sc.nextInt();
        for(int i = 0;i < K;i++) {
        	if(red > green) {
        		green *= 2;
        	}else if(green > blue || red > blue) {
        		blue *= 2;
        	}
        }
        if(red < green && green < blue && red < blue) {
        	System.out.println("Yes");
        }else {
    		System.out.println("No");
    	}
	}
}

Compiler output:
Main.java:1: error: ';' expected
import java.util*;
                ^
1 error
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:3: error: 'A' was not declared in this scope
    5 |   A, B, C, K, cnt = 0;
      |   ^
a.cc:5:6: error: 'B' was not declared in this scope
    5 |   A, B, C, K, cnt = 0;
      |      ^
a.cc:5:9: error: 'C' was not declared in this scope
    5 |   A, B, C, K, cnt = 0;
      |         ^
a.cc:5:12: error: 'K' was not declared in this scope
    5 |   A, B, C, K, cnt = 0;
      |            ^
a.cc:5:15: error: 'cnt' was not declared in this scope; did you mean 'int'?
    5 |   A, B, C, K, cnt = 0;
      |               ^~~
      |               int
Language: C++

//#define _GLIBCXX_DEBUG
#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<int, int>;
#define rep(i, n) for (int i = 0; i < (n); i++)
#define all(v) v.begin(), v.end()
#define allr(v) v.rbegin(), v.rend()
vector<int> dx = {-1, -1, -1, 0, 0, 1, 1, 1};
vector<int> dy = {-1, 0, 1, -1, 1, -1, 0, 1};

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

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:5: error: expected ';' before 'if'
   24 |    a
      |     ^
      |     ;
   25 |     if (cnt <= k) cout << "Yes" << endl;
      |     ~~
a.cc:26:5: error: 'else' without a previous 'if'
   26 |     else cout << "No" << endl;
      |     ^~~~
Language: C++

#iinclude<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
  ll a,b,c,k;cin>>a>>b>>c>>k;
  while(k--)
  {
    if(c<=b || c<=a)
    {c=c*2;
    }
    else if(b<=a)
      b*=2;
    else
      c*=2;
  }
  if(c>b && c>a && b>a)
    cout<<"Yes;
  else
    cout<<"No";
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iinclude; did you mean #include?
    1 | #iinclude<bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc:18:11: warning: missing terminating " character
   18 |     cout<<"Yes;
      |           ^
a.cc:18:11: error: missing terminating " character
   18 |     cout<<"Yes;
      |           ^~~~~
a.cc: In function 'int main()':
a.cc:6:14: error: 'cin' was not declared in this scope
    6 |   ll a,b,c,k;cin>>a>>b>>c>>k;
      |              ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #iinclude<bits/stdc++.h>
a.cc:18:5: error: 'cout' was not declared in this scope
   18 |     cout<<"Yes;
      |     ^~~~
a.cc:18:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:19:3: error: expected primary-expression before 'else'
   19 |   else
      |   ^~~~
Language: C++

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

ll n;
int main()
{
    int a, b, c;
    int k;
    cin >> a >> b >> c >> k;
    for (int i = 0; i < k; i++)
    {
        
        if (b <= a)
        {
            a *= 2;
        }
        else if 
        {
            b *= 2;
        }
        if (b > a && c > b)
        {
            cout << "Yes" << endl;
            break;
        }
    }
    return 0;
}


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

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

    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: expected ';' before '}' token
   14 |         cnt++
      |              ^
      |              ;
   15 |     }
      |     ~
Language: C++

#pragma GCC optimize(2)
#include<bits/stdc++.h>
using namespace std;
#define IOS ios::sync_with_stdio(0)
#define ull unsigned ll
#define uint unsigned
#define pai pair<int,int>
#define pal pair<ll,ll>
#define IT iterator
#define pb push_back
#define fi first
#define se second
#define For(i,j,k) for (int i=(int)(j);i<=(int)(k);++i)
#define Rep(i,j,k) for (int i=(int)(j);i>=(int)(k);--i)
#define endl '\n'
#define ll long long
int main()
{
    int x,y,z;
    cin>>x>>y>>z;
 	int time ;
  	cin >> time;
  	if(y ==0 || z== 0){
    	cout<< "No";
    }
  	int time1 = 0 ;
  	int time2 = 0;
  	while(y< x){
    	y = y*2
          time1++;
    }
  while(z < y){
    z=z*2;
    time2++;
  	}
  if(time1 + time2 <= time){
  	cout<<"Yes"
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:16: error: expected ';' before 'time1'
   29 |         y = y*2
      |                ^
      |                ;
   30 |           time1++;
      |           ~~~~~ 
a.cc:37:20: error: expected ';' before '}' token
   37 |         cout<<"Yes"
      |                    ^
      |                    ;
   38 |   }
      |   ~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int r,g,b;
  cin>>r>>g>>b;
  int k;
  cin>>k;
  if((r/g)<=2)k--;
  else if((r/g)<=4)k-=2;
  else k-=3;
  if((g/b)<=2)k--;
  else if((g/b)<=4)k-=2;
  else k-=3;
  if(k>=0)cout<<"Yes";
  else cout<<"No";
}
#include<bits/stdc++.h>
using namespace std;
int main(){
  int r,g,b;
  cin>>r>>g>>b;
  int k;
  cin>>k;
  if((r/g)<=2){k--;g=g*2;}
  else if((r/g)<=4){k-=2;g=g*4;}
  else {k-=3;g=g*8;}
  if((g/b)<=2)k--;
  else if((g/b)<=4)k-=2;
  else k-=3;
  if(k>=0)cout<<"Yes";
  else cout<<"No";
}
Submission Info

Compiler output:
a.cc:19:5: error: redefinition of 'int main()'
   19 | int main(){
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main(){
      |     ^~~~
a.cc:33:1: error: 'Submission' does not name a type
   33 | Submission Info
      | ^~~~~~~~~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: expected primary-expression before '%' token
   10 |   if(c>b%%b>a) cout << "Yes" << endl;
      |          ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define endl "\n"
#define int long long
int mod=1e9+7;


signed main()
{

    #ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
    #endif

    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

   int a,b,c,k;
  cin>>a>>b>>c;
  cin>>k;
  int f=0;
  while(k--)
  {
    if (b<=a)
      b=2*b;
    else if (c<=b)
      c=2*c;
    else{
      f=1;
      break;
  }
  if (f)
    cout<<"Yes"<<endl;
  else
    cout<<"No"<<endl;
}


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

#include <bits/stdc++.h>
using namespace std;
int main()
{
  int a,b,c,k,count=0;
  cin>>a>>b>>c;
  cin>>k;
   while(b<=a)
  {
    b*=2
    count++;
  }
  while(c<=b)
  {
    c=*2;
    count++;
  }
 
  if(count<=k)
  {
    cout<<"YES";
  }
  else
  {
    cout<<"NO";
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:9: error: expected ';' before 'count'
   10 |     b*=2
      |         ^
      |         ;
   11 |     count++;
      |     ~~~~~
a.cc:15:7: error: invalid type argument of unary '*' (have 'int')
   15 |     c=*2;
      |       ^~
Language: C++

#include <bits/stdc++. h>
using namespace std;
int main()
{
  int a,b,c,k,count=0;
  cin>>a>>b>>c;
  cin>>k;
   while(b<=a)
  {
    b*=2
    count++;
  }
  while(c<=b)
  {
    c=*2;
    count++;
  }
 
  if(count<=k)
  {
    cout<<"YES";
  }
  else
  {
    cout<<"NO";
  }
  
}

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

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int a,b,c,k,count=0;
  cin>>a>>b>>c;
  cin>>k;
  while(c<=b)
  {
    c=*2;
    count++;
  }
  while(b<=a)
  {
    b*=2
    count++;
  }
  if(count<=k)
    cout<<"YES";
  else
    cout<<"NO";
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:7: error: invalid type argument of unary '*' (have 'int')
   10 |     c=*2;
      |       ^~
a.cc:15:9: error: expected ';' before 'count'
   15 |     b*=2
      |         ^
      |         ;
   16 |     count++;
      |     ~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int a=0,b=0,c=0,k=0;
  cin>>a>>b>>c>>K;
  bool possible=false;
  for(int i=0;i<=K;i++){
    for(int j=0;j<=K;j++){
      for(int k=0;k<=K;k++){
        int x=a*(1<<i),y=b*(1<<j),z=c*(1<<k);
        if(i + j + k <=K && x<y && y < z){
        possible=true;
        }
      }
    }
  }
  if(possible){
  cout<<"Yes\n";
  }else{
  cout<<"No\n";
  }
  return 0;
}

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

#include <iostream>
 using namespace std;
 int main() {
5int A, B, C, K; bool flag = false;
6cin >> A >> B >> C >> K;

 for (int i = 0; i <= K; i++) {
 for (int j = 0; j <= K; j++) {
 for (int k = 0; k <= K; k++) {
 int x = A * (1 << i), y = B * (1 << j), z = C * (1 << k);
    if (i + j + k <= K && x < y && y < z) flag = true;
 }

 }
 }

if (flag == true) cout << "Yes" << endl;
 else cout << "No" << endl;
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:4:1: error: unable to find numeric literal operator 'operator""int'
    4 | 5int A, B, C, K; bool flag = false;
      | ^~~~
a.cc:5:1: error: unable to find numeric literal operator 'operator""cin'
    5 | 6cin >> A >> B >> C >> K;
      | ^~~~
a.cc:5:9: error: 'A' was not declared in this scope
    5 | 6cin >> A >> B >> C >> K;
      |         ^
a.cc:5:14: error: 'B' was not declared in this scope
    5 | 6cin >> A >> B >> C >> K;
      |              ^
a.cc:5:19: error: 'C' was not declared in this scope
    5 | 6cin >> A >> B >> C >> K;
      |                   ^
a.cc:5:24: error: 'K' was not declared in this scope
    5 | 6cin >> A >> B >> C >> K;
      |                        ^
a.cc:11:31: error: 'y' was not declared in this scope
   11 |     if (i + j + k <= K && x < y && y < z) flag = true;
      |                               ^
a.cc:11:40: error: 'z' was not declared in this scope
   11 |     if (i + j + k <= K && x < y && y < z) flag = true;
      |                                        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
	int a,b,c,k;
	cin>>a>>b>>c>>k
	if(c>b && b>a)	cout<<"Yes";
	else
	{
		bool c1=0;
		for(int i=1; i<=k; i++)
        {
			if(b>=c)
			{
				c*=2;
				continue;
			}
			if(a>=b)
			{
				b*=2;
				continue;
			}
			cout<<"Yes";
			c1=1;
			break;
		}
		if(c>b&&b>a && c1==0)	cout<<"Yes";
		else if(c1==0)
			cout<<"No";
	}
	return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:6:24: error: expected ';' before 'if'
    6 |         cin>>a>>b>>c>>k
      |                        ^
      |                        ;
    7 |         if(c>b && b>a)  cout<<"Yes";
      |         ~~              
a.cc:8:9: error: 'else' without a previous 'if'
    8 |         else
      |         ^~~~
Language: C++

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

Compiler output:
a.cc:1:14: error: missing terminating > character
    1 | #include <bit
      |              ^
a.cc:2:1: error: 's' does not name a type
    2 | s/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope
    7 |     cin>>a>>b>>c;
      |     ^~~
a.cc:21:9: error: 'cout' was not declared in this scope
   21 |         cout<<"Yes"<<endl;
      |         ^~~~
a.cc:21:22: error: 'endl' was not declared in this scope
   21 |         cout<<"Yes"<<endl;
      |                      ^~~~
a.cc:25:9: error: 'cout' was not declared in this scope
   25 |         cout<<"No"<<endl;
      |         ^~~~
a.cc:25:21: error: 'endl' was not declared in this scope
   25 |         cout<<"No"<<endl;
      |                     ^~~~
Language: C++

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

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

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

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

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

public final class Main
{
    public static void main (String[] args) throws java.lang.Exception {
        Scanner in = new Scanner(System.in);
        int a= in.nextInt();
       int b= in.nextInt();
       int c= in.nextInt();
       int k= in.nextInt();
      
       while(a>b && k>0) {
          b=b*2;
         k--;
       }
      
       if(k>0 && b>c){
         c= c*2*k;
       }
      
       if(a<b && b<c){
          System.out.println("YES")
       } else 
         System.out.println("NO");

    }
}


Compiler output:
Main.java:24: error: ';' expected
          System.out.println("YES")
                                   ^
1 error
Language: C++

#include<iostream>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  int x;
  cin>>x;
  int count=0;
  
  while(a>=b){
    count++;
    b=b*2;
    }
   while(b>=c){
     count++;
     c=c*2;
   }
  if(count<=x){
    cout<<"Yes"<<endl;
   else{
     cout<<"No"<<endl;
   }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:4: error: expected '}' before 'else'
   20 |    else{
      |    ^~~~
a.cc:18:15: note: to match this '{'
   18 |   if(count<=x){
      |               ^
Language: C++

#include<iostream>
using namespace std;
int main(){
int a,b,c;
  cin>>a>>b>>c;
  if(a/2>=b||b/2>=c) cout<<"NO";
  else{
    if(b>a){
      if(c*2>b) cout<<"YES"<<endl;
      else cout<<"NO"<<endl;
    }
    else if(c>b){
      if(b*2>a) cout<<"YES"<<endl;
        else cout<<"NO"<<endl;
  }
    else cout<<"NO"<<endl;
    
}


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

#include<iostream>
using namespace std;
int main(){
int a,b,c;
  cin>>a>>b>>c;
  if(a/2>=b||b/2>=c) cout<<"NO";
  else{
    if(b>a){
      if(c*2>b) cout<<"YES"<<endl;
      else cout<<"NO"<<endl;
    }
    else if(c>b){
      if(b*2>a) cout<<"YES<<endl;
        else cout<<"NO"<<endl;
  }
    else cout<<"NO"<<endl;
    
}


Compiler output:
a.cc:13:23: warning: missing terminating " character
   13 |       if(b*2>a) cout<<"YES<<endl;
      |                       ^
a.cc:13:23: error: missing terminating " character
   13 |       if(b*2>a) cout<<"YES<<endl;
      |                       ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:14:9: error: expected primary-expression before 'else'
   14 |         else cout<<"NO"<<endl;
      |         ^~~~
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<iostrem>
using namespace std;
int main(){
int a,b,c;
  cin>>a>>b>>c;
  if(a/2>=b||b/2>=c) cout<<"NO";
  else cout<<"YES"<<endl;
}

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

from sys import stdin
input = stdin.readline

a,b,c = map(int, input().split())
k = int(input())

cnt = 0

while a >= b:
    b *= 2
    cnt += 1

while b >= c:
    c *= 2
    cnt += 1

if(cnt <= k):
    print("Yes")
else:
    print("No")

Compiler output:
a.cc:1:1: error: 'from' does not name a type
    1 | from sys import stdin
      | ^~~~
Language: C++

ｖ#include <bits/stdc++.h>

using namespace std;

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

  for(i = 0;i < k;i++){
    if(a > b){
      b *=2;

    }else{
      break;
    }

  }
  for(;i  < k ; i++){
    if(b > c){
      c *=2;
    }else{
      break;
    }

  }

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

}


Compiler output:
a.cc:1:3: error: stray '#' in program
    1 | ｖ#include <bits/stdc++.h>
      |   ^
a.cc:1:1: error: '\U0000ff56' does not name a type
    1 | ｖ#include <bits/stdc++.h>
      | ^~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> a >> b >> c >> k;
      |   ^~~
a.cc:28:5: error: 'cout' was not declared in this scope
   28 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:28:22: error: 'endl' was not declared in this scope
   28 |     cout << "Yes" << endl;
      |                      ^~~~
a.cc:30:5: error: 'cout' was not declared in this scope
   30 |     cout << "No" << endl;
      |     ^~~~
a.cc:30:21: error: 'endl' was not declared in this scope
   30 |     cout << "No" << endl;
      |                     ^~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i,n)for(long long i=0;i<(long long)(n);i++)
#define all(a) a.begin(), a.end()
using namespace std;
typedef long long ll;
typedef unsigned long long ull;
typedef pair<ll, ll> P;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
 
const ll MOD=1e9+7;
const ll INF=1e18;
const int MAX=510000;
const double pi=acos(-1);
int dx[8] = {1,0,-1,0,1,1,-1,-1};
int dy[8] = {0,1,0,-1,-1,1,1,-1};
// int d[13]={0,31,28,31,30,31,30,31,31,30,31,30,31};

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false); 
  
  int a,b,c,k;
  cin >> a >> b >> c >> k;
  bool ok = false;
  rep(x,k+1)rep(y,k+1)rep(z,k+1){
    int na=a*(1<<x),nb=b*(1<<y),nc=c*(1<<z),
    if(x+y+z<=k && na<nb<nc)ok=true;
  }
  if(ok)cout << "Yes" << endl;
  else cout << "No" << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:28:5: error: expected unqualified-id before 'if'
   28 |     if(x+y+z<=k && na<nb<nc)ok=true;
      |     ^~
Language: C++

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


Compiler output:
a.cc:7:5: error: expected unqualified-id before 'while'
    7 |     while(b>=c){c=c*2 , aya++;}
      |     ^~~~~
a.cc:8:3: error: expected unqualified-id before 'if'
    8 |   if(aya>k){
      |   ^~
a.cc:10:4: error: expected unqualified-id before 'else'
   10 |   }else{
      |    ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:31: error: expected ';' before '}' token
    6 |     while(a>=b) b=b*2  , aya++}
      |                               ^
      |                               ;
a.cc: At global scope:
a.cc:7:5: error: expected unqualified-id before 'while'
    7 |     while(b>=c){c=c*2 , aya++}
      |     ^~~~~
a.cc:8:3: error: expected unqualified-id before 'if'
    8 |   if(aya>k){
      |   ^~
a.cc:10:4: error: expected unqualified-id before 'else'
   10 |   }else{
      |    ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

        #include <bits/stdc++.h>
        using namespace std;
        typedef unsigned long long ull;
        typedef long long ll;
        typedef long double ld;
        #define FOR(type,a,b,c,d) for(type i = a;i b c;i += d)
        #define QUICK ios_base::sync_with_stdio(0);cout << fixed;
        #define MOD 1000000007

        string upper(string);
        string lower(string);
        bool isalup(string);
        bool isalow(string);

        int main(){

            int a,b,c,d; w
            cin >> a >> b >> c >> d;
            while(b<=a){
                b *= 2;
                d--;
            }
            while(c<=b){
                c *= 2;
                d--;
            }
            if(d<0)
                cout << "No";
            else

                cout << "Yes";




            return 0;
        }









                    string upper(string a){
                        for(char& c:a){
                            if(islower(c))
                                c -= 32;
                           }
                        return a;
                    }
                        string lower(string a){
                            for(char& c : a){
                                if(isupper(c))
                                    c += 32;
                            }
                            return a;
                        }
                        bool isalup(string a){
                            for(char& c: a){
                                if(islower(c))
                                    return false;
                            }
                            return true;
                        }
                        bool isalow(string a){
                            for(char& c:a){
                                if(isupper(c))
                                    return false;
                            }
                           return true;
                        }


Compiler output:
a.cc: In function 'int main()':
a.cc:17:26: error: 'w' was not declared in this scope
   17 |             int a,b,c,d; w
      |                          ^
Language: C++

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

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:12: error: expected ';' before '}' token
   21 |     count++
      |            ^
      |            ;
   22 |   }
      |   ~
Language: Java

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

Compiler output:
Main.java:8: error: ';' expected
    int b=in.nextInt():
                      ^
Main.java:9: error: ';' expected
    int c=in.nextInt():
                      ^
2 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long int ll;
#define FOR(i,l,r) for(i=l;i<r;i++)
#define REP(i,n) FOR(i,0,n)
#define ALL(x) x.begin(),x.end()
#define P pair<ll,ll>
#define F first
#define S second
signed main(){
  ll A,B,C,K,i;cin>>A>>B>>C>>K;
  REP(i,K){
    if(A<B)C*=2;
    else B*=2;
  }
  if(A<B&&B<C)cout<<"Yes"<<endl;
  else cout<<"No"<<;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:20: error: expected primary-expression before ';' token
   17 |   else cout<<"No"<<;
      |                    ^
Language: C++

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

int main(){
 int a, b, c, k;
  cin >> a >> b >> c >> k;
  int t =0;
  while(a >=b){
    b *= 2;
    t++;
  }
  while(b >= c){
    c * = 2;
    t++;
  }
  

  if(t <= k )){
    cout << "Yes" << endl;
  }
  else{
    cout << "No" << endl;
  }
  }
  
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: expected primary-expression before '=' token
   13 |     c * = 2;
      |         ^
a.cc:18:14: error: expected primary-expression before ')' token
   18 |   if(t <= k )){
      |              ^
a.cc: At global scope:
a.cc:27:1: error: expected declaration before '}' token
   27 | }
      | ^
Language: C++

#include <iostream>
#include <fstream>
#include <cstdio>
#include <cmath>
#include <vector>
#include <string>
#include <set>
#include <map>
#include <stack>
#include <queue>
#include <deque>
#include <bitset>
#include <algorithm>
#include <complex>
#include <array>
#include <functional>
using namespace std;

int main(void){
    ll a, b, c, k;
    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:20:5: error: 'll' was not declared in this scope
   20 |     ll a, b, c, k;
      |     ^~
a.cc:21:12: error: 'a' was not declared in this scope
   21 |     cin >> a >> b >> c >> k;
      |            ^
a.cc:21:17: error: 'b' was not declared in this scope
   21 |     cin >> a >> b >> c >> k;
      |                 ^
a.cc:21:22: error: 'c' was not declared in this scope
   21 |     cin >> a >> b >> c >> k;
      |                      ^
a.cc:21:27: error: 'k' was not declared in this scope
   21 |     cin >> a >> b >> c >> k;
      |                           ^
Language: C

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


void swap (int *x, int *y) {
  int temp;    

  temp = *x;
  *x = *y;
  *y = temp;
}

int gcd(int a,int b){
  if(a<b){
    swap(&a,&b);
  }

  if(b==0){
    return a;
  }

  int r=a%b;
  while(r!=0){
    a = b;
    b = r;
    r = (a%b);
  }

  return b;
}

/* クイックソート */
int dn(const void*a,const void*b){return*(int*)b-*(int*)a;}


int modpow(int a,int n,int mod){
  int ans=1;
  while(n>0){
    if(n & 1){
      ans=ans*a%mod;
    }
    a=a*a%mod;
    n/=2;
  }
  return ans;
}

int max(int a,int b){
  if(a<b){
    return b;
  }
  else{
    return a;
  }
}

int min(int a,int b){
  if(a<b){
    return a;
  }
  else{
    return b;
  }
}

void chmax(int *a,int b){
  if(*a < b){
    *a = b;
  }

  return;
}

void chmin(int *a,int b){
  if(*a > b){
    *a =b;
  }

  return;
}


/****************************************\
| Thank you for viewing my code:)        |
| Written by RedSpica a.k.a. RanseMirage |
| Twitter:@asakaakasaka                  | 
\****************************************/

int main(void){
  int r,g,b;
  scanf("%d%d%d",&r,&g,&b);
  int k;
  scanf("%d",&k);

  int cnt=0;
  while(a>=b){
    b*=2;
    cnt++;
  }
  while(b>=c){
    c*=2;
    cnt++;
  }

  if(cnt<=k){
    printf("Yes\n");
  }
  else{
    printf("No\n");
  }

  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:98:9: error: 'a' undeclared (first use in this function)
   98 |   while(a>=b){
      |         ^
main.c:98:9: note: each undeclared identifier is reported only once for each function it appears in
main.c:102:12: error: 'c' undeclared (first use in this function)
  102 |   while(b>=c){
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:24:23: error: 'k' was not declared in this scope
   24 |    if(A<B&&B<C&&count-k>=0){
      |                       ^
Language: C++

#include <iostream>
using namespace std;
 
int main(){
    int a;
    int b;
    int c;
    int k;
      cin>>a;
      cin>>b;
      cin>>c;
      cin>>k;
 
for(int i=0;i<=k;i++){
    int bn=b*2^(i);
    int cn=c*2^(k-i);
    if (a<bn and bn<cn){
        cout<<"Yes";
        return 0;
    }  
    }
cout<<"No";
}
}

Compiler output:
a.cc:24:1: error: expected declaration before '}' token
   24 | }
      | ^
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();
		boolean jud = false;

//ここまではたぶんあってる
		
		for (int i = 0; i <= K; i++) {
			for (int j = 0; j <= K; j++) {
				for (int k = 0; k <= K; k++) {
					int x = a * i;
					int y = b * j;
					int z = c * k;
					if ((i + j + k <= K && x < y && y < z) jud = true;
				}
			}
		}
		
//ここからもたぶんあってる
		if(jud == true){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
	
	public static boolean judge(double a, double b, double c){
		if((a < b)&&(b < c)){
			return true;
		}else{
			return false;
		}
	}
	
}

Compiler output:
Main.java:19: error: ')' expected
					if ((i + j + k <= K && x < y && y < z) jud = true;
					                                      ^
1 error
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;

//ここまではたぶんあってる
		
		for (int i = 0; i <= K; i++) {
			for (int j = 0; j <= K; j++) {
				for (int k = 0; k <= K; k++) {
					int x = a * i;
					int y = b * j;
					int z = c * k;
					if (judge(x,y,z)) jud = true;
				}
			}
		}
//ここからもたぶんあってる
		if(jud == true){
			System.out.println("Yes");
		}else{
			System.out.println("No");
		}
	}
	
	public static boolean judge(double a, double b, double 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.*;
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();
		boolean jud = false;

//ここまではたぶんあってる
		
		for (int i = 0; i < K; i++) {
			for (int j = 0; j < K; j++) {
				for (int k = 0; k < K; k++) {
					double x = a * Math.pow(2, i);
					double y = b * Math.pow(2, j);
					double z = c * Math.pow(2, k);
					if (judge(x,y,z)) jud = true;
				}
			}
		}
//ここからもたぶんあってる
		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:19: error: incompatible types: possible lossy conversion from double to int
					if (judge(x,y,z)) jud = true;
					          ^
Note: Some messages have been simplified; recompile with -Xdiags:verbose to get full output
1 error
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();
		boolean jud = false;

//ここまではたぶんあってる
		
		for (int i = 0; i < K; i++) {
			for (int j = 0; j < K; j++) {
				for (int k = 0; k < K; k++) {
					int x = a * Math.pow(2, i);
					int y = b * Math.pow(2, j);
					int z = c * Math.pow(2, k);
					if (judge(x,y,z)) jud = true;
				}
			}
		}
//ここからもたぶんあってる
		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:16: error: incompatible types: possible lossy conversion from double to int
					int x = a * Math.pow(2, i);
					          ^
Main.java:17: error: incompatible types: possible lossy conversion from double to int
					int y = b * Math.pow(2, j);
					          ^
Main.java:18: error: incompatible types: possible lossy conversion from double to int
					int z = c * Math.pow(2, k);
					          ^
3 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();
		boolean jud = false;

//ここまではたぶんあってる
		
		for (int i = 0; i <= K; i++) {
			for (int j = 0; j <= K; j++) {
				for (int k = 0; k <= K; k++) {
					int x = a * Math.pow(2, i);
					int y = b * Math.pow(2, j);
					int z = c * Math.pow(2, k);
					if (judge(x,y,z)) jud = true;
				}
			}
		}
//ここからもたぶんあってる
		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:16: error: incompatible types: possible lossy conversion from double to int
					int x = a * Math.pow(2, i);
					          ^
Main.java:17: error: incompatible types: possible lossy conversion from double to int
					int y = b * Math.pow(2, j);
					          ^
Main.java:18: error: incompatible types: possible lossy conversion from double to int
					int z = c * Math.pow(2, k);
					          ^
3 errors
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A,B,C,K; //A:red,B:green,c:blue
  cin >> A >> B >> C >> K;
  
  for (i = 0; i < K; i++) {
    if () {
      A = A * 2;
    }
    else if () {
      B = B * 2;
    }
    else if () {
      C = C * 2;
    }
    
  }
    
  cou
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:8: error: 'i' was not declared in this scope
    8 |   for (i = 0; i < K; i++) {
      |        ^
a.cc:9:9: error: expected primary-expression before ')' token
    9 |     if () {
      |         ^
a.cc:12:14: error: expected primary-expression before ')' token
   12 |     else if () {
      |              ^
a.cc:15:14: error: expected primary-expression before ')' token
   15 |     else if () {
      |              ^
a.cc:21:3: error: 'cou' was not declared in this scope; did you mean 'cos'?
   21 |   cou
      |   ^~~
      |   cos
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 a = 0;
        int b = 0;
        int c = 0;
        for(int i = 1; i < K + 1; i ++){
            int n = A|B|C;
            if(n == A){
                if(i == 1){
                int m = 2 * i * n;
                a = m;
                }
        }
    }
        for(int j = 1; i < K + 1; i ++){
            int s = A|B|C;
            if(n == A){
                if(i == 1){
                int g = 2 * j * s;
                b = g;
                }
        }
    }
        for(int l = 1; i < K + 1; i ++){
            int h = A|B|C;
            if(n == A){
                if(i == 1){
                int y = 2 * l * h;
                c = y;
                }
        }
    }
        if(b > a && c > a){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
}
}

Compiler output:
Main.java:22: error: cannot find symbol
        for(int j = 1; i < K + 1; i ++){
                       ^
  symbol:   variable i
  location: class Main
Main.java:22: error: cannot find symbol
        for(int j = 1; i < K + 1; i ++){
                                  ^
  symbol:   variable i
  location: class Main
Main.java:24: error: cannot find symbol
            if(n == A){
               ^
  symbol:   variable n
  location: class Main
Main.java:25: error: cannot find symbol
                if(i == 1){
                   ^
  symbol:   variable i
  location: class Main
Main.java:31: error: cannot find symbol
        for(int l = 1; i < K + 1; i ++){
                       ^
  symbol:   variable i
  location: class Main
Main.java:31: error: cannot find symbol
        for(int l = 1; i < K + 1; i ++){
                                  ^
  symbol:   variable i
  location: class Main
Main.java:33: error: cannot find symbol
            if(n == A){
               ^
  symbol:   variable n
  location: class Main
Main.java:34: error: cannot find symbol
                if(i == 1){
                   ^
  symbol:   variable i
  location: class Main
8 errors
Language: C++

#include <bits/stdc++.h>
#define ll long long
#define endl "\n"
#define the_flash ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define input_output freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout)

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:16:11: error: 'g' was not declared in this scope
   16 |     while(g <= a)
      |           ^
Language: C++

#include <bits/stdc++.h>
#define ll long long
#define endl "\n"
#define the_flash ios_base::sync_with_stdio(false); cin.tie(0); cout.tie(0)
#define input_output freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout)

using namespace std;

int main()
{
	//input_output;
	the_flash;
	int a, b, c, k;
    int cnt = 0 ;
    cin >> a >> b >> c >> k;
    while(g <= r)
    {
        b *= 2 ;
        cnt++ ;
        if(cnt > k) 
        break ;
    }
    while(c <= b)
    {
        c *= 2 ;
        cnt++ ;
        if(cnt > k) 
			break ;
    }
    if(cnt > k)
    {
        cout <<"No" << endl;
    }
    else 
		cout<<"Yes" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:11: error: 'g' was not declared in this scope
   16 |     while(g <= r)
      |           ^
a.cc:16:16: error: 'r' was not declared in this scope
   16 |     while(g <= r)
      |                ^
Language: C++

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

int main(){
  int A,B,C,K;
  cin >> A >> B >> C >> K;
  if(A < B && A < C && B != C){
    cout << "Yes" << endl;
    return 0;
  }
  rep(i,K){
    if(B >= C){
      C = C * 2;
      continue;
    }
    if(A >= B){
      B = B * 2;
      continue;
    }
    C =　C * 2；
  }
  if(A < B && A < C && B != C){
    cout << "Yes" << endl;
  }else{
    cout << "No" << endl;
  }

}


  

Compiler output:
a.cc:22:8: error: extended character 　 is not valid in an identifier
   22 |     C =　C * 2；
      |        ^
a.cc: In function 'int main()':
a.cc:22:8: error: '\U00003000C' was not declared in this scope
   22 |     C =　C * 2；
      |        ^~~
a.cc:22:14: error: unable to find numeric literal operator 'operator""\U0000ff1b'
   22 |     C =　C * 2；
      |              ^~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define REP(i, n) for (ll i = 0; i < (ll)n; i++)
#define all(x) (x).begin(), (x).end()
#define unique(x) x.erase(unique(x.begin(), x.end()), x.end());
const long long INF = 1LL << 60;
// map<int,int> mp;

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

  if (A >= 6 || B = 7) {
    cout << "No" << endl;
    return 0;
  }

  int count_b = max((A + B) / B, 0);

  int count_c = max((B * count_b + C) / C, 0);

  if (K * 2 >= count_b + count_c) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:14: error: lvalue required as left operand of assignment
   14 |   if (A >= 6 || B = 7) {
      |       ~~~~~~~^~~~
Language: C++

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

#define FAST_INP  ios_base::sync_with_stdio(false);cin.tie(NULL)


int main()  
{ 
    FAST_INP;
    int a,b,c,k;
    cin >> a >> b >> c >> k;
    int ok=0;
    while(k--){
    	// c > b > a
    	if(b<=a) b*=2
    	else if(c<=b) c*=2;
    	else c*=2;
    	
//		printf("%d %d %d\n", a,b,c);
    	if(b>a&&c>b){
//    		cout <<"ok: " << ok << endl;
    		ok^=1;
		}
	}
	if(ok) cout << "Yes\n";
	else cout <<"No\n";
    return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:15:22: error: expected ';' before 'else'
   15 |         if(b<=a) b*=2
      |                      ^
      |                      ;
   16 |         else if(c<=b) c*=2;
      |         ~~~~
Language: C++

a, b, c = map(int, input().split())
k = int(input())

while k:
    k -= 1
    b = b * 2
    if b > a:
        break

while k:
    k -= 1
    c = c * 2
    if c > b:
        break

if(c > b and b > a):
    print("Yes")
else: 
    print("No")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a, b, c = map(int, input().split())
      | ^
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: C++

#include<iostream>
using namespace std;

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

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