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

#include <iostream<
using namespace std;

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

Compiler output:
a.cc:1:20: error: missing terminating > character
    1 | #include <iostream<
      |                    ^
a.cc:1:10: fatal error: iostream<: No such file or directory
    1 | #include <iostream<
      |          ^
compilation terminated.
Language: C++

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected expression before '>' token
    5 | if(n=>30)printf("Yes");
      |      ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected expression before '>' token
    5 | if(n=>30)printf("Yes");
      |      ^
Language: C++

#include <bits/stdc++.h> 
using namespace std;
typedef pair<int, int> pairs; 
int main()
{
int n;
int d;

    set<pairs> s; 
  cin>>n>>d;
  long long x[n];
  long long  y[n];
  long long  cnt=0;
  for(int i=0;i<n;i++)
  {int x,y;
    cin>>x>>y;
   pairs x1 = make_pair(x, y);
    s.insert(x1); 
  }
   for (auto const &c : s) { 
         if((c.first*c.first+c.second*c.second<=d*d)
      cnt++; 
  
   
   } 
  

  cout<<cnt;
 
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:53: error: expected ';' before 'cnt'
   21 |          if((c.first*c.first+c.second*c.second<=d*d)
      |                                                     ^
      |                                                     ;
   22 |       cnt++;
      |       ~~~                                            
a.cc:25:4: error: expected primary-expression before '}' token
   25 |    }
      |    ^
a.cc:22:13: error: expected ')' before '}' token
   22 |       cnt++;
      |             ^
      |             )
......
   25 |    }
      |    ~         
a.cc:21:12: note: to match this '('
   21 |          if((c.first*c.first+c.second*c.second<=d*d)
      |            ^
a.cc:25:4: error: expected primary-expression before '}' token
   25 |    }
      |    ^
Language: C


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

Compiler output:
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 | scanf("%d", &n);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | 
main.c:4:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 | scanf("%d", &n);
      | ^~~~~
main.c:4:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:6: error: expected expression before '>' token
    5 | if(n=>30)printf("Yes");
      |      ^
main.c:5:10: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 | if(n=>30)printf("Yes");
      |          ^~~~~~
main.c:5:10: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:10: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:10: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:6: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    6 | else printf("No");}
      |      ^~~~~~
main.c:6:6: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#inlcude <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:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   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 | #inlcude <iostream>
a.cc:7:14: error: 'cout' was not declared in this scope
    7 |   if(x >= 30)cout << "Yes\n";
      |              ^~~~
a.cc:7:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << "No\n";
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

Compiler output:
a.cc:7:26: warning: missing terminating ' character
    7 |         else cout<<"No\n"';
      |                          ^
a.cc:7:26: error: missing terminating ' character
    7 |         else cout<<"No\n"';
      |                          ^~
a.cc: In function 'int main()':
a.cc:7:26: error: expected ';' before '}' token
    7 |         else cout<<"No\n"';
      |                          ^
      |                          ;
    8 | }
      | ~
Language: C++

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

Compiler output:
a.cc:7:26: warning: missing terminating ' character
    7 |         else cout<<"No\n"';
      |                          ^
a.cc:7:26: error: missing terminating ' character
    7 |         else cout<<"No\n"';
      |                          ^~
a.cc: In function 'int main()':
a.cc:7:26: error: expected ';' before '}' token
    7 |         else cout<<"No\n"';
      |                          ^
      |                          ;
    8 | }
      | ~
Language: C++

#include <iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:17: error: expected ';' before '{' token
   13 |         (x < 30)
      |                 ^
      |                 ;
   14 |     {
      |     ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:26: error: expected ';' before '}' token
    7 |         else cout<<"No\n"
      |                          ^
      |                          ;
    8 | }
      | ~
Language: Java

import java.util.*;

class Main{
public static void main()
{
Scanner sc = new Scanner(System.in);
if (x >=30) {
 System.out.println("YES");
} else {
 System.out.println("NO");
}
}
}




