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

#include<bits/stdc++.h>
using namespace std;
#define int  long long int
#define fi first
#define se second
#define pb push_back
#define soo(v) sort(v.rbegin(),v.rend())
#define so(v) sort(v.begin(),v.end())
#define lb(v,x) lower_bound(v.begin(),v.end(),x)
#define ub(v,x) upper_bound(v.begin(),v.end(),x)
//#define endl '\n'
#define dbv(v) cout<<endl;cout<<#v<<"-->> ";for(auto it:v){cout<<it<<" ";}cout<<endl;
#define dbm(m)cout<<endl;cout<<#m<<"-->> ";for(auto it:m){cout<<it.fi<<" "<<it.se<<endl;}
#define dbs(s)cout<<endl;cout<<#s<<"-->> ";for(auto it:s){cout<<it<<" ";}cout<<endl;
#define mod 1000000007
#define db1(x) cout<<#x<<"="<<x<<endl;
#define db2(x,y) cout<<#x<<"="<<x<<","<<#y<<"="<<y<<endl;
#define db3(x,y,z) cout<<#x<<"="<<x<<","<<#y<<"="<<y<<","<<#z<<"="<<z<<endl;
#define mx 1e18
#define mxe(v) *max_element(v.begin(),v.end())
#define mne(v)  *min_element(v.begin(),v.end())
#define double long double
#define io std::ios::sync_with_stdio(false); cin.tie(NULL);cout.tie(NULL);
int dx[]={1,0,-1,0};
int dy[]={0,1,0,-1};
pair<int,int>p;
bool check(int row,int col,int n,int m)
{
  return (row>=0&&row<n&&col>=0&&col<m);

}
int dfs(int i,int j,int n,int m,vector<vector<bool>>&vis,vector<vector<int>>&v,int cc)
{

if(p==root)
{
  return cc;
}
      vis[i][j]=1;
      for(int k=0;k<4;k++)
      {
        int a=i+dx[k];
        int b=j+dy[k];
        if(check[a][b])
        {
          if(!vis[a][b]&&v[a][b]==1)
          {
            int tt=dfs(a,b,n,m,vis,cc+1);
            if(tt!=0)
              return tt;
          }
        }
      }
      return 0;
}
int32_t main()
{
  io
 int x;
 cin>>x;
 if(x>=30)cout<<"Yes"<<endl;
 else cout<<"No"<<endl;

}

Compiler output:
a.cc: In function 'long long int dfs(long long int, long long int, long long int, long long int, std::vector<std::vector<bool> >&, std::vector<std::vector<long long int> >&, long long int)':
a.cc:35:7: error: 'root' was not declared in this scope
   35 | if(p==root)
      |       ^~~~
a.cc:44:19: warning: pointer to a function used in arithmetic [-Wpointer-arith]
   44 |         if(check[a][b])
      |                   ^
a.cc:44:22: warning: pointer to a function used in arithmetic [-Wpointer-arith]
   44 |         if(check[a][b])
      |                      ^
a.cc:48:38: error: invalid initialization of non-const reference of type 'std::vector<std::vector<long long int> >&' from an rvalue of type 'long long int'
   48 |             int tt=dfs(a,b,n,m,vis,cc+1);
      |                                    ~~^~
a.cc:32:78: note: in passing argument 6 of 'long long int dfs(long long int, long long int, long long int, long long int, std::vector<std::vector<bool> >&, std::vector<std::vector<long long int> >&, long long int)'
   32 | int dfs(int i,int j,int n,int m,vector<vector<bool>>&vis,vector<vector<int>>&v,int cc)
      |                                                          ~~~~~~~~~~~~~~~~~~~~^
Language: C++

#include <iostream>

#include<vector>

#include<string>

#include<algorithm>

#include<cmath>

#include<cstdlib>

#include<utility> 

#include<cstdio> 

#define vii vector< pair<int,int> >

#define vi vector<int>

#define INF 1000000007

#define ff first

#define ss second

#define lli long long int

#define ulli unsigned long long int

using namespace std;

