criyle/codenet-compile-errors huggingface dataset:
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>




#define fo(start,n) for(size_t i = start; i < n; ++i)


// unordered_map<int,int>mp;
// mp.reserve(1024);            //FAST UMAP
// mp.max_load_factor(0.25);
typedef long long ll;



using namespace std;



int main() {
    // your code goes here
    
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);

    ll tc;
    cin>>tc;
    while(tc--) {

      int ok ;cin>>ok

        
        if(ok>29){
            cout<<"Yes";
        }else{
            cout<<"No";
        }
        
    }
    return 0;
}
//
// Created by yozaam on 13/06/20.
//



Compiler output:
a.cc: In function 'int main()':
a.cc:69:22: error: expected ';' before 'if'
   69 |       int ok ;cin>>ok
      |                      ^
      |                      ;
......
   72 |         if(ok>29){
      |         ~~            
a.cc:74:10: error: 'else' without a previous 'if'
   74 |         }else{
      |          ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'els' was not declared in this scope
    9 |   els
      |   ^~~
Language: C++

#include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define vi vector<ll>
#define pp pair<ll,ll>
#define mp make_pair
#define PI acos(-1.0)
#define all(v) v.begin(),v.end()
#define pb push_back
#define FOR(i,a,b) for(i=a;i<b;i++)
#define FREV(i,a,b) for(i=a;i>=b;i--)
#define FORI(a) for(auto it=a.begin();it!=a.end();it++)
#define READ(a,i,n) FOR(i,0,n) { sll(a[i]);}
#define DEBUG(x) cerr<<"In file "<< __FILE__ <<" at line "<< __LINE__ <<" :: "<< #x <<" = "<<x<<endl
#define sll(n) scanf("%lld", &n)
#define si(n) scanf("%d", &n)
#define ss(n) scanf("%s", n)
#define INF 1e18
#define MOD 1000000007

using namespace std;

int32_t main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    int t;
    cin>>t;
    cout<<(t>=30?"Yes":"No";
}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:30:28: error: expected ')' before ';' token
   30 |     cout<<(t>=30?"Yes":"No";
      |           ~                ^
      |                            )
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:10:13: error: 'Yes' was not declared in this scope
   10 |     cout << Yes << endl;
      |             ^~~
a.cc:14:13: error: 'No' was not declared in this scope
   14 |     cout << No << endl;
      |             ^~
Language: C

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define ull unsigned long long
#define pb push_back
#define ps push
#define pf push_front
#define mp make_pair
#define And &&
#define Or ||
#define inf INT_MAX
#define sz(name) name.size()
#define len(name) name.length()
#define ig cin.ignore()
#define sc1(name) scanf("%d",&name)
#define sc2(name1,name2) scanf("%d%d",&name1,&name2)
#define sc3(name1,name2,name3) scanf("%d%d%d",&name1,&name2,&name3)
#define scl1(name) scanf("%lld",&name)
#define scl2(name1,name2) scanf("%lld%lld",&name1,&name2)
#define scl3(name1,name2,name3) scanf("%lld%lld%lld",&name1,&name2,&name3)
#define Sort(name) sort(name.begin(),name.end())
#define SSort(name) sort(name.rbegin(),name.rend())
#define For(name,start,finish) for(int name=start;name<finish;name++)
#define Forr(name,start,finish) for(int name=start;name>=finish;name--)
#define fast_in_out ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);


int row[]={0,1,0,-1,-1,-1,1,1};
int col[]={1,0,-1,0,1,-1,-1,1};

const ll N=2e5+10;
const ll M=1e18+7;
const ll H=1e9+7;
const ll base=131;

ll logx(ll a,ll bs){return log(a)/log(bs);}
ll Max(ll a,ll b){if(a>b)return a;return b;}
ll Min(ll a,ll b){if(a>b)return b;return a;}
ll big_mul(ll a,ll b,ll m){ll x=0,y=a%m;while(b>0){if(b&1)x=(x+y)%m;y=(2*y)%m;b>>=1;}return x%m;}
ll big_mod(ll a,ll b,ll m){ll x=1,y=a%m;while(b>0){if(b&1)x=(x*y)%m;y=(y*y)%m;b>>=1;}return x%m;}
ll Big_mod(ll a,ll b,ll m){ll x=1,y=a%m;while(b>0){if(b&1)x=big_mul(x,y,m);y=big_mul(y,y,m);b>>=1;}return x%m;}
ll mod_inverse(ll a,ll m){return big_mod(a,m-2,m);}  //a^-1 mod m = a^(m-2) mod m
ll GCD(ll a,ll b){if(!a)return b;return GCD(b%a,a);}



int main()
{
    fast_in_out;


    int n;
    cin>>n;

    if(n>=30)
        cout<<"Yes"<<endl;

    else
        cout<<"No"<<endl;



    return 0;
}



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

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

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

int main()
{
    int X;
    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:10: error: 'cin' is not a member of 'std'
    4 |     std::cin >> X;
      |          ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | int main()
a.cc:7:14: error: 'cout' is not a member of 'std'
    7 |         std::cout << "Yes" << std::endl;
      |              ^~~~
a.cc:7:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:36: error: 'endl' is not a member of 'std'
    7 |         std::cout << "Yes" << std::endl;
      |                                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | int main()
a.cc:9:14: error: 'cout' is not a member of 'std'
    9 |         std::cout << "No" << std::endl;
      |              ^~~~
a.cc:9:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:35: error: 'endl' is not a member of 'std'
    9 |         std::cout << "No" << std::endl;
      |                                   ^~~~
a.cc:9:35: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java

class q1{
    public static void main(String[] args) {
        Scanner in = new Scanner(System.in);
        long n = in.nextLong();
        if(n >= 30){
            System.out,println("YES");
        }
        else{
            System.out,println("NO");
        }
    }
}

Compiler output:
Main.java:6: error: not a statement
            System.out,println("YES");
                  ^
Main.java:6: error: ';' expected
            System.out,println("YES");
                      ^
Main.java:9: error: not a statement
            System.out,println("NO");
                  ^
Main.java:9: error: ';' expected
            System.out,println("NO");
                      ^
4 errors
Language: C

#include <bits/stdc++.h>
#define ll long long
#define vi vector<int>
#define vll vector<ll>
#define pb push_back
#define ppb pop_back()
#define fi first
#define se second
#define pi pair<int, int>
#define rep(i, a, n) for(int i = a; i <= n; i++)
#define REP(i, a, n) for(int i = a; i < n; i++)
#define Y "Yes"
#define N "No"
using namespace std;

int T, n;

void solve() {
	cin >> n;
	if (n >= 30) cout << Y;
	else cout << N;
}
 
int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	
	//freopen("in.txt", "r", stdin);

	///cin >> T;
	//while (T--) {
		solve();
		//cout << '\n';
	//}
}

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

//package round660;

import java.util.*;
import java.io.PrintWriter;
public class A {
	
	static PrintWriter out;
	static Scanner sc;
	public static void main(String[] args) {
		// TODO Auto-generated method stub
		sc=new Scanner(System.in);
		out=new PrintWriter(System.out);
		
		
		int n=sc.nextInt();
		if(n>=30) {
			out.println("Yes");
		}
		else {
			System.out.println("No");
		}
		
		sc.close();
		out.close();
		
	}
}


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

#include<iostream>

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:8:7: error: 'x' was not declared in this scope
    8 |   if (x>=30) cout << "YES" << endl;
      |       ^
Language: C++

#include <iostream>
using namespace std;

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

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

#include <iostream>
using namespace std

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

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | 
    4 | int main() {
      | ~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: expected initializer before '>>' token
    4 |     int cin>>n;
      |            ^~
a.cc:5:8: error: 'n' was not declared in this scope; did you mean 'yn'?
    5 |     if(n >= 30){
      |        ^
      |        yn
Language: C++

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


#define ll long long

int main()
{
    int m; cin >> m;

    cout << (m  = 30 ?  "Yes" :  "No");
  
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:22: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
   11 |     cout << (m  = 30 ?  "Yes" :  "No");
      |                   ~~~^~~~~~~~~~~~~~~~
      |                      |
      |                      const char*
Language: Java

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

		//プログラムはここに記入

		if(num>=30) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}

		scan.close();
	}
}


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

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

}


Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main
      |     ^~~~
