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

#include<bits/stdc++.h>
int main(){
  int n;
  cin >> n;
  if(n>=30)
    cout<<"Yes";
  else
    cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin >> n;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     cout<<"Yes";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"No";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
int main(){
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	cout.tie(NULL);
	int x;
	cin>>x;
	if(x>=30)
	cout<<"Yes";
	else
	cout<<"No;
	return 0;
}


Compiler output:
a.cc:13:15: warning: missing terminating " character
   13 |         cout<<"No;
      |               ^
a.cc:13:15: error: missing terminating " character
   13 |         cout<<"No;
      |               ^~~~
a.cc: In function 'int main()':
a.cc:14:9: error: expected primary-expression before 'return'
   14 |         return 0;
      |         ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
     
    int main(){
        int X;
        cin >> X;
        if X>=30{
          cout << "Yes" << endl;
        }
        else {
          cout << "No" << endl;
        }
    }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected '(' before 'X'
    7 |         if X>=30{
      |            ^
      |            (
a.cc:10:9: error: 'else' without a previous 'if'
   10 |         else {
      |         ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
  int x;
  cin>>x;
  if(x>=30){
    cout<<Yes;}
  else{
    cout<<No;}
	// your code goes here
	return 0;
}


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

#include><bits/stdc++.h>
using namespace std;
int main()
{
  int a;
  cin >> a;
  if(a< 30)
  {
    cout << "No" << endl;
  }
  else if(a>=30)
  {
    cout << "Yes" << endl; 
  }
}


Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include><bits/stdc++.h>
      |         ^
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> a;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #include><bits/stdc++.h>
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "No" << endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:21: error: 'endl' was not declared in this scope
    9 |     cout << "No" << endl;
      |                     ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #include><bits/stdc++.h>
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:13:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:22: error: 'endl' was not declared in this scope
   13 |     cout << "Yes" << endl;
      |                      ^~~~
a.cc:13:22: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

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

int main() {
  int x;
  cin >> x;
  if(x <== 30) {
    cout << "Yes" << endl;
  } else {
    cout << "No" << endl;
  }
}

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;

int main() {
  int a;
  if(a<30){
    cout << No << endl;
  }
  else{
    cout << Yes << endl;
  }
}


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

#include <string>
#include <iostream>
#include <vector>
#include <string>
#include <utility>
#include <algorithm>
#include <math.h>

#define MOD 1000000007

using namespace std;
int main() {
	cin.tie(0);
   	ios::sync_with_stdio(false);
 
	int x;
	cin >> x;
　　if(x>=30){cout<<"Yes;"}else{cout<<"No";}
  
}

Compiler output:
a.cc:18:1: error: extended character 　 is not valid in an identifier
   18 | 　　if(x>=30){cout<<"Yes;"}else{cout<<"No";}
      | ^
a.cc:18:1: error: extended character 　 is not valid in an identifier
a.cc: In function 'int main()':
a.cc:18:1: error: '\U00003000\U00003000if' was not declared in this scope
   18 | 　　if(x>=30){cout<<"Yes;"}else{cout<<"No";}
      | ^~~~~~
a.cc:18:28: error: 'else' without a previous 'if'
   18 | 　　if(x>=30){cout<<"Yes;"}else{cout<<"No";}
      |                            ^~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define ll long long int
#define N 100005
#define MOD 1000000007
#define dd double
#define vi vector<int>
#define vll vector<ll>
#define forr(i, n) for(ll i=0;i<n;i++)
#define revf(i,n) for(ll i=n-1;i>=0;i++)
#define REP(i,a,b) for(ll i=a;i<b;i++)
#define rep1(i,b) for(ll i=1;i<=b;i++)
#define inp(a,n) for(ll i=0;i<n;i++)cin>>a[i]
#define outp(a,n) for(ll i=0;i<n;i++)cout<<a[i]<<" "
#define outp1(a,n) for(ll i=1;i<n;i++)cout<<a[i]<<" "
#define gcd(a,b) __gcd((a),(b))
#define lcm(a,b) (((a)*(b))/gcd((a),(b)))
#define pb push_back
#define mp make_pair
#define mem(x,n) memset(x,n,sizeof(x))
#define BINSC binary_search
#define BITOUT __builtin_popcount
#define fast ios_base::sync_with_stdio(false); cin.tie(NULL);
#define test ll t; cin>>t; while(t--)
#define cn cout<<"\n";
int main()
{
     fast;
     int x;
     cin>>x;
     if(x>=30)
     cout<<"Yes";
     else
     cout<<"No";
     cn
}

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;
#define ll long long
#define Mid ((l+r)/2)
#define rep(i,a,b) for(int i=(a);i<=(b);++i)
#define drep(i,a,b) for(int i=(a);i>=(b);--i)
#define file(a) freopen(#a".in","r",stdin),freopen(#a".out","w",stdout);
const int maxn=1e5+5,mod=1e9+7,inf=0x3f3f3f3f;
int n,m,Q,K,T;
int read(){
    int x=0,f=1;char c=getchar();
    while(c<'0'||c>'9'){if(c=='-')f=-1;c=getchar();}
    while(c>='0'&&c<='9'){x=x*10+c-'0';c=getchar();}
    return x*f;
}

signed main(){
    //file(a);
    n=read();
    if(n>=30)puts("Yes");
    else puts("No");


    return 0;
}


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;

typedef long long ll;
#define pb push_back

// int gcd(int a, int b) {   if (b == 0) return a; return gcd(b, a % b);  }
// int lcm(int a,int b){return a/gcd(a,b)*b;}

int main(){
    int x;
    cin>>t;
    if(x>=30) cout<<"Yes";
    else cout<<"No";
    return 0;
}


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

#include<bits/stdc++.h>
int main(){
int x;
  cin>>x;
  if(x>30)cout<<"Yes";
  else cout<<"No";return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>x;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:5:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   if(x>30)cout<<"Yes";
      |           ^~~~
      |           std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   else cout<<"No";return 0;}
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

int main(){
  int n;
  cin>>n;
  if(n<30){
    cout<<"No";
  }else{
    cout<<"Yes";
  }
}

Compiler output:
a.cc: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 x=0;
      cin>>X;
      if(x>=30){
        cout<<"Yes"<<endl;
      }
      else{
        cout<<"No"<<endl;
      }
  }


Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'X' was not declared in this scope
    6 |       cin>>X;
      |            ^
Language: Java

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

public class forces {

    public static void main(String[] args) {
        FastReader rv = new FastReader();
        int x;
        x=rv.nextInt();
        if(x>=30)
            System.out.println("Yes");
        else
            System.out.println("No");

    }



    static class FastReader {
        BufferedReader br;
        StringTokenizer st;

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

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

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

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

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

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

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

#pragma optimization_level 3
#pragma GCC optimize("Ofast,no-stack-protector,unroll-loops,fast-math,O3")
#pragma GCC target("sse,sse2,sse3,ssse3,sse4,popcnt,abm,mmx,avx")
#include<bits/stdc++.h>

using namespace std;
 
#define  GODSPEED       ios:: sync_with_stdio(0);cin.tie(0);cout.tie(0);cout<<fixed;cout<<setprecision(15);
#define  f              first                 
#define  s              second
#define  newl           cout<<"\n";
#define  pb             push_back  
#define  mset(a,x)      memset(a,x,sizeof(a))
#define  debv(a)        for(auto it: a)cout<<it<<" ";newl;
#define  deb1(a)        cout<<a<<"\n";
#define  deb2(a,b)      cout<<a<<" "<<b<<"\n";
#define  deb3(a,b,c)    cout<<a<<" "<<b<<" "<<c<<"\n";
#define  deb4(a,b,c,d)  cout<<a<<" "<<b<<" "<<c<<" "<<d<<"\n";
#define  uniq(a)        a.resize(unique(a.begin(), a.end()) - a.begin());
#define  all(a)         a.begin(),a.end()           
 
typedef  long long             ll;
typedef  long double           ld;
typedef  pair<ll,ll>           pll;
typedef  vector<ll>            vll;
typedef  vector<pll>           vpll;

const ll   N     =  1e6+5;
const ll   mod   =  1e9;
const ll   INF   =  0x7f7f7f7f7f7f7f7f;
const int  INFi  =  0x7f7f7f7f;

ll test = 1, n;

void solve(){
	cin >> n;
	if(x >= 30) deb1("Yes")
	else deb1("No")
}

int main(){
	GODSPEED;
	//cin>>test;
	for(int i = 1; i <= test; i++){
		solve();
	}
	#ifndef ONLINE_JUDGE
	cout<<"\nTime Elapsed: " << 1.0*clock() / CLOCKS_PER_SEC << " sec\n";
	#endif
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:37:12: error: 'x' was not declared in this scope
   37 |         if(x >= 30) deb1("Yes")
      |            ^
Language: Java

import java.io.*;
class Main {
    public static void main(String args[]){
        BufferedReader br = new BufferedReader (new InputStreamReader (System.in));
        int a = Integer.parseInt(br.readLine());
        if(a>=30){
            System.out.println("Yes");
        }
        else{
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
        int a = Integer.parseInt(br.readLine());
                                            ^
1 error
Language: C++

#include <stdio.h>

int main()
{
	int n;
	cin>>n;
	if(n>=30) return 1;
    return 0;
}

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

#include<iostram>
using namespace std;
int main()
{
long long n;
  cin>>n;
  if(n>=30)
    cout<<"Yes";
  else
    cout<<"No";

}

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

//#define _GLIBCXX_DEBUG//実行時、何も出なかったらこれを使う
#include<iostream>
#include<algorithm>
#include<vector>
#include<string>
#include<cmath>
#include<queue>
#include<stack>
#include<map>
#include<numeric>
#include<climits>

using namespace std;

#define rep(i, n) for (int i = 0; i < (int)(n); i++)

template <class A, class B> inline bool chmax(A &a, const B &b) { return b > a && (a = b, true); }
template <class A, class B> inline bool chmin(A &a, const B &b) { return b < a && (a = b, true); }

int dy[] = {1,0,-1,0,1,-1,-1,1}; //次に行くところ
int dx[] = {0,1,0,-1,1,1,-1,-1}; //上に同じ



int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int x;
  cin >> x;
  if (x >= 30){
    cout << "Yes\n";
  }else
  {
    cout << "No\n"
  }
  
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:19: error: expected ';' before '}' token
   34 |     cout << "No\n"
      |                   ^
      |                   ;
   35 |   }
      |   ~
Language: C++

#include <bits/stdc++.h>

#define FAST ios_base::sync_with_stdio(false);cin.tie(NULL);cout.tie(NULL)
#define PI acos(-1.0)
#define sq(n) (n)*(n)

using namespace std;
typedef long long ll;

int main() {
    FAST;

    int t, ti = 1;
    cin >> t;

    while (t--) {
            ll n;
            cin>>n;
            if(n==30)
            {
                cout<<"Yes"<<endl;
            }
            else
            {
                cout<<"No"<<endl;
            }


    return 0;
}





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

temp = int(input())
if temp>=30:  print('Yes')
else: print('No')


Compiler output:
a.cc:2:21: warning: multi-character character constant [-Wmultichar]
    2 | if temp>=30:  print('Yes')
      |                     ^~~~~
a.cc:3:13: warning: multi-character character constant [-Wmultichar]
    3 | else: print('No')
      |             ^~~~
a.cc:1:1: error: 'temp' does not name a type
    1 | temp = int(input())
      | ^~~~
Language: C++

#include<iostream>
using namespace std;

int main()
{   
    int n;
    cin>>a;

    if(a>=30)
        cout<<"Yes";
    else
        cout<<"No";
    
    return 0;
}

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

#include <iostream>

int main() {
  std::cin >> X;

  if (X >= 30) std::cout << "Yes" << std::endl;
  else std::cout << "No" << std::endl;

  return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int n;
  if(n >= 30{
    cout<<"Yes";
  }else{
    cout<<"No";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: expected ')' before '{' token
    5 |   if(n >= 30{
      |     ~       ^
      |             )
a.cc:10:2: error: expected statement at end of input
   10 | }
      |  ^
a.cc:10:2: error: expected '}' at end of input
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C


/*
	*	Created By: 'Present_Sir'
	*	Created On: Sunday 02 August 2020 05:28:16 PM IST
*/

#include<bits/stdc++.h>
#define IOS ios_base::sync_with_stdio(false); cin.tie(NULL)
#define int long long
using namespace std;


void solve(){
    int a;
    cin>>a;
    if(a<30){
        cout<<"No"<<endl;
    }else{
        cout<<"Yes"<<endl;
    }
}

int32_t main(){
    IOS;
    //int t; cin>>t; while(t--)
    {
        solve();
    }
    return 0;
}



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

#include <bits/stdc++.h>
#define REP(i,a,b) for(int i=(a); i<=(b); i++)
#define f first
#define s second
#define mp make_pair
#define pb push_back
using namespace std;

typedef long long ll;

signed main(){
    ios::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    int n;
    cin >> n;
    cout << (n>=30:"Yes":"No");
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:19: error: expected ')' before ':' token
   17 |     cout << (n>=30:"Yes":"No");
      |             ~     ^
      |                   )
Language: C++

#include<bits/stdc++.h>
const int M = 1e9 + 7;
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
#define ll long long int
#define vi vector
#define f(i,n) for(int i=0;i<n;++i)
#define endl "\n"
using namespace std;

//vector<ll> adj[1000001];
//int vis[1000001]; 
//
//int dfs(int node){
//	vis[node]=1;
//	for(int child: adj[node]){
//		if(!vis[child])
//		dfs(child);
//	}
//}


void solve()
{	
	int c; cin>>c;
	if(c>=30) cout<<"Yes"<<"\n"; else cout<<"No"<<"\n";
}

int main(void)
{
    fast;
//	ll t;
//	cin>>t;
//    while(t--)
        solve();
}
25
  

Compiler output:
a.cc:36:1: error: expected unqualified-id before numeric constant
   36 | 25
      | ^~
Language: C++

#include <bits/stdc++.h>
#include <algorithm>
#include <eigen3/Eigen/Dense>
using namespace std;
using namespace Eigen;
typedef long long ll;
typedef long double ld;
typedef pair<ll, ll> l_l;
typedef pair<int, int> i_i;
typedef vector<ll> vl;
typedef vector<int> vi;
typedef vector<char> vec;
typedef vector<bool> veb;
typedef vector<string> ves;
typedef vector<vector<ll>> vvl;
typedef vector<vector<int>> vvi;
typedef vector<vector<char>> vvec;
typedef vector<vector<bool>> vveb;
typedef vector<vector<string>> vves;
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define rep1(i,n) for(int i=1;i<(int)(n);i++)
#define rep2(i,n) for(int i=2;i<(int)(n);i++)
#define repk(i,k,n) for(int i=k;i<(int)(n);i++)
#define rev(v) reverse(v.begin(), v.end())
#define fs first
#define sc second
#define pb push_back
#define pp pop_back
#define all(a) a.begin(),a.end()
#define rall(a) a.rbegin(),a.rend()
#define maxel(a) *max_element(all(a))
#define minel(a) *min_element(all(a))
#define acc accumulate
#define EPS (1e-7)
#define INF (1e9)
#define PI (acos(-1))
#define mod (1000000007)
typedef long long int64;
//const int64 INF = 1LL << 58;
#define dame { puts("-1"); return 0;}
#define YES { cout << "YES" << endl; return 0; }
#define NO { cout << "NO" << endl; return 0; }
#define Yes { cout << "Yes" << endl; return 0; }
#define No { cout << "No" << endl; return 0; }
#define uniq(a) sort(all(a));(a).resize(unique(all(a)) - a.begin());
#define dab(v) for(auto i:v) cout << i << ' ' << endl;
#define vin(v) for (ll i = 0; i < v.size(); ++i) cin >> v[i];
#define vin2(v, w) for (ll i = 0; i < v.size(); ++i) cin >> v[i] >> w[i];
template<class T> bool chmax(T& a, const T& b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> bool chmin(T& a, const T& b) { if (a > b) { a = b; return 1; } return 0; }
int dx[] = { 0, 0, -1, 1 };
int dy[] = { 1, -1, 0, 0 };
int gcd(int a, int b) { if (a % b == 0) { return(b); } else { return(gcd(b, a % b)); } }


int main() {
	cin.tie(0);
	ios::sync_with_stdio(false);
	//cout << fixed << setprecision(18);
	int X;
	cin >> X;
	if(X >=30){
		Yes;
	}
	else{
		No;
	}
	
}

Compiler output:
a.cc:3:10: fatal error: eigen3/Eigen/Dense: No such file or directory
    3 | #include <eigen3/Eigen/Dense>
      |          ^~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<bits/stdc++.h>
#define int long long int
#define endl "\n"
#define arrinp(v) for(auto &i:v) cin>>i;
#define arrout(v) for(auto &i:v) cout<<i<<" ";
#define newline cout<<endl;
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 n;
        cin>>n;
        if(x>=30){
            cout<<"Yes"<<endl;
        }
        else{
            cout<<"No"<<endl;
        }
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:12: error: 'x' was not declared in this scope
   21 |         if(x>=30){
      |            ^
Language: Java

import java.io.BufferedReader; 
import java.io.*;
import java.io.InputStreamReader; 
import java.util.Scanner; 
import java.util.StringTokenizer; 
import java.util.*;
import java.math.*;
public class Main 
{ 
    static class FastReader 
    { 
        BufferedReader br; 
        StringTokenizer st; 
  
        public FastReader()
        { 
            br = new BufferedReader(new
                     InputStreamReader(System.in)); 
        } 
  
        String next()
        { 
            while (st == null || !st.hasMoreElements()) 
            { 
                try
                { 
                    st = new StringTokenizer(br.readLine()); 
                } 
                catch (IOException  e) 
                { 
                    e.printStackTrace(); 
                } 
            } 
            return st.nextToken(); 
        } 
  
        int nextInt() 
        { 
            return Integer.parseInt(next()); 
        } 
  
        long nextLong() 
        { 
            return Long.parseLong(next()); 
        } 
  
        double nextDouble() 
        { 
            return Double.parseDouble(next()); 
        } 
  
        String nextLine() 
        { 
            String str = ""; 
            try
            { 
                str = br.readLine();
            } 
            catch (IOException e) 
            { 
                e.printStackTrace(); 
            } 
            return str; 
        } 
    } 
   public static void main(String args[])
    {
        FastReader sc=new FastReader();
        PrintWriter pw=new PrintWriter(System.out);
        int t=1;//sc.nextInt();
        long ans=0,mod=1000000007;
        while(t-->0)
        {
         int n=sc.nextInt(),d=0;
         if(n>=30) pw.println("No");
         else pw.println("Yes")
        }
           pw.close();
    }
}
  

Compiler output:
Main.java:76: error: ';' expected
         else pw.println("Yes")
                               ^
1 error
Language: Java

package atcoder.beginner_174;

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

public class _A {

    public static void main (String[] args) throws Exception {

        String s = "2";

//        br = new BufferedReader(new StringReader(s));
        br = new BufferedReader(new InputStreamReader(System.in));
        bw = new BufferedWriter(new OutputStreamWriter(System.out));

        rl(); int x=nin();


        bw.write(x>=30?"Yes":"No");
        bw.newLine();
        bw.flush();

    }

    static BufferedReader br;
    static BufferedWriter bw;
    static StringTokenizer st;
    static void rl() throws Exception{
        st = new StringTokenizer(br.readLine());
    }
    static long nlo(){
        return Long.parseLong(st.nextToken());
    }
    static int nin(){
        return Integer.parseInt(st.nextToken());
    }
    /*private static void te(){
      }*/
    static double ndo(){
        return Double.parseDouble(st.nextToken());
    }
    static char[] nca(){
        return st.nextToken().toCharArray();
    }
    static String nstr(){
        return st.nextToken();
    }
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
cin>>n;
if(n>=30)
cout<<"Yes"<<endl;
else
cout<<"No"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:6: error: 'n' was not declared in this scope; did you mean 'yn'?
    4 | cin>>n;
      |      ^
      |      yn
Language: Java


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

public class Main 

{ 

	 static FastReader sc=new FastReader(); 
	  public static void main(String[] args) 
    {
    	int t = i();
       if(t>=30){
         System.out.println("Yes");
         else
            System.out.println("No");
		  
    }
      	
        	
			
	
	
		
   static void input(int A[]) {
	   for(int i=0;i<A.length;i++) {
		   A[i]=sc.nextInt();
	   }
   }
     static int i() {
    	 return sc.nextInt();
     }
     static String s() {
    	 return sc.next();
     }
     static long l() {
    	 return sc.nextLong();
     }  
        static void shuffleArray(int[] arr){
        int n = arr.length;
        Random rnd = new Random();
        for(int i=0; i<n; ++i){
            int tmp = arr[i];
            int randomPos = i + rnd.nextInt(n-i);
            arr[i] = arr[randomPos];
            arr[randomPos] = tmp;
        }   
}
  
        
        
    static class FastReader 
    { 
        BufferedReader br; 
        StringTokenizer st; 
  
        public FastReader() 
        { 
            br = new BufferedReader(new
                     InputStreamReader(System.in)); 
        } 
  
        String next() 
        { 
            while (st == null || !st.hasMoreElements()) 
            { 
                try
                { 
                    st = new StringTokenizer(br.readLine()); 
                } 
                catch (IOException  e) 
                { 
                    e.printStackTrace(); 
                } 
            } 
            return st.nextToken(); 
        } 
  
        int nextInt() 
        { 
            return Integer.parseInt(next()); 
        } 
  
        long nextLong() 
        { 
            return Long.parseLong(next()); 
        } 
  
        double nextDouble() 
        { 
            return Double.parseDouble(next()); 
        } 
  
        String nextLine() 
        { 
            String str = ""; 
            try
            { 
                str = br.readLine(); 
            } 
            catch (IOException e) 
            { 
                e.printStackTrace(); 
            } 
            return str; 
        } 
    } 
} 



Compiler output:
Main.java:15: error: 'else' without 'if'
         else
         ^
Main.java:25: error: illegal start of expression
   static void input(int A[]) {
   ^
2 errors
Language: Java


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

public class Main {
	
	public static class FastReader {
		 
		private InputStream stream;
		private byte[] buf = new byte[4096];
		private int curChar, snumChars;
 
		public FastReader(InputStream stream) {
			this.stream = stream;
		}
 
		public int read() {
			if (snumChars == -1) {
				throw new InputMismatchException();
			}
			if (curChar >= snumChars) {
				curChar = 0;
				try {
					snumChars = stream.read(buf);
				} catch (IOException E) {
					throw new InputMismatchException();
				}
			}
			if (snumChars <= 0) {
				return -1;
			}
			return buf[curChar++];
		}
 
		public int nextInt() {
			int c = read();
			while (isSpaceChar(c)) {
				c = read();
			}
			int sgn = 1;
			if (c == '-') {
				sgn = -1;
				c = read();
			}
			int number = 0;
			do {
				number *= 10;
				number += c - '0';
				c = read();
			} while (!isSpaceChar(c));
			return number * sgn;
		}
 
		public long nextLong() {
			int c = read();
			while (isSpaceChar(c)) {
				c = read();
			}
			long sgn = 1;
			if (c == '-') {
				sgn = -1;
				c = read();
			}
			long number = 0;
			do {
				number *= 10L;
				number += (long) (c - '0');
				c = read();
			} while (!isSpaceChar(c));
			return number * sgn;
		}
 
		public int[] nextIntArray(int n) {
			int[] arr = new int[n];
			for (int i = 0; i < n; i++) {
				arr[i] = this.nextInt();
			}
			return arr;
		}
 
		public long[] nextLongArray(int n) {
			long[] arr = new long[n];
			for (int i = 0; i < n; i++) {
				arr[i] = this.nextLong();
			}
			return arr;
		}
 
		public String next() {
			int c = read();
			while (isSpaceChar(c)) {
				c = read();
			}
			StringBuilder res = new StringBuilder();
			do {
				res.appendCodePoint(c);
				c = read();
			} while (!isSpaceChar(c));
			return res.toString();
		}
 
		public String nextLine() {
			int c = read();
			while (isSpaceChar(c)) {
				c = read();
			}
			StringBuilder res = new StringBuilder();
			do {
				res.appendCodePoint(c);
				c = read();
			} while (!isEndofLine(c));
			return res.toString();
		}
 
		public boolean isSpaceChar(int c) {
			return c == ' ' || c == '\n' || c == '\r' || c == '\t' || c == -1;
		}
 
		public boolean isEndofLine(int c) {
			return c == '\n' || c == '\r' || c == -1;
		}
 
	}
 
	public static FastReader sc;
	public static PrintWriter out;
	public static void main(String[] args) {
		new Thread(null, null, "Thread", 1 << 28) {
			public void run() {
				try {
					out = new PrintWriter(new BufferedOutputStream(System.out));
					sc = new FastReader(System.in);
					new Solution().solve();
					out.close();
				} catch (Exception e) {
					e.printStackTrace();
					System.exit(1);
				}
			}
		}.start();
	}

	public void solve() {
		int x = sc.nextInt();
		out.print(x>=30 ? "Yes" : "No");
		
		
	}
	 
	
}


Compiler output:
Main.java:133: error: cannot find symbol
					new Solution().solve();
					    ^
  symbol: class Solution
1 error
Language: C++

#include <iostream>
using namespace std;
int main(){
    int x; cin>>x;
    cout<<(x >= 30 ? : "YES" : "NO");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:20: error: operands to '?:' have different types 'bool' and 'const char*'
    5 |     cout<<(x >= 30 ? : "YES" : "NO");
      |            ~~~~~~~~^~~~~~~~~
a.cc:5:29: error: expected ')' before ':' token
    5 |     cout<<(x >= 30 ? : "YES" : "NO");
      |           ~                 ^~
      |                             )
Language: C++

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

int main() {
  int N;
  cin >> N;
  if (N >= 30)
    cout << Yes << endl;
  else if (N < 30)
    cout << No << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'Yes' was not declared in this scope
    8 |     cout << Yes << endl;
      |             ^~~
a.cc:10:13: error: 'No' was not declared in this scope; did you mean 'N'?
   10 |     cout << No << endl;
      |             ^~
      |             N
Language: C++

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

typedef long long ll 


# define ll long long 
# define VI vector<int>
# define VLL vector<ll>
# define PII pair<int,int> 
# define mp make_pair
# define pb push_back
# define PI acos(-1)
# define double long double
const int MxN = 200001 ; 
# define FOR(i,a,b) for(int i = a ; i < b ; ++i)
# define RFOR(i,a,b) for(int i = a ; i >= b ; --i)
const int MOD = 1e9 + 7 ; 

/* VARIABLES */
int n , k ; 
VI a(MxN) ; 
int dp[MxN][3] ; 
/* END OF VARIABLES */



int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL) ;  

	cin >> n  ; 
	if(n == 30)
		cout << "Yes";
	else 
		cout << "No" ; 

	
	
	return 0 ; 
}



Compiler output:
a.cc:15:1: error: expected initializer before 'const'
   15 | const int MxN = 200001 ;
      | ^~~~~
a.cc:22:6: error: 'MxN' was not declared in this scope
   22 | VI a(MxN) ;
      |      ^~~
a.cc:23:8: error: 'MxN' was not declared in this scope
   23 | int dp[MxN][3] ;
      |        ^~~
Language: C++

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

#pragma GCC optimize("O2")

#define pb push_back
#define mp make_pair
#define ll long long
#define FOR(i, a, b) for(int i = (a); i < (b); i++)
#define REFOR(i, a, b) for(int i = (a); i > (b); i--)

int main()
{
    ios_base::sync_with_stdio(false), cin.tie(0);
    int x;
    cin >> x
    if(x >= 30) cout << "Yes\n";
    else cout << "No\n";

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:16:13: error: expected ';' before 'if'
   16 |     cin >> x
      |             ^
      |             ;
   17 |     if(x >= 30) cout << "Yes\n";
      |     ~~       
a.cc:18:5: error: 'else' without a previous 'if'
   18 |     else cout << "No\n";
      |     ^~~~
Language: C++

#include <iostream>
using namespace std;

int main() {
  int x;
  cin>>x;
  if(x>=30){
    cout<<"Yes\n";
   else
     cout<<"No\n"
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:4: error: expected '}' before 'else'
    9 |    else
      |    ^~~~
a.cc:7:12: note: to match this '{'
    7 |   if(x>=30){
      |            ^
a.cc:10:18: error: expected ';' before 'return'
   10 |      cout<<"No\n"
      |                  ^
      |                  ;
   11 |     return 0;
      |     ~~~~~~
Language: C++

#include <iostream>

int main() {
  	int temp;
  	cin>>temp;
  	if(temp>=30)
    	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; did you mean 'std::cin'?
    5 |         cin>>temp;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout<<"Yes";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout<<"No";
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>
#include<iostream>
using namespace std;
 
int main() {
    int a,b,c,d,ans,tmp;
    string s;
 
    a = b = c = d = ans = tmp = 0;
    //vector<int>a();

    cin >> a;
    if(a >=#0){
        cout << "Yes";
    }else{
        cout << "No";
    }

}


Compiler output:
a.cc:13:12: error: stray '#' in program
   13 |     if(a >=#0){
      |            ^
Language: C++

#include <bits/stdc++.h>
#define ll long long
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define min_3(a,b,c) min(a,min(b,c))
#define max_3(a,b,c) max(a,max(b,c))
#define nout(ans) cout << (ans) << "\n"
#define sout(ans) cout << (ans) << " "
using namespace std;

const double pi = 3.14159265359;
const ll INF = 1e12;
const ll MOD = 1e9 + 7;
const ll N = 1e5 + 5; 
/*
Decimal Places: cout << fixed << setprecision(n) << ans << endl
*/

bool compare(const pair<int, int>&i, const pair<int, int>&j)
{
    return i.second < j.second;
}

ll raise(ll a, ll b) {
    ll res = 1;
    while (b > 0) {
        if (b & 1)
            res = res * a;
        a = a * a;
        b >>= 1;
    }
    return res;
}


int n;

void solve()
{
    cin >> n;
    if (x>=30) nout("Yes");
    else nout("No");
}

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL); cout.tie(NULL);
    int t = 1;
    //cin >> t;
    for (int i=1; i<=t; i++)
    {
        solve();
    }
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:42:9: error: 'x' was not declared in this scope
   42 |     if (x>=30) nout("Yes");
      |         ^
Language: C++

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

int main(){
    int n;
    cin>>n;
    if(n>=30)puts("Yes");
    else put("No");
    return 0;




}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:10: error: 'put' was not declared in this scope; did you mean 'putw'?
    9 |     else put("No");
      |          ^~~
      |          putw
Language: C++

#include <stdio.h>
#include <iostream>
#include <algorithm>
#include <bits/stdc++.h>

using namespace std;
using ll = long long;
ll gcd(ll a, ll b);
int main(){
cin.tie(0);
int x;
  ci>>x;
  if(x>=30)cout <<"Yes";
  else cout<<"No";

return 0;
}






ll gcd(ll a, ll b){

   if (a%b == 0)
   {
       return(b);
   }
   else
   {
       return(gcd(b, a%b));
   }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: 'ci' was not declared in this scope
   12 |   ci>>x;
      |   ^~
Language: C++

int main() {
    int x;
    cin >> x;
    if(x >= 30) {
        cout << "Yes" << endl;
    } else {
        cout << "No" << endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:5: error: 'cin' was not declared in this scope
    3 |     cin >> x;
      |     ^~~
a.cc:5:9: error: 'cout' was not declared in this scope
    5 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:5:26: error: 'endl' was not declared in this scope
    5 |         cout << "Yes" << endl;
      |                          ^~~~
a.cc:7:9: error: 'cout' was not declared in this scope
    7 |         cout << "No" << endl;
      |         ^~~~
a.cc:7:25: error: 'endl' was not declared in this scope
    7 |         cout << "No" << endl;
      |                         ^~~~
Language: C

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

#define MAX(x,y)	((x)>(y)?(x):(y))
#define MIN(x,y)	((x)<(y)?(x):(y))
#define MAX3(x,y,z)	((x)>(MAX(y,z)) ? (x):(MAX(y,z)))
#define MIN3(x,y,z)	((x)<(MIN(y,z)) ? (x):(MIN(y,z)))
#define ABS(x)		((x)<0 ? -(x):(x))
#define M0(x)       memset(x, 0x00, sizeof(x))

typedef long long ll;

int main(){
    int x;
    scanf("%d", &x);
    if( x >= 30 ){ printf("Yes\n"); }
    else{ printf("No"\n); }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:19:22: error: stray '\' in program
   19 |     else{ printf("No"\n); }
      |                      ^
main.c:19:22: error: expected ')' before 'n'
   19 |     else{ printf("No"\n); }
      |                 ~    ^~
      |                      )
Language: C++

//
// Created by yozaam on 23/06/20.
//

//
// Created by yozaam on 12/06/20.
//

//
// Created by yozaam on 04/06/20.
//



/********   All Required Header Files ********/
#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#include <utility>
#include <limits>
#include <time.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
#include <unordered_map>
#include <unordered_set>

typedef int ll;



using namespace std;


int cnt = 0;


inline void pre(string& a ,int p ){
    reverse(a.begin() , a.begin() + p);
    for(int i  = 0 ; i < p ; i++){
        if(a[i] == '0'){
            a[i] = '1';
        }else a[i] = '0';
    }

}


void setter(string& a , string& b , int n ,vector<int> & flips){
    

    // cout<<" a,b "<<a<<"\t"<<b;

    if(n ==0)return ;
    //flipp n bits!

    if(a[n-1] == b[n-1]){
        //no flip needed
        setter(a,b,n-1 , flips);
        // cout<<" skipper";
        // cout<<"\n";
        return ;
    }else if(a[0] != b[n-1]){
        // cout<<"\n";
        //call on whole array
        flips.push_back(n);
        pre(a, n);//nice
        setter(a,b,n-1,flips);
        return ;
    }else if(a[0] == b[n-1]){
        // cout<<"\n";
        flips.push_back(1); //reverse first guy!
        pre(a,n);
        flips.push_back(n);
        pre(a, n);//nice
        setter(a,b,n-1,flips);
        return ;
    }
    
}



int main() {
    // your code goes here
    int x ; 
  	cin>>x;
  
  	if(x>29)cout<<"Yes";else cout<<"No";
    }
    return 0;
}
//
// Created by yozaam on 13/06/20.
//



Compiler output:
a.cc:105:5: error: expected unqualified-id before 'return'
  105 |     return 0;
      |     ^~~~~~
a.cc:106:1: error: expected declaration before '}' token
  106 | }
      | ^
Language: C++

#include <bits/stdc++.h>
 
using namespace std;
#define rep(i,a,b)    for(int i=a;i<b;i++)
#define repn(i,a,b)   for(int i=a;i>=b;i--)
#define ll long long
#define ld long double
#define F first
#define S second
#define pii pair<int,int>
#define vi vector<ll>
#define vii vector<pii>
#define pb push_back
#define mp  make_pair
#define all(v) (v).begin(), (v).end()
#define sz(a) ll(a.size())

#define pb push_back
#define mp make_pair
#define SPEED ios::sync_with_stdio(false); cin.tie(0); cout.tie(0)
ll INF = 1e6;

void solve()
{
    ll n, k,z;
    cin>>n;
    if(n>=30)
        cout<<"Yes";
    else
        cout<<"No";
        

 
int main()
{
    SPEED;
    ll t = 1;
    //cin>>t;
    while(t--) solve();
    return 0;
}



Compiler output:
a.cc: In function 'void solve()':
a.cc:34:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   34 | int main()
      |         ^~
a.cc:34:9: note: remove parentheses to default-initialize a variable
   34 | int main()
      |         ^~
      |         --
a.cc:34:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:35:1: error: a function-definition is not allowed here before '{' token
   35 | {
      | ^
a.cc:41:2: error: expected '}' at end of input
   41 | }
      |  ^
a.cc:24:1: note: to match this '{'
   24 | {
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int N;
  cin >> N;
  
 　if (N >= 30){
    cout << "Yes" << endl;
  }
  else {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc:8:2: error: extended character 　 is not valid in an identifier
    8 |  　if (N >= 30){
      |  ^
a.cc: In function 'int main()':
a.cc:8:2: error: '\U00003000if' was not declared in this scope
    8 |  　if (N >= 30){
      |  ^~~~
a.cc:11:3: error: 'else' without a previous 'if'
   11 |   else {
      |   ^~~~
Language: C++

#include <bits/stdc++.h>

const int mod=1e9+7;
const int inf=0x3f3f3f3f;

typedef long long ll;

int a[N];

int main()
{
    int n;cin>>n;
    if(n>=30) puts("Yes");
    else puts("No");
}

Compiler output:
a.cc:8:7: error: 'N' was not declared in this scope
    8 | int a[N];
      |       ^
a.cc: In function 'int main()':
a.cc:12:11: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   12 |     int n;cin>>n;
      |           ^~~
      |           std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

//*******Abhijit Burman***********//
//Jalpaiguri Government Engineering College//

// Taken From Striver_79
// Never open a ranklist untill and unless you are done with solving problems, wastes 3/4 minuts 
// Donot treat CP as a placement thing, love it and enjoy it, you will succeed for sure. 


#include<bits/stdc++.h>
using namespace std;
#define ll long long int
#define pb push_back
#define ff first
#define ss second
#define mk make_pair
#define MAXX (1000000000000000000+7)
#define mod 1000000007
#define fio ios_base::sync_with_stdio(0);cin.tie(NULL);cout.tie(NULL)
ll dx1[] = {1, 1, 0, -1, -1, -1, 0, 1};
ll dy1[] = {0, 1, 1, 1, 0, -1, -1, -1};

ll dx2[] = {1, 0, -1, 0};
ll dy2[] = {0, 1, 0, -1};

ll mul(ll a, ll b, ll p = mod) {return ((a % p) * (b % p)) % p;}
ll add(ll a, ll b, ll p = mod) {return (a % p + b % p) % p;}
ll power(ll x,ll y,ll p = mod) 
{ 
    ll res = 1;
    x = x % p;
    while (y > 0) 
    {
        if (y & 1) 
            res = (res*x) % p;
        y = y>>1; // y = y/2 
        x = (x*x) % p; 
    } 
    return res; 
} 
ll modInverse(ll n, ll p = mod)
{
    return power(n, p - 2, p);
}
ll ncrMod(ll n, ll r, ll p = mod)
{
    if (r == 0)
        return 1;
    ll fac[n + 1];
    fac[0] = 1;
    for (ll i = 1 ; i <= n; i++)
        fac[i] = fac[i - 1] * i % p;
    return (fac[n] * modInverse(fac[r], p) % p *
            modInverse(fac[n - r], p) % p) % p;
}
// a+b=xor(a,b)+2*(a&b)//

bool isPrime(ll n){
    for(int i=2;i*i<=n;i++){
        if(n%i==0){
            return false;
        }
    }
    return true;
}


void solve()
{
    ll n;
    cin>>n;
    
    cout<<(n>=30:"Yes":"No")<<endl;
}


int main()
{
	fio;
// 	#ifndef ONLINE_JUDGE
//     // for getting input from input.txt
//     freopen("input.txt", "r", stdin);
//     // for writing output to output.txt
//     freopen("output.txt", "w", stdout);
// 	#endif
 

	ll t=1;
// 	cin>>t;
	while(t--)
	{
		solve();
	}
	return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:72:17: error: expected ')' before ':' token
   72 |     cout<<(n>=30:"Yes":"No")<<endl;
      |           ~     ^
      |                 )
Language: C++

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

int main() {
	int n;
	cin >> n;
	if ( n>=30) cout << "Yes";
	else cout << "No";
	return 0;


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

#include<bits//stdc++.h>
using namespace std;]
#define rep(i,n) for(int i =0;i <n;i++)
typedef long long int ll;
int main(){
  int n;string s;cin >>n;
  vector<int> a;
  if(x>=30) cout << "Yes" << endl;
  else cout << "No" << endl;
 }

Compiler output:
a.cc:2:21: error: expected unqualified-id before ']' token
    2 | using namespace std;]
      |                     ^
a.cc: In function 'int main()':
a.cc:8:6: error: 'x' was not declared in this scope
    8 |   if(x>=30) cout << "Yes" << endl;
      |      ^
Language: C++

// In the name of god
#include <bits/stdC++.h>
#pragma GCC optimze("02")
#define F first
#define S second
#define pb push_back
#define p push
using namespace std;
using ll = long long;
const ll maxn=5e5+5,inf = 1e18+18;
ll n,m,t;
string s;
int main(){
	ios::sync_with_stdio(false) , cin.tie(0 ) ,cout.tie(0);
	cin>>n;
	if(n>29)cout<<"Yes";
	else cout<<"No";
}


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

#include <stdio.h>

int main(void){
	int k;
  	scanf("%d",&k);
  	if(k>=30){
    	print("Yes");
    }else{
    	print("No");
    }
  	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |         print("Yes");
      |         ^~~~~
      |         printf