int main() {

 ios_base::sync_with_stdio(false);

    cin.tie(NULL);
   int n;
  cin>>n;
  if(n>=30)
    cout<<"Yes";
  else cout<<"No
 

}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:24: error: expected ';' before 'return'
    7 |   else cout<<"No"<<endl
      |                        ^
      |                        ;
    8 |     return 0;
      |     ~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define int long long int
#define pb  push_back
int32_t main()
{
    int X;
    cin>>N;
    if(X>30)
     cout<<"YES";
     else
       cout<<"NO";
     RETURN 0;
   
    

}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:8:10: error: 'N' was not declared in this scope
    8 |     cin>>N;
      |          ^
a.cc:13:6: error: 'RETURN' was not declared in this scope
   13 |      RETURN 0;
      |      ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define int long long int
#define pb  push_back
int32_t main()
{
    int X;
    cin>>X;
    if(X<30)
    cout<<"YES";
    eslse
    cout<<"NO";
    return 0;

}


Compiler output:
a.cc: In function 'int32_t main()':
a.cc:11:5: error: 'eslse' was not declared in this scope
   11 |     eslse
      |     ^~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected '}' before 'else'
   10 |     else
      |     ^~~~
a.cc:8:3: note: to match this '{'
    8 |   {
      |   ^
a.cc: At global scope:
a.cc:13:3: error: expected unqualified-id before 'return'
   13 |   return 0;
      |   ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected '}' before 'else'
   10 |     else
      |     ^~~~
a.cc:8:3: note: to match this '{'
    8 |   {
      |   ^
a.cc: At global scope:
a.cc:13:3: error: expected unqualified-id before 'return'
   13 |   return 0;
      |   ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C

#include <stdio.h>
int main(void)
int X;
scanf("%d",&X);
if(30<=X)
printf("Yes");
else
printf("No");
return 0;

Compiler output:
main.c: In function 'main':
main.c:4:1: error: expected declaration specifiers before 'scanf'
    4 | scanf("%d",&X);
      | ^~~~~
main.c:5:1: error: expected declaration specifiers before 'if'
    5 | if(30<=X)
      | ^~
main.c:7:1: error: expected declaration specifiers before 'else'
    7 | else
      | ^~~~
main.c:9:1: error: expected declaration specifiers before 'return'
    9 | return 0;
      | ^~~~~~
main.c:2:5: error: old-style parameter declarations in prototyped function definition
    2 | int main(void)
      |     ^~~~
main.c:10: error: expected '{' at end of input
Language: C++

#include <iostream>

using namespace std;

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

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

import java.util.*;
 
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int temp = sc.nextInt();
    if(30 <= temp){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
  }
}

Compiler output:
Main.java:13: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = nwe Scanner(System.in);
    int temp = sc.nextInt();
    if(30 <= temp){
      System.out.println("Yes");
    }
    else{
      System.out.println("No");
  }
}

Compiler output:
Main.java:5: error: ';' expected
    Scanner sc = nwe Scanner(System.in);
                    ^
Main.java:13: error: reached end of file while parsing
}
 ^
2 errors
Language: C++

#include <bits/stdc++.h>

using namespace std;
 
//#define int long long
using ll = long long;
#define all(v) (v).begin(), (v).end()
#define rep(i,n) for(ll i=0;i<n;i++)
#define reps(i,n) for(ll i=0;i<=n;i++)


ll MOD = 1000000007;
const long long L_INF = 1LL << 60;
const int INF = 2147483647; // 2^31-1
const double PI = acos(-1);
 
const ll dx[8] = {1, 1, 0, -1, -1, -1, 0, 1};
const ll dy[8] = {0, 1, 1, 1, 0, -1, -1, -1};

int main(){
    ios_base::sync_with_stdio(false);
    ll X;
    cin >> X;
    if(x>=30){
        cout << "Yes" << endl;
    }else{
        cout << "No" << endl;
    }

    return 0;
}


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

#include <iostream>
using namespace std;
#define ll  long long
#define M 1000000007
#define tc int t; cin>>t; while(t--)
#include <cstring>
#include <cmath>

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

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