a.cc:5:1: error: expected primary-expression before 'int'
    5 | int n;
      | ^~~
a.cc:5:1: error: expected '}' before 'int'
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>n;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(n>=30)
      | ^~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C

#include <bits/stdc++.h>

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

    if (30 <= temp) std::cout << "Yes" << std::endl;
    else            std::cout << "No"  << std::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 t;
  cin>>t;
  if(t>=30)
    cout<<"Yes\n";
  else cout<<"No\n;
}

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

include<stdio.h>
int main(){
int a;
scanf("%d",&a);
if(a>=30){
printf("Yes\n");
}else{
printf("No\n");
}
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C++

#include<bits/stdc++.h>
int main()
{
  int 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:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout << "Yes" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout << "Yes" << endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     cout << "No" << endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:21: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |     cout << "No" << endl;
      |                     ^~~~
      |                     std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before 'endl'
    7 |     cout << "Yes" endl;
      |                  ^~~~~
      |                  ;
Language: C++

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

int main()
{
        int x;
        cin>>x;
        if(x>=30)
        cout<<"YES";
        else
        cout<<"NO"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:19: error: expected ';' before '}' token
   11 |         cout<<"NO"
      |                   ^
      |                   ;
   12 | }
      | ~
Language: C

//A - Air Conditioner
#include <iostream>
#include <cstdio>
#include <algorithm>
#include <cmath>
#include <cstring>

#define LL long long
#define Lowbit(X) (X&(-X))
#define Lson (X<<1)
#define Rson (X<<1|1)
#define Cl(X,Y) memset((X),(Y),sizeof(X))
#define FOR(i,A,B) for(LL i=A;i<=B;i++)
#define BOR(i,A,B) for(LL i=A;i>=B;i--)
#define FOR_SIDE(i,A) for(LL i=Head[A];i;i=Next[i])
#define INF 0x7fffffff
using namespace std;

inline void File() {
    freopen(".in","r",stdin);
    freopen(".out","w",stdout);
}

int main() {
    //File();
    int X;
    scanf("%d",&X);
    if(X>=30) { printf("Yes\n"); }
    else printf("No\n");
    //fclose(stdin); fclose(stdout);
    system("pause");
    return 0;
}

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

import java.io.*;
public 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<bits/stdc++.h>
using namespace std;
#define ot(x) cout<<x<<" ";
#define pb push_back
#define in insert
#define ll long long int
#define YES cout<<"YES"<<"\n";
#define NO cout<<"NO"<<"\n";
#define ld long double
#define yes cout<<"yes"<<"\n";
#define no cout<<"no"<<"\n";
#define fa(i,a) for(auto i:a)
#define No cout<<"No"<<"\n";
#define Yes cout<<"Yes"<<"\n";
#define f(i,a) for(i=0;i<a;i++)
#define f1(i,a) for(i=1;i<=a;i++)
#define f2(i,a) for(i=2;i<=a;i++)
#define fy(i,a) for(auto i:a)
#define next cout<<"\n";
#define ull unsigned long long int
#define sp(n) cout<<fixed<<setprecision(n);
#define  gcd(a,b)    __gcd(a,b)
#define bs  binary_search
#define fast ios_base::sync_with_stdio(false);cin.tie(NULL);
#define test ll t;cin>>t;while(t-->0)
#define mod 1000000007


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




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

/******************
 *AUTHOR: speckrel*
 ******************/

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

#define ll long long

//Function to read int array
void read(ll arr[], ll n){
    for(ll i=0;i<n;i++){
        cin>>arr[i];
    }
}

void solve(){
    static int i=1;
    //cout<<"This is a test code "<<i<<"\n";
    i++;
}

int main(){
    //freopen("input.txt","r",stdin);
    //freopen("output.txt","w",stdout);
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    ll temp;
  cin>>temp;
  if(temp>=30){
    cout<<"Yes";
  }
  else{
    cout<<"No";
    
    return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:37:2: error: expected '}' at end of input
   37 | }
      |  ^
a.cc:23:11: note: to match this '{'
   23 | int main(){
      |           ^
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:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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:7:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   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:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else 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;
int main()
{
  int n;
  cin>>n;
  if(n>=30)
  {
    cout<<"Yes"<<endl;
  }
  else
  {
    cout<<"No"<<endl;
  }
}

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 <iostream>

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:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> x;
      |   ^~~
      |   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:6:16: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if (x >= 30) cout << "Yes" << endl;
      |                ^~~~
      |                std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:33: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   if (x >= 30) cout << "Yes" << endl;
      |                                 ^~~~
      |                                 std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else cout << "No" << endl;
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   else cout << "No" << endl;
      |                        ^~~~
      |                        std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

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

Compiler output:
a.cc:5:21: warning: missing terminating " character
    5 |   if(t>=30) cout << "Yes\n;
      |                     ^
a.cc:5:21: error: missing terminating " character
    5 |   if(t>=30) cout << "Yes\n;
      |                     ^~~~~~~ 
a.cc:6:18: warning: missing terminating " character
    6 |     else cout << "No\n;
      |                  ^
a.cc:6:18: error: missing terminating " character
    6 |     else cout << "No\n;
      |                  ^~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: expected primary-expression before 'else'
    6 |     else cout << "No\n;
      |     ^~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		if (a>=30) {
			System.out.println("Yes");
        } else {
          System.out.println("No");
	}
}

Compiler output:
Main.java:12: error: reached end of file while parsing
}
 ^
1 error
Language: C++

using namespace std;
 
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	ll t;
  	cin>>t;
	if(t>=30)
	{
		cout<<"Yes";
	}
	else
		cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: 'ios_base' has not been declared
    5 |         ios_base::sync_with_stdio(false);
      |         ^~~~~~~~
a.cc:6:9: error: 'cin' was not declared in this scope
    6 |         cin.tie(NULL);
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:6:17: error: 'NULL' was not declared in this scope
    6 |         cin.tie(NULL);
      |                 ^~~~
a.cc:1:1: note: 'NULL' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | using namespace std;
a.cc:7:9: error: 'll' was not declared in this scope
    7 |         ll t;
      |         ^~
a.cc:8:14: error: 't' was not declared in this scope
    8 |         cin>>t;
      |              ^
a.cc:11:17: error: 'cout' was not declared in this scope
   11 |                 cout<<"Yes";
      |                 ^~~~
a.cc:11:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:17: error: 'cout' was not declared in this scope
   14 |                 cout<<"No";
      |                 ^~~~
a.cc:14:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
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: In function 'int main()':
a.cc:7:16: error: unable to find string literal operator 'operator""endl' with 'const char [3]', 'long unsigned int' arguments
    7 |     else cout<<"No"endl;
      |                ^~~~~~~~
Language: C++

#include<iostream>

using namespace std

int main(){
  int X;
  cin >> X;
  if (x>=30) cout << "YES" << endl;
  else cout << "NO" << endl;
}

Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 | 
    5 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:8:7: error: 'x' was not declared in this scope
    8 |   if (x>=30) cout << "YES" << endl;
      |       ^
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: C++

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

int main(){
    SPEED;
   int t=1;
    while(t--){
      solve();
    }
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>ans;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout<<"Yes"<<endl;
      |     ^~~~
a.cc:5:18: error: 'endl' was not declared in this scope
    5 |     cout<<"Yes"<<endl;
      |                  ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:8:17: error: 'endl' was not declared in this scope
    8 |     cout<<"No"<<endl;
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:14:5: error: 'SPEED' was not declared in this scope
   14 |     SPEED;
      |     ^~~~~
Language: C++

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

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 >> i;
      |   ^~~
      |   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:4: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |    cout << "Yes" <<endl;
      |    ^~~~
      |    std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |    cout << "Yes" <<endl;
      |                    ^~~~
      |                    std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |    else{cout << "No"<<endl;}
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |    else{cout << "No"<<endl;}
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++


#include <bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define vi vector<ll>
#define pp pair<ll, ll>
#define mp make_pair
#define PI acos(-1.0)
#define all(v) v.begin(), v.end()
#define pb push_back
#define foo(n) for (int i = 0; i <n; i++)
#define FREV(i, a, b) for (i = a; i >= b; i--)
#define READ(a, i, n) \
	FOR(i, 0, n) { a[i] = read_ll(); }
#define DEBUG(x) cerr << "In file " << __FILE__ << " at line " << __LINE__ << " :: " << #x << " = " << x << endl
#define S(n) scanf("%lld", &n)
#define INF 1e18
#define MOD 1000000007

// #ifndef ONLINE_JUDGE
// #define gc getchar
// #define pc putchar
// #else
// #define gc getchar_unlocked
// #define pc putchar_unlocked
// #endif




using namespace std;
{

	int c;
	cin>>c;
	if(c>=30)
	cot<<"Yes";
	else
	cout<<"No";
	return 0;
}


Compiler output:
a.cc:32:1: error: expected unqualified-id before '{' token
   32 | {
      | ^
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:6: error: expected '(' before 'X'
    7 |   if X >= 30 {
      |      ^
      |      (
a.cc:10:3: error: 'else' without a previous 'if'
   10 |   else {
      |   ^~~~
Language: C++

#include<stdio.h>
#include<iostream>
#include<string.h>
#include<algorithm>
#include<queue>
#include<stack>
#include<math.h>
#include<map>
typedef long long int ll;
using namespace std;
#define maxn 0x3f3f3f3f
#define INF 0x3f3f3f3f3f3f3f3f
const int mm=2e5+100;
ll d[mm];
int main()
{
   ll n,m,i,j,t,a,b,c,p,k,kk; 
	cin>>n;
	if(n>=30) printf("Yes\n")
	else printf("No\n");
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:19:34: error: expected ';' before 'else'
   19 |         if(n>=30) printf("Yes\n")
      |                                  ^
      |                                  ;
   20 |         else printf("No\n");
      |         ~~~~
Language: C++

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

using namespace std;

int main()
{
    int a;
    cin>>a;
     if(a>30)
     {
         cout<<"YES"<<endl;
         return 0;
     }
     ciut<<"NO"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:6: error: 'ciut' was not declared in this scope
   15 |      ciut<<"NO"<<endl;
      |      ^~~~
Language: C++

#include<bits/stdc++.h>

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:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |         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:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         cout<<"Yes"<<endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         cout<<"Yes"<<endl;
      |                      ^~~~
      |                      std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |       cout<<"No"<<endl;
      |       ^~~~
      |       std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |       cout<<"No"<<endl;
      |                   ^~~~
      |                   std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C

#include <iostream>

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

    if (30 <= temp) std::cout << "Yes" << std::endl;
    else            std::cout << "No"  << std::endl;
}

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main()
{
    ll 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 '}' token
   16 |     return 0
      |             ^
      |             ;
   17 | }
      | ~
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 <iostream>
using namespace std;

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

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

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

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc:5:11: error: 'pair' does not name a type
    5 | using P = pair<int,int>;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin >> x;
      |         ^~~
a.cc:10:22: error: 'cout' was not declared in this scope
   10 |         if (x >= 30) cout << "Yes" << endl;
      |                      ^~~~
a.cc:10:39: error: 'endl' was not declared in this scope
   10 |         if (x >= 30) cout << "Yes" << endl;
      |                                       ^~~~
a.cc:11:14: error: 'cout' was not declared in this scope
   11 |         else cout << "No" << endl;
      |              ^~~~
a.cc:11:30: error: 'endl' was not declared in this scope
   11 |         else cout << "No" << endl;
      |                              ^~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
    int K;
    cin>>K;
    if(K>=30){
        cout<<"Yes";
    }else{
        cout<<"No"
    }
}

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

#include<bits/stdc++.h>
using namespace std;
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:6:8: error: expected primary-expression before '>' token
    6 |   if(n=>30)
      |        ^
Language: Java

import java.util.Scanner;

public class A {
	public static void main(String[] args)  {
		// 標準入力を受け取る
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt(); // int Xを受け取る
		sc.close(); // 標準入力を終了

		if (X >= 30) {
			// 冷房ON
			System.out.println("Yes");
		} else {
			System.out.println("No");
		}
	}

}

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

#include<iostream>
#include<cstdio>
#include<algorithm>
#include<cstring>
#define ll long long
using namespace std;
int read()
{
	int k=0,f=1;char c=getchar();
	for(;!isdigit(c);c=getchar()) if(c=='-') f=-1;
	for(;isdigit(c);c=getchar()) k=k*10+c-'0';return k*f;
}
int main()
{	
	n=read();
	if(n>=30) puts("Yes");
	else puts("No");
	return  0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:15:9: error: 'n' was not declared in this scope
   15 |         n=read();
      |         ^
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 ; 

/* 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 ;
      | ^~~~~
Language: C++

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

using namespace std

void a_aircon(void) {
    int x;
    cin >> x;

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

int main()
{
    a_aircon();

    return 0;
}

Compiler output:
a.cc:6:20: error: expected ';' before 'void'
    6 | using namespace std
      |                    ^
      |                    ;
    7 | 
    8 | void a_aircon(void) {
      | ~~~~
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: 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++

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

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


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

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

}

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main
      |     ^~~~
a.cc:5:1: error: expected primary-expression before 'int'
    5 | int n;
      | ^~~
a.cc:5:1: error: expected '}' before 'int'
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>n;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(n>=30)
      | ^~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:9: error: 'X' was not declared in this scope
    8 |     if (X >= 30)
      |         ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: 'x' was not declared in this scope
    7 |   if (x < 30){
      |       ^
a.cc:12:4: error: expected '}' at end of input
   12 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include<bits/stdc++>

using namespace std;

int main()
{
  int x;
  cin >> x;
  
  if(x == 30)cout << "YES";
  else cout << "NO";
  
  return 0;
}

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

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

scanf("%d", &n);
if (n>=30){
printf("Yes");
}

else 
printf("No");

return 0;
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
Language: Java

import java.util.*;

public class A{
	public static void main(String args[]){
     	Scanner sc = new Scanner(System.in);
      	int n = sc.nextInt();
      	if(n>=30)
          	System.out.println("Yes");
      	else
          System.out.println("No");
    }
}

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

import java.util.*;
public class taskA {
    public static void main(String args[]) {
      Scanner in = new Scanner(System.in);
      int n = in.nextInt();
      if(n>=30) System.out.println("YES");
      else System.out.println("NO");
    }
}

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

public class Solution {
  public static void main(String args[]) {
  	Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    if(x >= 30) {
    	System.out.println("Yes");
    }
    else {
    	System.out.println("No");
    }
  }
}

Compiler output:
Main.java:1: error: class Solution is public, should be declared in a file named Solution.java
public class Solution {
       ^
Main.java:3: error: cannot find symbol
  	Scanner sc = new Scanner(System.in);
  	^
  symbol:   class Scanner
  location: class Solution
Main.java:3: error: cannot find symbol
  	Scanner sc = new Scanner(System.in);
  	                 ^
  symbol:   class Scanner
  location: class Solution
3 errors
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){
      |            ^
Language: C++

#include <iostream>
using namespace std;

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

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

#include<bits/std++.h>
using namespace std;
int x;
int main()
{
	cin>>x;
	if(x<30)
	{
		cout<<"NO";
	}
	else
	{
		cout<<"YES";
	}
}

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