Compiler output:
Main.java:7: error: cannot find symbol
if (x >=30) {
    ^
  symbol:   variable x
  location: class Main
1 error
Language: C++

#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
 
#include <bits/stdc++.h>
using namespace std;
 
typedef long long ll;
typedef long double ld;
 
typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;
 
typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
 
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define FINOUT freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout)
#define FOR(i, a, b) for (int i = a; i < (b); ++i)
#define FORd(i, a, b) for(int i = (b) - 1; i >= a; --i)
#define trav(a, x) for(auto& a : x)
 
#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end() 
#define endl '\n'
const int MOD = 1000000007;
const int MAXN = 1e6;
  
int main(){
    IOS;
    // FINOUT;
    int T = 1;
    // cin >> T;
    while(T--){
        int x;
        cin >> x;
        cout << (x >= 30 ? "Yes" : "No");
    }
    return 0;
}#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
 
#include <bits/stdc++.h>
using namespace std;
 
typedef long long ll;
typedef long double ld;
 
typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;
 
typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
 
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define FINOUT freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout)
#define FOR(i, a, b) for (int i = a; i < (b); ++i)
#define FORd(i, a, b) for(int i = (b) - 1; i >= a; --i)
#define trav(a, x) for(auto& a : x)
 
#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end() 
#define endl '\n'
const int MOD = 1000000007;
const int MAXN = 1e6;
  
int main(){
    IOS;
    // FINOUT;
    int T = 1;
    // cin >> T;
    while(T--){
        int x;
        cin >> x;
        cout << (x >= 30 ? "Yes" : "No");
    }
    return 0;
}

Compiler output:
a.cc:47:2: error: stray '#' in program
   47 | }#pragma GCC optimize ("O3")
      |  ^
a.cc:47:3: error: 'pragma' does not name a type; did you mean '_Pragma'?
   47 | }#pragma GCC optimize ("O3")
      |   ^~~~~~
      |   _Pragma
a.cc:79:11: error: redefinition of 'const int MOD'
   79 | const int MOD = 1000000007;
      |           ^~~
a.cc:33:11: note: 'const int MOD' previously defined here
   33 | const int MOD = 1000000007;
      |           ^~~
a.cc:80:11: error: redefinition of 'const int MAXN'
   80 | const int MAXN = 1e6;
      |           ^~~~
a.cc:34:11: note: 'const int MAXN' previously defined here
   34 | const int MAXN = 1e6;
      |           ^~~~