#include <iostream>
#include <vector>
#include <algorithm>
#define rep(i,n) for(int i = 0; i , (n); ++i)
using ll = long long;
using namespace std;
int sum(int n) {
    if (n == 0) {
        return 0;
    }

    int s = sum(n - 1);
    return s + n;
}
int main() {
    int X;
    cin >> X;
    if (X >= 30) {
        cout << "Yes"
    }
    else cout << "No";
}


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

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

int main() {
  int ans = 0;
  int N,D;
  cin >> N >> D;
  for (int i=0;i<N;i++){
    int a,b
    cin >> a >> b;
    if(a*a+b*b<=D*D){
      ans++;
    }
  }
  cout << ams;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: expected initializer before 'cin'
   10 |     cin >> a >> b;
      |     ^~~
a.cc:11:12: error: 'b' was not declared in this scope
   11 |     if(a*a+b*b<=D*D){
      |            ^
a.cc:15:11: error: 'ams' was not declared in this scope; did you mean 'ans'?
   15 |   cout << ams;
      |           ^~~
      |           ans
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:9: error: expected primary-expression before '>' token
    8 |   if(X => 30) cout << "Yes" << endl;
      |         ^
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;
}

    return 0;
}

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 n;
cin>>n;
if(n>=30){
    cout<<"Yes";
}
else{
    cout<<"No";
}

    return 0;
}

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

// g++ -std=c++11 test.cpp && ./a.out
// g++ -std=c++11 bfs.cpp && cat bfs.txt | ./a.ou

#include <algorithm>
#include <iostream>
#include <queue>
#include <functional>
#include <numeric>

using namespace std;

#define PRINT(A) {for (int i = 0; i < A.size(); i++) { cout << A[i] << " ";} cout << endl;}
#define SUM(A) accumulate(A.begin(), A.end(), 0)
#define MAX(A) *max_element(A.begin(), A.end())
#define REP(I, N) for (int I = 0; I < (N); ++I)
#define REPP(I, A, B) for (int I = (A); I < (B); ++I)
#define FOR(I, A, B) for (int I = (A); I <= (B); ++I)
#define FORS(I, S) for (int I = 0; S[I]; ++I

typedef vector<int> VI;
typedef vector<string> VS;
typedef vector<vector<int>> VVI;

int main() {
    int X;
    cin >> X;
    if (X>=30) {
      return "Yes";
    } else {
      return "No";
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:28:14: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
   28 |       return "Yes";
      |              ^~~~~
      |              |
      |              const char*
a.cc:30:14: error: invalid conversion from 'const char*' to 'int' [-fpermissive]
   30 |       return "No";
      |              ^~~~
      |              |
      |              const char*
Language: C++

#include <iostream>
using namespace std;

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


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

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:29: error: expected ';' before 'else'
    8 |   if(x > 29) cout << "Yes\n"
      |                             ^
      |                             ;
    9 |   else cout << "No\n"
      |   ~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
/************************Contest Template**************************/
typedef long long ll;
typedef unsigned long long ull;
typedef pair<int,int> pii;
typedef pair<long long,long long> pll;
#define FASTIO ios_base::sync_with_stdio(false);cin.tie(0);
struct S{
    int a,b; S(){}S(int _a,int _b)
    { a=_a; b=_b; }
    const bool operator<(const S &o) const{
        return a<o.a;}
};
string exm;
inline void exf(void){ cout<<exm<<"\n"; exit(0); }
template <typename T>
inline void showAll(vector<T> &v,string sep=""){
    for(T &here:v) cout<<here<<sep;}
template <typename T>
inline void showAll(T a[],int st,int end,string sep=""){
    for(int i=st ; i<=end ; i++) cout<<a[i]<<sep; }
template <typename T>
inline void showAll(T a[],int x,int y,int z,int w,string p,string q){
    for(int i=x ; i<=y ; i++){for(int j=z ; j<=w ; j++)
        {cout<<a[i][j]<<p;}cout<<q;}}   
template <typename T>
inline vector<int> int_seperation(T N,int d=10){
    vector<int> v; while(N){v.push_back(N%d); N/=d;}
    reverse(v.begin(),v.end()); return v; }
/************************Contest Template**************************/
//const int SIZE=

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

*/






Compiler output:
a.cc: In function 'int main()':
a.cc:36:19: error: 'pritf' was not declared in this scope; did you mean 'printf'?
   36 |         if(t>=30) pritf("Yes\n");
      |                   ^~~~~
      |                   printf
Language: C++

#include<bits/stdc++.h>
int main(){
	int t;	
  	cin>>t;
	if(t>=30) printf("YES\n");
  	else printf("NO\n");
  	
  	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |         cin>>t;
      |         ^~~
      |         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++

#include<bits/stdc++>
int main(){
	int t;	
  	cin>>t;
	if(t>=30) printf("YES\n");
  	else printf("NO\n");
  	
  	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(){
	int t;	
  	cin>>t;
	if(t>=30) printf("YES\n");
  	else printf("NO\n");
  	
  	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:9: error: 'cin' undeclared (first use in this function)
    4 |         cin>>t;
      |         ^~~
main.c:4:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <iostream>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     std::cout << "Yes" << endl;
      |                           ^~~~
      |                           std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:9:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     std::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;
#define endl '\n'

int main(){

    ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);

    int x; cin >>n;
    cout <<(x>=30? "Yes" : "No") <<endl;

    return 0;
}


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

#include<stdio.h>
#include<iostream>
#include<string>
using namespace std;

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


	return 0;
}


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

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

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

#include <stdio.h>
int main(void){
    int x;
    scanf("%d", &x);
    if(x>= 40){
        printf("Yes")
    }
    else{
        printf("No")
    }

}


Compiler output:
main.c: In function 'main':
main.c:6:22: error: expected ';' before '}' token
    6 |         printf("Yes")
      |                      ^
      |                      ;
    7 |     }
      |     ~                 
main.c:9:21: error: expected ';' before '}' token
    9 |         printf("No")
      |                     ^
      |                     ;
   10 |     }
      |     ~
Language: C

#include<stdio.h>
int main() {
int X;
scanf (" %d",&X);
if (X>=30){
printf("Yes");}
}
else {
printf("No");
}
return 0;
}

Compiler output:
main.c:8:1: error: expected identifier or '(' before 'else'
    8 | else {
      | ^~~~
main.c:11:1: error: expected identifier or '(' before 'return'
   11 | return 0;
      | ^~~~~~
main.c:12:1: error: expected identifier or '(' before '}' token
   12 | }
      | ^
Language: C++

//\\//\\ * * * //\\// ||
#include <bits/stdc++.h> 

#define debug(x) cerr << #x << ": " << x << endl

using namespace std;

typedef long long ll;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:25: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   15 |   cout << (x >= (ll) 30 > "Yes" : "No") << '\n';
      |            ~~~~~~~~~~~~~^~~~~~~
a.cc:15:32: error: expected ')' before ':' token
   15 |   cout << (x >= (ll) 30 > "Yes" : "No") << '\n';
      |           ~                    ^~
      |                                )
Language: C++

//\\//\\ * * * //\\// ||
#include <bits/stdc++.h> 

#define debug(x) cerr << #x << ": " << x << endl

using namespace std;

typedef long long ll;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:20: error: ISO C++ forbids comparison between pointer and integer [-fpermissive]
   15 |   cout << (x >= 30 > "Yes" : "No") << '\n';
      |            ~~~~~~~~^~~~~~~
a.cc:15:27: error: expected ')' before ':' token
   15 |   cout << (x >= 30 > "Yes" : "No") << '\n';
      |           ~               ^~
      |                           )
Language: C++

#include <iostream>
using namespace std;

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:7:9: error: expected primary-expression before '>' token
    7 |   if (x=>30.) {
      |         ^
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:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     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 <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:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     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 <algorithm>
#include <heap>
#include <iostream>
#include <string>
#include <stack>
#include <utility>
#include <vector>

#define rep(i, n) for (auto i = 0; i < (n); i++)
#define MOD 1e9 + 7
typedef long long ll;

using namespace std;

int main() {
  int x;
  cin >> x;
  cout << (x >= 30 ? "Yes" : "No") << endl;

  return 0;
}



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

import java.util.Scanner;
public class Airc {
    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");
        }
    }
}