a.cc:82:5: error: redefinition of 'int main()'
   82 | int main(){
      |     ^~~~
a.cc:36:5: note: 'int main()' previously defined here
   36 | int main(){
      |     ^~~~
Language: C

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

int main(){

    int x;
   scanf("%d",&x);
   if(x>=30)
   {
    printf("Yes");
   }
   else
    printf("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++

#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
 
#include <bits/stdc++.h>
using namespace std;
 
typedef long long ll;
typedef long double ld;
 
typedef pair<int, int> pi;
typedef pair<ll,ll> pl;
typedef pair<ld,ld> pd;
 
typedef vector<int> vi;
typedef vector<ld> vd;
typedef vector<ll> vl;
typedef vector<pi> vpi;
typedef vector<pl> vpl;
 
#define IOS ios_base::sync_with_stdio(0); cin.tie(0)
#define FINOUT freopen("input.txt", "r", stdin); freopen("output.txt", "w", stdout)
#define FOR(i, a, b) for (int i = a; i < (b); ++i)
#define FORd(i, a, b) for(int i = (b) - 1; i >= a; --i)
#define trav(a, x) for(auto& a : x)
 
#define sz(x) (int)(x).size()
#define mp make_pair
#define pb push_back
#define lb lower_bound
#define ub upper_bound
#define all(x) x.begin(), x.end() 
#define endl '\n'
const int MOD = 1000000007;
const int MAXN = 1e6;
 
int main(){
    IOS;
    // FINOUT;
    seive();
    int T = 1;
    // cin >> T;
    while(T--){
        int x;
        cin >> x;
        cout << (x >= 30 ? "Yes" : "No");
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:39:5: error: 'seive' was not declared in this scope
   39 |     seive();
      |     ^~~~~
Language: C++

#include <iostream>
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:12:29: error: expected ';' before 'return'
   12 |                 cout << "No"
      |                             ^
      |                             ;
   13 |    return 0;
      |    ~~~~~~
Language: C++

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

int main() {
  int N, D;
  cin >> N >> D;
  int count = 0;
  for (int i = 0; i < N; i++) {
    int X, Y;
    cin >> X >> Y;
    if (X * X + Y * Y => D * D)
      count++;
  }
  cout << count << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: expected primary-expression before '>' token
   11 |     if (X * X + Y * Y => D * D)
      |                        ^
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:
main.c:1:9: fatal error: iostream: No such file or directory
    1 | #include<iostream>
      |         ^~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
bool ac(int temp)
{
  if(temp<30)
    return false;
  else
    return true;
}

int main()
{
  int temp;
  cin>>temp;
  bool result=ac(temp);
  if(result)
    cout<<"Yes";
  else
    cout<<"No";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   13 |   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:16:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   16 |     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:18:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |     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>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected ';' before '{' token
   15 |     else (x < 30)
      |                  ^
      |                  ;
   16 |     {
      |     ~
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)
    System.out.println("Yes");
    else 
    System.out.println("No");
    }
      //  System.out.println("Hello World");
    }
}


Compiler output:
Main.java:14: error: class, interface, enum, or record expected
}
^
1 error
Language: C++

#include <iostream>
using namspace std;
int main(){
  int x; cin >> x; cout << (x < 30? "No" : "Yes");
  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namspace'
    2 | using namspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:4:10: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   int x; cin >> x; cout << (x < 30? "No" : "Yes");
      |          ^~~
      |          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:4:20: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    4 |   int x; cin >> x; cout << (x < 30? "No" : "Yes");
      |                    ^~~~
      |                    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(void){
  int X = 0;
  scanf("%d",&X);
  if(i >= 30){
    puts("Yes");
  }else{
    puts("No");
  }
  return 0;
}

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>x;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout<<"YES";
      |     ^~~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"NO";
      |     ^~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int N = sc.nextInt();
		// スペース区切りの整数の入力
		int D = sc.nextInt();
        int X[];
		X = new int[N+1];
        int Y[];
		Y = new int[N+1];
        for (int i = 0; i < N; i++){
			 X[i] = sc.nextInt();
			 Y[i] = sc.nextInt();
        }
        int L;
        int Nstep ;
        Nstep=0;
        for (int j = 0; i < N; j++){
        L=((X[j])^2+(Y[j])^2)^(1/2);
        if (L<D+1){
        	Nstep=Nstep+1;
        }
        }
		// 出力
		System.out.println(Nstep);
	}
}


Compiler output:
Main.java:20: error: cannot find symbol
        for (int j = 0; i < N; j++){
                        ^
  symbol:   variable i
  location: class Main
1 error
Language: C++






#include<iostream>
int main()
 { long long a, b, c; 
cin>>c; 
if(c>=30) cout<<"Yes"<<endl;
 else cout<<"No"<<endl; } 


Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 | cin>>c;
      | ^~~
      | std::cin
In file included from a.cc:6:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 | if(c>=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:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 | if(c>=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:11:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |  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:11:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |  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: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int N = sc.nextInt();
		// スペース区切りの整数の入力
		int D = sc.nextInt();
        int X[];
		X = new int[N+1];
        int Y[];
		Y = new int[N+1];
        for (int i = 0; i < N; i++){
			 X[i] = sc.nextInt();
			 Y[i] = sc.nextInt();
        }
        int L;
        int Nstep ;
        Nstep=0;
        for (int i = 0; i < N; i++){
        L=((X[j])^2+(Y[j])^2)^(1/2);
        if (L<D+1){
        	Nstep=Nstep+1;
        }
        }
		// 出力
		System.out.println(Nstep);
	}
}


Compiler output:
Main.java:21: error: cannot find symbol
        L=((X[j])^2+(Y[j])^2)^(1/2);
              ^
  symbol:   variable j
  location: class Main
Main.java:21: error: cannot find symbol
        L=((X[j])^2+(Y[j])^2)^(1/2);
                       ^
  symbol:   variable j
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class shgd {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      for(int i=0,i<=1,i++){
		int X = sc.nextInt();
		if(X >= 30) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
    }

Compiler output:
Main.java:7: error: ';' expected
      for(int i=0,i<=1,i++){
                   ^
Main.java:7: error: ';' expected
      for(int i=0,i<=1,i++){
                      ^
Main.java:15: error: reached end of file while parsing
    }
     ^
3 errors
Language: C

#include<iostream>
using namespace std;
int main()
{
	int x;
	scanf("%d",&x);
	if(x>=30) printf("Yes");
	else printf("No");
	return 0;
} 

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc:4:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    4 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin>>n;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclue<bits/stdc++.h>
a.cc:10:17: error: 'cout' was not declared in this scope
   10 |                 cout<<"Yes"<<endl;
      |                 ^~~~
a.cc:10:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:30: error: 'endl' was not declared in this scope
   10 |                 cout<<"Yes"<<endl;
      |                              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclue<bits/stdc++.h>
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout<<"No"<<endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:21: error: 'endl' was not declared in this scope
   13 |         cout<<"No"<<endl;
      |                     ^~~~
a.cc:13:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int N = sc.nextInt();
		// スペース区切りの整数の入力
		int D = sc.nextInt();
        int X[];
		X = new int[N+1];
        int Y[];
		Y = new int[N+1];
        for (int i = 0; i < N; i++){
			 X[i] = sc.nextInt();
			 Y[i] = sc.nextInt();
        }
        int L;
        int Nstep ;
        Nstep=0;
        for (int i = 0; i < n; i++){
        L=((X[j])^2+(Y[j])^2)^(1/2);
        if (L<D+1){
        	Nstep=Nstep+1;
        }
        }
		// 出力
		System.out.println(Nstep);
	}
}


Compiler output:
Main.java:20: error: cannot find symbol
        for (int i = 0; i < n; i++){
                            ^
  symbol:   variable n
  location: class Main
Main.java:21: error: cannot find symbol
        L=((X[j])^2+(Y[j])^2)^(1/2);
              ^
  symbol:   variable j
  location: class Main
Main.java:21: error: cannot find symbol
        L=((X[j])^2+(Y[j])^2)^(1/2);
                       ^
  symbol:   variable j
  location: class Main
3 errors
Language: C++

T = int(input())

if T >= 30:
  print('Yes')
else:
  print('No')

Compiler output:
a.cc:4:9: warning: multi-character character constant [-Wmultichar]
    4 |   print('Yes')
      |         ^~~~~
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   print('No')
      |         ^~~~
a.cc:1:1: error: 'T' does not name a type
    1 | T = int(input())
      | ^
Language: Java

import java.util.Scanner;

public class shgd {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
      int y = 9;
		while(y!=8){
      int X = sc.nextInt();
		if(X >= 30) {
			System.out.println("Yes");
		}else {
			System.out.println("No");
		}
	}
    }


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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namepsace'
    2 | using namepsace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin>>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:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     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:7:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     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 <bits/stdc++.h>
using namespace std;

int main() {
  long long K;
  cin >> K;
  int i = 0;
  while (i < K) {
    int A = 7 * (pow(10, i + 1) - 1) / 9;
    if (A % K == 0)
      break;
    i++
  }
  if (i + 1 == K)
    cout << "-1" << endl;
  else
    cout << i + 1 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: expected ';' before '}' token
   12 |     i++
      |        ^
      |        ;
   13 |   }
      |   ~
Language: C++

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

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

Compiler output:
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>X;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(X>=30){
      | ^~
a.cc:10:1: error: expected unqualified-id before 'else'
   10 | else cout<<"No";
      | ^~~~
Language: C

#include<iostream>
#include<cstdio>
using namespace std;
int main(){
	int a,b;
	scanf("%d",&a);
	if(a>=30) printf("Yes");
	else printf("No");
	return 0;
}

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

#include<stdio.h>
#include <cstdlib>

int main(void) {



	int i;

	scanf("%d", &i);

	if (i >= 30) {
		printf("Yes\n");
	}
	else {
		printf("No\n");
	}


	return EXIT_SUCCESS;
}

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

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

int main() {
  long long K;
  cin >> K;
  for (int i = 0; i < K; i++) {
    int A = 7 * (pow(10, i + 1) - 1) / 9;
    if (A % K == 0)
      break;
  }
  if (i + 1 == K)
    cout << "-1" << endl;
  else
    cout << i + 1 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:7: error: 'i' was not declared in this scope
   12 |   if (i + 1 == K)
      |       ^
Language: C++

def A(x):
    d = "Yes"
    f = "No"
    if x<30:
        return f
    else:
        return d
x = int(input())
l = A(x)
print(l)

Compiler output:
a.cc:1:1: error: 'def' does not name a type
    1 | def A(x):
      | ^~~
Language: C++

#include <iostream >

int main() 
{

long long a, b, c;
cin>>c;
if(c>=30)
cout<<"Yes"<<endl;
else cout<<"NO"<<endl;




} 


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

#includ<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:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin>>n;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includ<bits/stdc++.h>
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"Yes"<<endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:18: error: 'endl' was not declared in this scope
    9 |     cout<<"Yes"<<endl;
      |                  ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #includ<bits/stdc++.h>
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:17: error: 'endl' was not declared in this scope
   11 |     cout<<"No"<<endl;
      |                 ^~~~
a.cc:11:17: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
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:10:3: error: expected '}' before 'else'
   10 |   else {
      |   ^~~~
a.cc:8:14: note: to match this '{'
    8 |   if (X >=30){
      |              ^
a.cc:14:3: error: expected '}' at end of input
   14 |  }
      |   ^
a.cc:5:2: note: to match this '{'
    5 |  {
      |  ^
Language: Java

import java.util.Scanner;

public class AC{

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

#include<iostream>

int main() 
{

long long a, b, c;
cin>>c;
if(c>=30)
cout<<"Yes"<<endl;
else cout<<"NO"<<endl;




} 


Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 | cin>>c;
      | ^~~
      | 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:9:1: 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:14: 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/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 | 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:10:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 | 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 <stdio.h>

int main(void) {
    int x;

    do {
        printf("現在の室温: ");
        scanf("%d", &x);
    } while(n < -40 || n > 40);

    if(n >= 30 && n <=40) {
        puts("Yes");
    }
    else if(-40 <= n && n < 30){
        puts("No");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:13: error: 'n' undeclared (first use in this function)
    9 |     } while(n < -40 || n > 40);
      |             ^
main.c:9:13: note: each undeclared identifier is reported only once for each function it appears in
Language: C


#include <stdio.h>

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

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: 'cin' undeclared (first use in this function)
    6 |     int x; cin>>x;
      |            ^~~
main.c:6:12: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:5: error: 'cout' undeclared (first use in this function)
    8 |     cout<<"YES"<<endl;
      |     ^~~~
main.c:8:18: error: 'endl' undeclared (first use in this function)
    8 |     cout<<"YES"<<endl;
      |                  ^~~~
Language: Java


import java.io.IOException;
import java.io.InputStreamReader;
import java.util.ArrayList;
import java.util.Arrays;
import java.util.List;
 
public class Main {
    public static void main(String[] args) throws IOException {
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String[] in = br.readLine().split(" ");
        long n = Long.parseLong(in[0]);
        if(n>=30) {
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }
}

Compiler output:
Main.java:10: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        ^
  symbol:   class BufferedReader
  location: class Main
Main.java:10: error: cannot find symbol
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
                                ^
  symbol:   class BufferedReader
  location: class Main
2 errors
Language: Java

import java.util.Scanner;

public class AC {

	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: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=new Scanner(System.in);
		int  x=sc.nextInt();
		if(x>=30) {
			System.out.println("Yes")
		}else {
			System.out.println("No");
		}

	}

}


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

#include<bits/stdc++.h>
int main() 
{

long long a, b, c;
cin>>c;
if(c>=30)
cout<<"Yes"<<endl;
else cout<<"NO"<<endl;




} 

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 | cin>>c;
      | ^~~
      | 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:1: 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:14: 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:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 | 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:9:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 | 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<stdio.h>
#include<bits/stdc++.h>
#include<iostream>
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:8:7: error: expected primary-expression before '>' token
    8 | cin > > n;
      |       ^
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)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}

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

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

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

#include<bits/stc++.h>
#define ri register int
#define ll long long
using namespace std;

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

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

import java.util.*;
public class Test{
	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:2: error: class Test is public, should be declared in a file named Test.java
public class Test{
       ^
1 error
Language: C++

#include<algorithm>
#include<bitset>
#include<cmath>
#include<complex>
#include<deque>
#include<functional>
#include<iomanip>
#include<iostream>
#include<map>
#include<numeric>
#include<queue>
#include<set>
#include<stack>
#include<string>
#include<unordered_map>
#include<unordered_set>
#include<utility>
#include<vector>

using namespace std;
typedef long long ll;

#define REP(i, n) for(ll i=0;i<(ll)(n);i++)
#define RREP(i, n) for(ll i=(ll)(n-1);i>=0;i--)
#define FOR(i, a, b) for(ll i=(ll)(a); i<=(ll)(b); i++)
#define RFOR(i, a, b) for(ll i=(ll)(a);i>=(ll)(b); i--)
#define ALL(x) (x).begin(),(x).end()
#define SIZE(x) ((ll)(x).size())
#define INF 1000000000000
#define MOD 10000007
#define PB push_back
#define MP make_pair
#define F first
#define S second

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


Compiler output:
a.cc: In function 'int main()':
a.cc:46:9: error: return-statement with no value, in function returning 'int' [-fpermissive]
   46 |         return;
      |         ^~~~~~
Language: C++

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:3:1: error: 'cin' was not declared in this scope
    3 | cin  >> n;
      | ^~~
a.cc:6:1: error: 'cout' was not declared in this scope
    6 | cout << "YES";
      | ^~~~
a.cc:9:1: error: 'cout' was not declared in this scope
    9 | cout << "NO";
      | ^~~~
Language: C++

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

int main(){
  long 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:12: error: expected '}' at end of input
    9 |   return 0;
      |            ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:9: error: expected expression before '>' token
    5 |    if(a=>30){
      |         ^
Language: C++

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


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #incldue; did you mean #include?
    1 | #incldue<bits/stdc++.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>n;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #incldue<bits/stdc++.h>
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<"No"<<endl;
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:17: error: 'endl' was not declared in this scope
    8 |     cout<<"No"<<endl;
      |                 ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #incldue<bits/stdc++.h>
a.cc:9:8: error: 'cout' was not declared in this scope
    9 |   else cout<<"Yes"<<endl;
      |        ^~~~
a.cc:9:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:21: error: 'endl' was not declared in this scope
    9 |   else cout<<"Yes"<<endl;
      |                     ^~~~
a.cc:9:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java

import java.util.*;
import java.io.PrintWriter;
public class Solution{
	
	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:3: error: class Solution is public, should be declared in a file named Solution.java
public class Solution{
       ^
1 error
Language: Java

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

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

/*
ID: wangjun30
LANG: C++11
TASK:
*/
#include<iostream>
#include<algorithm>
#include<windows.h>
#include<array>
#include<unordered_map>
#include<map>
#include<set>
#include<list>
#include<stack>
#include<unordered_set>
#include<vector>
#include<bitset>
#include<queue>
#include<iomanip>
#include<cmath>
#include<cstdio>
#include<cstring>
#include<cmath>
#include<stdexcept>
#include<climits>
#include<memory>
//#include<fstream>
#define int long long
using namespace std;
//ifstream cin(".in");
//ofstream cout(".out");
int main(){
	int n;
	cin>>n;
	if(n>=30)
		cout<<"Yes";
	else
		cout<<"No";
	return 0;
}

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

#include<bits/stdc++.h>
using namespace std;
int main(){
    int X,i,ans;
    cin >> X;

    if(X >= 30) cout << Yes << endl;
    else cout << No << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: 'Yes' was not declared in this scope
    7 |     if(X >= 30) cout << Yes << endl;
      |                         ^~~
a.cc:8:18: error: 'No' was not declared in this scope
    8 |     else cout << No << endl;
      |                  ^~
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:9:17: error: extended character 　 is not valid in an identifier
    9 |     else cout <<　"No";
      |                 ^
a.cc: In function 'int main()':
a.cc:9:17: error: '\U00003000' was not declared in this scope
    9 |     else cout <<　"No";
      |                 ^~
Language: C++

#include <iostream>
using namespace std;

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

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

#include <iostream>
#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:8:12: error: 'Yes' was not declared in this scope
    8 |     cout<< Yes <<endl;
      |            ^~~
a.cc:11:12: error: 'No' was not declared in this scope
   11 |     cout<< No <<endl;
      |            ^~