Compiler output:
Main.java:2: error: class Airc is public, should be declared in a file named Airc.java
public class Airc {
       ^
1 error
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
   return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: expected ';' before 'return'
   10 |     cout<<"No"<<endl
      |                     ^
      |                     ;
   11 |    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
   return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:21: error: expected ';' before 'return'
   10 |     cout<<"No"<<endl
      |                     ^
      |                     ;
   11 |    return 0;
      |    ~~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=a;i<b;i++)
#define FORD(i,a,b) for(int i=a;i>=b;i--)
#define REP(i,n) FOR(i,0,n)
#define pb push_back
#define en "\n"
#define LL long long
#define ITER(i,a) for( typeof(a.begin()) i=a.begin();i!=a.end();i++)
#define mod 1000000007
#define mpp make_pair
#define mes(a,b) memset((a),(b),sizeof((a))
typedef map<int,int> MI;
typedef pair<int,int> pairs;
typedef vector<int> VI;
int main() {
	// your code goes here
	ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    int x;
    cin>>x;
    if(x>=30)
    cout<<"Yes"<<en;
    else
    cout<<"No"<<en;
    return 0;
}
#include <bits/stdc++.h>
using namespace std;
#define FOR(i,a,b) for(int i=a;i<b;i++)
#define FORD(i,a,b) for(int i=a;i>=b;i--)
#define REP(i,n) FOR(i,0,n)
#define pb push_back
#define en "\n"
#define LL long long
#define ITER(i,a) for( typeof(a.begin()) i=a.begin();i!=a.end();i++)
#define mod 1000000007
#define mpp make_pair
#define mes(a,b) memset((a),(b),sizeof((a))
typedef map<int,int> MI;
typedef pair<int,int> pairs;
typedef vector<int> VI;
int main() {
	// your code goes here
	ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    cout.tie(NULL);
    int x;
    cin>>x;
    if(x>=30)
    cout<<"Yes"<<en;
    else
    cout<<"No"<<en;
    return 0;
}


Compiler output:
a.cc:44:5: error: redefinition of 'int main()'
   44 | int main() {
      |     ^~~~
a.cc:16:5: note: 'int main()' previously defined here
   16 | int main() {
      |     ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: unable to find string literal operator 'operator""endl' with 'const char [4]', 'long unsigned int' arguments
    8 |     cout<<"Yes"endl;
      |           ^~~~~~~~~
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();
		if(X>=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.Scanner;

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:3: error: class Solution is public, should be declared in a file named Solution.java
public class Solution {
       ^
1 error
Language: C

#include<stdio.h<
int main()
{
  int tem;
  scanf("%d",&tem);
  if(tem>=30)
  {
    printf("Yes");
  }
  else
  {
    printf("No");
  }
  return 0;
}


Compiler output:
main.c:1:18: error: missing terminating > character
    1 | #include<stdio.h<
      |                  ^
main.c:1:9: fatal error: stdio.h<: No such file or directory
    1 | #include<stdio.h<
      |         ^
compilation terminated.
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:4:9: error: 'cin' was not declared in this scope
    4 |         cin >> x;
      |         ^~~
a.cc:7:17: error: 'cout' was not declared in this scope
    7 |                 cout << "Yes" << endl;
      |                 ^~~~
a.cc:7:34: error: 'endl' was not declared in this scope
    7 |                 cout << "Yes" << endl;
      |                                  ^~~~
a.cc:10:17: error: 'cout' was not declared in this scope
   10 |                 cout << "No" << endl;
      |                 ^~~~
a.cc:10:33: error: 'endl' was not declared in this scope
   10 |                 cout << "No" << endl;
      |                                 ^~~~
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:11:29: error: expected ';' before '}' token
   11 |         cout << "No" << endl
      |                             ^
      |                             ;
   12 |     }
      |     ~
Language: C++

v#include<bits/stdc++.h> 
#define ll long long 
#define pb push_back 
#define vec vector<int> 
#define fo(i,n) for (ll i = 0; i < n; i++)
#define so(v) sort(v.begin(), v.end())
#define fi first
#define se second 
using namespace std;  
int main()
{
int t;
cin>>t;
if(t>=30)
{
    cout<<"Yes";
}
else
cout<<"No";

}

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | v#include<bits/stdc++.h>
      |  ^
a.cc:1:1: error: 'v' does not name a type
    1 | v#include<bits/stdc++.h>
      | ^
a.cc: In function 'int main()':
a.cc:13:1: error: 'cin' was not declared in this scope
   13 | cin>>t;
      | ^~~
a.cc:16:5: error: 'cout' was not declared in this scope
   16 |     cout<<"Yes";
      |     ^~~~
a.cc:19:1: error: 'cout' was not declared in this scope
   19 | cout<<"No";
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  
  int n;cin>>n;
  int t = 7%n;
  for(int i=0;i<k+3;i++){
    if(t==0){
      cout<<i+1<<endl;
      return 0;
    }
    t = (t*10+7)%n;
  }
  cout<<-1<<endl;
  return 0;
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:6: error: 'x' was not declared in this scope
    5 |   if(x<30)cout<<"No";
      |      ^
Language: C++

#include <stdio.h>
#include <iostream>
#include <string>

using namespace std;

int main();

void Compare_Func_Display(const int &arg_a, int &arg_b);


int main()
{
	const int MIN_LIMIT = -40;
	const int MAX_LIMIT = 40;
	const int ON_TEMPERATURE = 30;

	std::string buf;
	std::cin >> buf;

	int room_temperature = stoi(buf.c_str());

	if ((MIN_LIMIT > room_temperature) || (MAX_LIMIT < room_temperature))
	{
		return 0;
	}
	Compare_Func_Display(ON_TEMPERATURE, room_temperature);
	return 0;
}

void Compare_Func_Display(const int &arg_a, int &arg_b)
{
	if (arg_a <= arg_b)
	{
		std::cout << "Yes" << std::endl;
		return;
	}
	std::cout << "No" << std::endl;
	return;
}
#endif

Compiler output:
a.cc:41:2: error: #endif without #if
   41 | #endif
      |  ^~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
const long long INF = 1LL <<60;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: 'ednl' was not declared in this scope
   11 |     cout<<"Yes"<<ednl;
      |                  ^~~~
Language: C

#include <iostream>
#include <cmath>
using namespace std;

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

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

#include <iostream>
#include <cmath>
using namespace std;

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

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

import java.util.Scanner;

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

        Scanner input = new Scanner(System.in);
        int temp = input.nextInt();

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


    }
}


Compiler output:
Main.java:3: error: class Main2 is public, should be declared in a file named Main2.java
public class Main2 {
       ^
1 error
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:4:12: error: 'Long' does not name a type; did you mean 'long'?
    4 | using ll = Long Long;
      |            ^~~~
      |            long
Language: Java

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


Compiler output:
Main.java:6: error: package Sysetm does not exist
                  if(n >= 30) Sysetm.out.println("Yes");
                                    ^
1 error
Language: C++

#include <stdio.h>

int main()
{
	int x;
	
	cin >> x;
	
	if (x >= 30) printf("YES\n");

	else printf("NO\n");
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> x;
      |         ^~~
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:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> x;
      |   ^~~
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "Yes" << '\n';
      |     ^~~~
a.cc:15:5: error: 'cout' was not declared in this scope
   15 |     cout << "No" << '\n';
      |     ^~~~
Language: C

#include <stdio.h>
int main(void)
{    // Your code here!
  int X;
  if(X<30) printf("No\n")
  if(X>=30) printf("Yes\n")  
}


Compiler output:
main.c: In function 'main':
main.c:5:26: error: expected ';' before 'if'
    5 |   if(X<30) printf("No\n")
      |                          ^
      |                          ;
    6 |   if(X>=30) printf("Yes\n")
      |   ~~
Language: C++

//given n integers and an integer m such that n>m then there exits a pair
//(a-b) such that (a-b)%m==0

#include<bits/stdc++.h>
using namespace std;
typedef  long long int ll;
const ll M=1000000007;
void solve(){
 int n;
 cin>>n;
 if(n>=30)cout<<"Yes";
 else cout<<"No";
}

int main(){
 int t=1;
 //cin>>t;
 while(t--){
        solve();
        cout<<endl;
 }
}
//given n integers and an integer m such that n>m then there exits a pair
//(a-b) such that (a-b)%m==0

#include<bits/stdc++.h>
using namespace std;
typedef  long long int ll;
const ll M=1000000007;
void solve(){
 int n;
 cin>>n;
 if(n>=30)cout<<"Yes";
 else cout<<"No";
}

int main(){
 int t=1;
 //cin>>t;
 while(t--){
        solve();
        cout<<endl;
 }
}


Compiler output:
a.cc:29:10: error: redefinition of 'const ll M'
   29 | const ll M=1000000007;
      |          ^
a.cc:7:10: note: 'const ll M' previously defined here
    7 | const ll M=1000000007;
      |          ^
a.cc:30:6: error: redefinition of 'void solve()'
   30 | void solve(){
      |      ^~~~~
a.cc:8:6: note: 'void solve()' previously defined here
    8 | void solve(){
      |      ^~~~~
a.cc:37:5: error: redefinition of 'int main()'
   37 | int main(){
      |     ^~~~
a.cc:15:5: note: 'int main()' previously defined here
   15 | int main(){
      |     ^~~~
Language: C++

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

int main() {
  int t;
  sin >> t;
  if(t>=30)
    sout << "Yes" << endl;
  else
    sout << "No" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: invalid operands of types '<unresolved overloaded function type>' and 'int' to binary 'operator>>'
    6 |   sin >> t;
      |   ~~~~^~~~
a.cc:8:5: error: 'sout' was not declared in this scope; did you mean 'stdout'?
    8 |     sout << "Yes" << endl;
      |     ^~~~
      |     stdout
a.cc:10:5: error: 'sout' was not declared in this scope; did you mean 'stdout'?
   10 |     sout << "No" << endl;
      |     ^~~~
      |     stdout
Language: C++

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

Compiler output:
a.cc:3:1: error: 'iont' does not name a type; did you mean 'int'?
    3 | iont main()
      | ^~~~
      | int
Language: Java

import java.util.Scanner;

public class AirConditioner {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        float temp = scanner.nextFloat();
        if (temp > 30) {
            System.out.println("Yes");
        } else {
            System.out.println("No");
        }
    }
}

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

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'naespace'
    2 | using naespace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     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<stdio.h>
int main()
{
    int temp;
    scanf("%d",&temp);
    if (temp<=40 && temp>-41)
    {
        printf("YES");
    }
else
{
    printf("NO");
}

    getch();
}



Compiler output:
main.c: In function 'main':
main.c:15:5: error: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
   15 |     getch();
      |     ^~~~~
      |     getc
Language: C

#include<stdio.h>
int main()
{
    int temp;
    scanf("%d",&temp);
    if (temp<=40 && temp>-40)
    {
        printf("YES");
    }
else
{
    printf("NO");
}

    getch();
}



Compiler output:
main.c: In function 'main':
main.c:15:5: error: implicit declaration of function 'getch'; did you mean 'getc'? [-Wimplicit-function-declaration]
   15 |     getch();
      |     ^~~~~
      |     getc
Language: C

#include <bits/stdc++.h>
typedef long long ll;
#define MOD 1000000
#define PI 3.14159265358979323846
#define MAXN 10000000

int main(void) {
    int n;
    scanf("%d", &n);
    puts(n>=30?"Yes":"No");
    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<stdio.h>
int main()
{
    int x;
    printf("will the conditiner turned on: ");
    scanf("%d",&x);
    if(x<30)
    {
       printf(" no");
    }
      else {
        printf(" yes");
      }
 return 0;





Compiler output:
main.c: In function 'main':
main.c:14:2: error: expected declaration or statement at end of input
   14 |  return 0;
      |  ^~~~~~
Language: Java

import java.util.*;

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

}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: warning: left shift count >= width of type [-Wshift-count-overflow]
    9 |         if(n>=40 && n<<=40)
      |            ~~~~~~~~~~^~~~~
a.cc:9:18: error: lvalue required as left operand of assignment
    9 |         if(n>=40 && n<<=40)
      |            ~~~~~~^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
    int n;
    while(1)
    {
        cin>>n;
        if(n>=40 && n<<=40)
        {
            if(n>=30)
            {
                cout<<"Yes"<<endl;
                break;
            }
            else
                cout<<"NO"<<endl;
        }
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:22: warning: left shift count >= width of type [-Wshift-count-overflow]
    9 |         if(n>=40 && n<<=40)
      |            ~~~~~~~~~~^~~~~
a.cc:9:18: error: lvalue required as left operand of assignment
    9 |         if(n>=40 && n<<=40)
      |            ~~~~~~^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int X;
     cin>>X;2
    if(X>=-40 && X<=40)
    {

        if(X>=30)
       {
           cout<<"yes";

       }
       else
       {
           cout<<"no";
       }
    }
    return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: expected ';' before 'if'
    6 |      cin>>X;2
      |              ^
      |              ;
    7 |     if(X>=-40 && X<=40)
      |     ~~
Language: C

#include<stdio.h>
int main()
{
      int x;
      scanf("%d", &x);
      if (num >= 30)
      {
             printf("Yes");
      }
      else
      {
             printf("No");
      }
      return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:11: error: 'num' undeclared (first use in this function)
    6 |       if (num >= 30)
      |           ^~~
main.c:6:11: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>
int main()
{
      int x;
      scanf("%d", &x);
      if (x >= 30)
      {
             printf("Yes);
      }
      else
      {
             printf("No");
      }
      return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:21: warning: missing terminating " character
    8 |              printf("Yes);
      |                     ^
main.c:8:21: error: missing terminating " character
    8 |              printf("Yes);
      |                     ^~~~~~
main.c:9:7: error: expected expression before '}' token
    9 |       }
      |       ^
main.c:8:21: error: expected ';' before '}' token
    8 |              printf("Yes);
      |                     ^
      |                     ;
    9 |       }
      |       ~
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:1: error: expected '}' before 'else'
   11 | else{
      | ^~~~
a.cc:8:10: note: to match this '{'
    8 | if(a>=30){
      |          ^
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

#include <iostream>
using namespace std
int main(){

int a;
cin>>a;
if(a>=30){
cout<<"Yes";

else{
cout<<"No";

return 0;
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:10:1: error: expected '}' before 'else'
   10 | else{
      | ^~~~
a.cc:7:10: note: to match this '{'
    7 | if(a>=30){
      |          ^
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c:3:5: error: two or more data types in declaration specifiers
    3 | int int main() {
      |     ^~~
main.c: In function 'main':
main.c:6:30: warning: multi-character character constant [-Wmultichar]
    6 |   if(n >= 30) printf("&s\n", 'Yes');
      |                              ^~~~~
main.c:7:23: warning: multi-character character constant [-Wmultichar]
    7 |   else printf("%s\n", 'No');
      |                       ^~~~
Language: C++

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

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

#include <bits/stdc++.h>
#include <chrono>
#include <math.h>
using namespace std;
using ll = long long;
using ld = long double;
using namespace std::chrono; 
#define fo(i,z,n) for(int i = z;i<n;i++)
#define Fo(i,z,n) for(ll i = z;i<n;i++)
#define INT_BITS 32
#define mod 1000000007
#define vi vector<int>
#define vll vector<ll>
#define vvi vector<vector<int> >
#define vvl vector<vector<ll> > 
#define pb push_back
#define f first
// #define s second
#define int long long
#define float long double
#define all(c) (c).begin(), (c).end()
#define endl '\n'




int32_t main()
{
 
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
     cout.tie(0);
   	
     // int t;
     // cin >> t;

     // while(t--){
 		

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



return 0;
}




Compiler output:
a.cc: In function 'int32_t main()':
a.cc:43:4: error: 'X' was not declared in this scope
   43 | if(X == 30){
      |    ^
Language: C++

#include <bits.stdc++.h>

using namespace std;

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

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