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

#include<iostream>
using namespcace std;
int main(){
  int n;
  cin>>n;
  if(n>=30)cout<<"Yes";
  else{
    cout<"no";
  }
  retrun 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespcace'
    2 | using namespcace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>n;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:12: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(n>=30)cout<<"Yes";
      |            ^~~~
      |            std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<"no";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:3: error: 'retrun' was not declared in this scope
   10 |   retrun 0;
      |   ^~~~~~
Language: C++

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


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

#include<iostream>
usimg namespace std;
int main(){
  int n;
  cin>>n;
  if(n>=30){
    cout<<"YES"<<endl;
  }
  else{
    cout<<"NO"<<endl;
  }
}

Compiler output:
a.cc:2:1: error: 'usimg' does not name a type
    2 | usimg namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>n;
      |   ^~~
      |   std::cin
In file included from 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/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     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.io.*;
public class main {
    public static void main(String [] args) throws IOException{
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        BufferedWriter bw = new BufferedWriter(new OutputStreamWriter(System.out));
        int x= Integer.parseInt(br.readLine());
        bw.write((x >= 30 ? "Yes" : "No"));
        bw.flush();
        bw.close();
        br.close();
    }
}


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

#include <bits/stdc++.h>
#define rep(i,n) for (int i = 0; i <(n); i++)
useing namespace std;
using 11 = 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:3:1: error: 'useing' does not name a type
    3 | useing namespace std;
      | ^~~~~~
a.cc:4:7: error: expected nested-name-specifier before numeric constant
    4 | using 11 = Long Long;
      |       ^~
a.cc:5:11: error: 'pair' does not name a type
    5 | using P = pair<int,int>;
      |           ^~~~
a.cc: In function 'int main()':
a.cc:9:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    9 |     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:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         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:11:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         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:13:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   13 |         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:13:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   13 |         cout << "no" << endl;
      |                         ^~~~
      |                         std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
#include <iterator>
#include <algorithm>
#include <map>
#include <string>
#include <vector>
#include <cmath>
#include <deque>
#include <iomanip>
#include <climits>

using namespace std;
#define range(a) a.begin(), a.end()
#define rep(i, c) for(int i = 0; i < (int)c; i++)
typedef long long ll;

template <typename T> ostream& operator<<(ostream& out, vector<T> &v){
  for (int i = 0; i < (int)v.size(); i++) {
    out<<v[i]<<' ';
  }
  return out;
}

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


Compiler output:
a.cc:29:13: warning: multi-character character constant [-Wmultichar]
   29 |     cout << 'Yes' << endl;
      |             ^~~~~
a.cc:31:13: warning: multi-character character constant [-Wmultichar]
   31 |     cout << 'No' << endl;
      |             ^~~~
a.cc: In function 'int main()':
a.cc:28:6: error: 'x' was not declared in this scope
   28 |   if(x >= 30){
      |      ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
int main() {
    int temp;
    scanf("%d", &temp);

    if(temp >= 30) {
        println("Yes\n");
    } else {
        println("No\n");
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'println' was not declared in this scope; did you mean 'rintl'?
    9 |         println("Yes\n");
      |         ^~~~~~~
      |         rintl
a.cc:11:9: error: 'println' was not declared in this scope; did you mean 'rintl'?
   11 |         println("No\n");
      |         ^~~~~~~
      |         rintl
Language: Java

public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
			
			int N = sc.nextInt();
			
			String s = sc.next();
			
			int len = s.length();
			
			int cnt=0;
			char[] sChars = s.toCharArray();
			int leftindex=N-1;
			
			int rdcnt=0;
			int whcnt=0;
			for(int i=0;i<N;i++) {
				if(sChars[i]=='W') {
					whcnt++;
				}else {
					rdcnt++;
				}
			}
			
			
			for(int i=0;i<N;i++) {
			
				if(sChars[i]=='W') {
					for(int j=0;j<leftindex-i;j++) {
						if(sChars[leftindex-j]=='R') {
							sChars[i]='R';
							sChars[leftindex-j]='W';
							leftindex=leftindex-j-1;
							cnt++;
							break;
						}
					}
					if(cnt>=rdcnt||cnt>=whcnt) {
						break;
					}
				}
				if(leftindex<=i) {
					break;
				}	
			}
			System.out.println(cnt);
	}	
}

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner sc = new Scanner(System.in);
		                 ^
  symbol:   class Scanner
  location: class Main
2 errors
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: In function 'int main()':
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:8:14: error: extended character − is not valid in an identifier
    8 |     if (X >= −40 && X <= 40 ){
      |              ^
a.cc: In function 'int main()':
a.cc:8:14: error: '\U0000221240' was not declared in this scope
    8 |     if (X >= −40 && X <= 40 ){
      |              ^~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:8:14: error: extended character − is not valid in an identifier
    8 |     if (X >= −40 && X <= 40 ){
      |              ^
a.cc: In function 'int main()':
a.cc:7:5: error: expected initializer before 'cin'
    7 |     cin >> X;
      |     ^~~
a.cc:8:9: error: 'X' was not declared in this scope
    8 |     if (X >= −40 && X <= 40 ){
      |         ^
a.cc:8:14: error: '\U0000221240' was not declared in this scope
    8 |     if (X >= −40 && X <= 40 ){
      |              ^~~
Language: C++

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

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

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

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

int main()
{
    int t;
    cin>>t;
    if(t>=30)
    cout<<"Yes\n";
    else
    cout<<"No\n";
    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:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     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
      |                  ^~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"Yes\n";
      |     ^~~~
      |     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\n";
      |     ^~~~
      |     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(){
  cin>>x;
  if(x>=30){
    cout<<"Yes"
  }
  else{
    cout<<"No";
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: 'x' was not declared in this scope
    4 |   cin>>x;
      |        ^
a.cc:6:16: error: expected ';' before '}' token
    6 |     cout<<"Yes"
      |                ^
      |                ;
    7 |   }
      |   ~
Language: C++

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

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

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

#include<stdio.h>
int main(){
  int x;
  scanf("%d",&x);
  x >29 ? printf("Yes\n"); : printf("No\n");
}

Compiler output:
main.c: In function 'main':
main.c:5:26: error: expected ':' before ';' token
    5 |   x >29 ? printf("Yes\n"); : printf("No\n");
      |                          ^
      |                          :
main.c:5:28: error: expected expression before ':' token
    5 |   x >29 ? printf("Yes\n"); : printf("No\n");
      |                            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define sim template < class c
#define ris return * this
#define dor > debug & operator <<
#define eni(x) sim > typename \
  enable_if<sizeof dud<c>(0) x 1, debug&>::type operator<<(c i) {
sim > struct rge { c b, e; };
sim > rge<c> range(c i, c j) { return rge<c>{i, j}; }
sim > auto dud(c* x) -> decltype(cerr << *x, 0);
sim > char dud(...);
struct debug {
#ifdef LOCAL
~debug() { cerr << endl; }
eni(!=) cerr << boolalpha << i; ris; }
eni(==) ris << range(begin(i), end(i)); }
sim, class b dor(pair < b, c > d) {
  ris << "(" << d.first << ", " << d.second << ")";
}
sim dor(rge<c> d) {
  *this << "[";
  for (auto it = d.b; it != d.e; ++it)
    *this << ", " + 2 * (it == d.b) << *it;
  ris << "]";
}
#else
sim dor(const c&) { ris; }
#endif
};
#define imie(...) " [" << #__VA_ARGS__ ": " << (__VA_ARGS__) << "] "
using ll = long long;
int main() {
    int x; cin >> x;
    if(x >= 30) cout << "YES\n";
    else cout << "NO\n"
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:35:24: error: expected ';' before 'return'
   35 |     else cout << "NO\n"
      |                        ^
      |                        ;
   36 |     return 0;
      |     ~~~~~~
Language: C++

#include <iostream> 

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:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> n;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:16: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if (n >= 30) cout << "Yes";
      |                ^~~~
      |                std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else cout << "No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:12: error: expected '}' at end of input
    9 |   return 0;
      |            ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
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:4:3: error: 'cin' was not declared in this scope
    4 |   cin >> n;
      |   ^~~
a.cc:6:16: error: 'cout' was not declared in this scope
    6 |   if (n >= 30) cout << "Yes";
      |                ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope
    7 |   else cout <<"No";
      |        ^~~~
a.cc:9:12: error: expected '}' at end of input
    9 |   return 0;
      |            ^
a.cc:1:11: note: to match this '{'
    1 | int main(){
      |           ^
Language: C

#include <bits/stdc++.h>
#define rep(i,n) for(int i=0; i<n; i++)
#define rrep(i,n) for(int i=1; i<n; i++)

using namespace std;
using vi = vector<int>;

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

    return 0;
}

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

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

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected expression before '%' token
    5 |         scanf(%d,&X);
      |               ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:15: error: expected expression before '%' token
    5 |         scanf(%d,&X);
      |               ^
Language: C

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

Compiler output:
main.c:2:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main {
      |          ^
Language: C

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

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

int main {
	int X = 0; 
	printf("X");
	scanf(%d,&X);
  	if (X>=30){
      printf("Yes");
    }else if (X>=-40){
      printf("No");
    }
}

Compiler output:
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    1 | int main {
      |          ^
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: expected primary-expression before '.' token
    7 |   if (n < 30) std::cout <<. "No\n";
      |                           ^
a.cc:7:29: error: expected unqualified-id before string constant
    7 |   if (n < 30) std::cout <<. "No\n";
      |                             ^~~~~~
Language: C++

#include <bits/stdc++.h>
#define mod 1000000007
#define ull unsigned ll
#define ll long long int
#define ld long double
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define ff first
#define ss second
#define pi acos(-1)
#define nui 100
#define INF 100000000000
 
#define F(i,a,n) for(ll i=a;i<n;i++)
#define B(i,a,n) for(ll i=n-1;i>=a;i--)
#define tc int t;cin>>t;while(t--)
#define tcf int t;cin>>t;for(int w=1;w<=t;w++)
 
 
 
using namespace std;
 
 
ll binpow(ll a, ll b)
{
    ll res = 1;
    while (b > 0)
    {
        if (b & 1)
        {
            res *= a;
        }
        a *= a;
        b >>= 1;
    }
    return res;
}
 
ll fermat_inv(ll y) {return binpow(y, mod - 2);}
 
/*vector<ll>adj[100001];
vector<bool>visited(100001, 0);
vector<ll>parent(100001, 0);
vector<ll>a(100001, 0);
 
void dfs(ll node)
{
    visited[node] = 1;
    for (auto i : adj[node])
    {
        if (!visited[i])
        {
            dfs(i);
            a[node] += a[i];
            parent[i] = node;
        }
    }
}*/
int main()
{
 
#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);
    freopen("output.txt", "w", stdout);
#endif
 
    ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
 
    ll x;
    if(x>=30)
    {
        cout<<"Yes\n";
    }
    els
    {

        cout<<"No\n";
    }
 
    return 0;
 
 
 
 
 
}
 
 
 

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

#include <bits/stdc++.h>
#define vc vector<int>
#define um unordered_map<int,int>
#define ll long long 
#define rep(i,a,b) for(__typeof(a) i=a; i<b; i++)
#define si(a) a.size()
#define all(a) a.begin(),a.end()
#define ss(a) a.second
#define ff(a) a.first
#define M 1000000
#define pb push_back
#define repit(i,a) for(auto i=a.begin(); i!=a.end(); i++)
#define take(arr,n) for(int i=0;i<n;i++)cin>>arr[i]
#define out(arr,n) for(int i=0;i<n;i++)cout<<arr[i]<<' '
#define yes cout<<"YES"<<endl
#define no cout<<"NO"<<endl
#define reprev(i,b,a) for(__typeof(b) i=b; i>=a; i--)
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);cout.tie(NULL)
#define MOD 1000000007
#define doublearray vector<vector<int>>
using namespace std;
ll max(ll a, ll b){ return a>b?a:b; }
ll min(ll a, ll b){ return a<b?a:b; }
ll gcd(ll a, ll b){
    if(b==0) return a;
    return gcd(b,a%b);
}
ll lcm(ll a, ll b){
    return (a*b)/gcd(a,b);
}
ll ans(ll a){
    return a<0?a+MOD:a;
}
int main(){
  int n; cin>>n
   cout<<(n>=30?"Yes":"No")<<endl;
          return 0;
          }





Compiler output:
a.cc: In function 'int main()':
a.cc:35:16: error: expected ';' before 'cout'
   35 |   int n; cin>>n
      |                ^
      |                ;
   36 |    cout<<(n>=30?"Yes":"No")<<endl;
      |    ~~~~
Language: C++

#include <bits/stdc++.h>
#define vc vector<int>
#define um unordered_map<int,int>
#define ll long long 
#define rep(i,a,b) for(__typeof(a) i=a; i<b; i++)
#define si(a) a.size()
#define all(a) a.begin(),a.end()
#define ss(a) a.second
#define ff(a) a.first
#define M 1000000
#define pb push_back
#define repit(i,a) for(auto i=a.begin(); i!=a.end(); i++)
#define take(arr,n) for(int i=0;i<n;i++)cin>>arr[i]
#define out(arr,n) for(int i=0;i<n;i++)cout<<arr[i]<<' '
#define yes cout<<"YES"<<endl
#define no cout<<"NO"<<endl
#define reprev(i,b,a) for(__typeof(b) i=b; i>=a; i--)
#define fastio ios_base::sync_with_stdio(false); cin.tie(NULL);cout.tie(NULL)
#define MOD 1000000007
#define doublearray vector<vector<int>>
using namespace std;
ll max(ll a, ll b){ return a>b?a:b; }
ll min(ll a, ll b){ return a<b?a:b; }
ll gcd(ll a, ll b){
    if(b==0) return a;
    return gcd(b,a%b);
}
ll lcm(ll a, ll b){
    return (a*b)/gcd(a,b);
}
ll ans(ll a){
    return a<0?a+MOD:a;
}
int main(){
  int n; cin>>n
   cout<<(n>=30?"Yes":"No)<<endl;
          return 0;
          }





Compiler output:
a.cc:36:23: warning: missing terminating " character
   36 |    cout<<(n>=30?"Yes":"No)<<endl;
      |                       ^
a.cc:36:23: error: missing terminating " character
   36 |    cout<<(n>=30?"Yes":"No)<<endl;
      |                       ^~~~~~~~~~~
a.cc: In function 'int main()':
a.cc:35:16: error: expected ';' before 'cout'
   35 |   int n; cin>>n
      |                ^
      |                ;
   36 |    cout<<(n>=30?"Yes":"No)<<endl;
      |    ~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin>>t;
      |         ^~~
a.cc:4:9: error: 'cout' was not declared in this scope
    4 |         cout<<(t>=30?"Yes":"No");
      |         ^~~~
a.cc:5:11: error: expected ';' before '}' token
    5 |   return 0
      |           ^
      |           ;
    6 | }
      | ~
Language: C


int input;

scanf("%d", &input);

if (input >= 30) {
  printf("yes");
}
else {
  printf("no");
}


Compiler output:
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d", &input);
      |       ^~~~
main.c:4:13: error: expected declaration specifiers or '...' before '&' token
    4 | scanf("%d", &input);
      |             ^
main.c:6:1: error: expected identifier or '(' before 'if'
    6 | if (input >= 30) {
      | ^~
main.c:9:1: error: expected identifier or '(' before 'else'
    9 | else {
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
int main()
{
    ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL);
	long long d,n,c=0;
	cin>>n>>d;
	while(n--)
	{
		cin>>a>>b;
		if(sqrt(a*a+b*b)<=d)
          	c++;
      	cout<<c<<'\n';
	}
	return 0;
}

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

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

int main()
{
  int N;
  cin>>N;
  if(N>=30)
    cout<<"yes;"
  else
    cout<<"no";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:17: error: expected ';' before 'else'
    9 |     cout<<"yes;"
      |                 ^
      |                 ;
   10 |   else
      |   ~~~~
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:7:17: error: expected ';' before 'else'
    7 |    printf("YES")
      |                 ^
      |                 ;
    8 |    else
      |    ~~~~
Language: C++

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

Compiler output:
a.cc:4:1: error: expected initializer before 'int'
    4 | int main()
      | ^~~
Language: C++

#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("03")
#pragma GCC optimization("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
typedef long long ll
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);cout.tie(NULL);
    int x; 
    cin>>x;
    if(x>=30)
    	cout<<"Yes";
    else
    	cout<<"No";
}

Compiler output:
a.cc:7:1: error: expected initializer before 'int'
    7 | int main()
      | ^~~
Language: C++

#pragma GCC target("avx,avx2,fma")
#pragma GCC optimization("03")
#pragma GCC optimization("unroll-loops")
#include<bits/stdc++.h>
using namespace std;
typedef long long ll
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);cout.tie(NULL);
    int x; 
    cin>>x;
    if(x>=30)
    	cout<<"Yes";
    else
    	cout<<"No;

Compiler output:
a.cc:16:15: warning: missing terminating " character
   16 |         cout<<"No;
      |               ^
a.cc:16:15: error: missing terminating " character
   16 |         cout<<"No;
      |               ^~~~
a.cc:7:1: error: expected initializer before 'int'
    7 | int main()
      | ^~~
Language: C++

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

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:8:11: error: 'Yes' was not declared in this scope
    8 |     cout<<Yes<<endl;
      |           ^~~
a.cc:11:11: error: 'No' was not declared in this scope
   11 |     cout<<No<<endl;
      |           ^~
Language: C++

#include<iostream>
int main(){
  using namespace std;
  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:13: error: 'Yes' was not declared in this scope
    7 |     cout << Yes;
      |             ^~~
a.cc:9:13: error: 'No' was not declared in this scope
    9 |     cout << No;
      |             ^~
Language: C++

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:5:3: error: 'cin' was not declared in this scope
    5 |   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 | using namespace std;
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:22: error: 'endl' was not declared in this scope
    7 |     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 | using namespace std;
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "No" << endl;
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:21: error: 'endl' was not declared in this scope
    9 |     cout << "No" << endl;
      |                     ^~~~
a.cc:9:21: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before '>' token
    7 |   if(x=>30){
      |        ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long
const int INF = 1e9  + 5;
int main() {
	ios::sync_with_stdio(0);
	cin.tie(0);
	int n;
	cin >> n;
	if(m < 30)
		cout << "No\n";
	else
		cout << "Yes\n";
} 


Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: 'm' was not declared in this scope
   10 |         if(m < 30)
      |            ^
Language: C++

#include<iostream>

int main() {
  int t;
  cin >> t;
  cout << (t>=30 ? "Yes" : "No") << endl;
  return 0;
}

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

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

int main(){
    ios_base::sync_with_stdio(false);cin.tie(0);cout.tie(0);
    //freopen("../input.txt","r",stdin);

    int K;
    cin >> K;

    ll num = 0;
    bool possible = false;
    int ans = 0;
    for (int i = 1; i <=18; ++i) {
        num = (num*10 + 7)%K;
        if(num%k == 0){
            possible = true;
            ans = i;
            break;
        }
    }
    if(possible){
        cout << ans << "\n";
    }else{
        
            cout << -1 << "\n";
        
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:17:16: error: 'k' was not declared in this scope
   17 |         if(num%k == 0){
      |                ^
Language: C++

#pragma GCC optimize ("O3")
#pragma GCC target ("sse4")
#include <iostream>
#include <cstdio>
#include <cstdlib>
#include <algorithm>
#include <cmath>
#include <vector>
#include <list>
#include <set>
#include <map>
#include <unordered_set>
#include <unordered_map>
#include <queue>
#include <ctime>
#include <cassert>
#include <complex>
#include <stack>
#include <string>
#include <cstring>
#include <chrono>
#include <random>
#include <bitset>
#include <sstream>
#include <iomanip>
using namespace std;


#define int int64_t
#define vi vector<int>
#define vb vector<bool>
#define vbb vector< vector<bool> >
#define all(x) (x).begin(), (x).end()
#define vii vector< vector<int> >
#define rip(dp, n, m) vector< vector<int> > dp(n, vector<int>(m,0))
#define ff first
#define ss second
#define pii pair<int64_t, int64_t>
#define miv map<int, vector<int> >
#define mp make_pair
#define pb push_back
#define prr(x) cout << (#x) <<'	' << (x) << endl
#define pr(x) cout  << (x) << endl
#define f(i,n) for(i=0;i<n;i++)
#define pqb priority_queue<int>
#define pqs priority_queue<int,vi,greater<int> >
#define setbits(x)  __builtin_popcountll(x)
#define zrobits(x)  __builtin_ctzll(x)
#define mod 1000000007
#define inf 1e18
#define ps(x,y) fixed<<setprecision(y)<<x
#define mk(arr,n,type)  type *arr=new type[n];
#define w(x) int x; cin>>x; while(x--)
#define FIO  ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
mt19937 rng(chrono::steady_clock::now().time_since_epoch().count());


int32_t main()
{
    FIO;
    int i, j, m, k, l, t;
   cin >> n;
   if(n>=30) cout << "Yes";
   else cout << "No";
}

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

#pragma GCC optimize ("Ofast")

#define _CRT_SECURE_NO_WARNINGS
#define _SILENCE_CXX17_C_HEADER_DEPRECATION_WARNING

#include <iostream>
using namespace std;



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

	ios_base::sync_with_stdio(false);
	cin.tie(nullptr), cout.tie(nullptr);


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

Compiler output:
a.cc: In function 'int main()':
a.cc:21:18: error: 'x' was not declared in this scope
   21 |         cout << (x >= 30?"Yes": "No");
      |                  ^
Language: C++

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

Compiler output:
a.cc:2:17: error: 'stdl' is not a namespace-name
    2 | using namespace stdl
      |                 ^~~~
a.cc:2:21: error: expected ';' before 'int'
    2 | using namespace stdl
      |                     ^
      |                     ;
    3 |   int main(){
      |   ~~~                
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>n;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:12: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(n>=30)cout<<"Yes"<<endl;
      |            ^~~~
      |            std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   if(n>=30)cout<<"Yes"<<endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else cout<<"No"<<endl;
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   else cout<<"No"<<endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: 'X' was not declared in this scope
    9 |     long long X,Y; cin>>X>>Y;
      |                         ^
a.cc:9:28: error: 'Y' was not declared in this scope
    9 |     long long X,Y; cin>>X>>Y;
      |                            ^
a.cc: At global scope:
a.cc:12:3: error: 'cout' does not name a type
   12 |   cout<<ans<<endl;
      |   ^~~~
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<bits/stdc++.h>
using namespace std;
 
int main()
{
  int x;
  scanf("%d", &x);
  if(x>=30)
    printf("Yes\n);
           else
           printf("No\n");
           }


Compiler output:
a.cc:9:12: warning: missing terminating " character
    9 |     printf("Yes\n);
      |            ^
a.cc:9:12: error: missing terminating " character
    9 |     printf("Yes\n);
      |            ^~~~~~~~
a.cc: In function 'int main()':
a.cc:10:12: error: expected primary-expression before 'else'
   10 |            else
      |            ^~~~
Language: C++

#include <iostream>
using namespace std;

int main()
{
  int n;
  cin >> n;
  cout << (n>=30 "YES" : "NO");
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:17: error: expected ')' before string constant
    8 |   cout << (n>=30 "YES" : "NO");
      |           ~     ^~~~~~
      |                 )
Language: C++

#include<bits/stdc++.h>
uisng namespace std;
 
int main()
{
  int x;
  scanf("%d", &x);
  if(x>=30)
    printf("Yes\n);
           else
           printf("No\n");
           }

Compiler output:
a.cc:9:12: warning: missing terminating " character
    9 |     printf("Yes\n);
      |            ^
a.cc:9:12: error: missing terminating " character
    9 |     printf("Yes\n);
      |            ^~~~~~~~
a.cc:2:1: error: 'uisng' does not name a type
    2 | uisng namespace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:10:12: error: expected primary-expression before 'else'
   10 |            else
      |            ^~~~
Language: C++

#include<bits/stdc++.h>
uisng namesoace std;

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

Compiler output:
a.cc:9:12: warning: missing terminating " character
    9 |     printf("Yes\n);
      |            ^
a.cc:9:12: error: missing terminating " character
    9 |     printf("Yes\n);
      |            ^~~~~~~~
a.cc:2:1: error: 'uisng' does not name a type
    2 | uisng namesoace std;
      | ^~~~~
a.cc: In function 'int main()':
a.cc:10:12: error: expected primary-expression before 'else'
   10 |            else
      |            ^~~~
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:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:8:10: note: to match this '{'
    8 |     }else{
      |          ^
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include<stdio.h>
void main(){
  int x;
  scanf("%d",&x);
  if(x>29){
    System.out.println("Yes");}
  else{
   System.out.println("No");}
 
}
 


Compiler output:
main.c: In function 'main':
main.c:6:5: error: 'System' undeclared (first use in this function)
    6 |     System.out.println("Yes");}
      |     ^~~~~~
main.c:6:5: note: each undeclared identifier is reported only once for each function it appears in
Language: Java

import java.util.Scanner;

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

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

Compiler output:
main.c:1:1: error: unknown type name 'public'
    1 | public class Main{
      | ^~~~~~
main.c:1:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    1 | public class Main{
      |              ^~~~
Language: Java

import java.util.Scanner;

public class Air Conditioner {
    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: '{' expected
public class Air Conditioner {
                ^
1 error
Language: C++

#include<bits/stdc++.h>

using namespace std;

int main(){
	int n;
  	cin>>n;
  	cout<<(n>=30)?"Yes":"No"<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:33: error: invalid operands of types 'const char [3]' and '<unresolved overloaded function type>' to binary 'operator<<'
    8 |         cout<<(n>=30)?"Yes":"No"<<endl;
      |                             ~~~~^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 int main(){
   int n,d;
   cin >> n >> d;
   int a = 0;
   int i= 0; i < n ; ++i){
     int x,y;
      cin >> x >> y;
     if (d*d >= x*x+y*y) a++;
   }
   else{}
   cont << a << endl;
   return 0 +
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:7:25: error: expected ';' before ')' token
    7 |    int i= 0; i < n ; ++i){
      |                         ^
      |                         ;
a.cc:12:4: error: 'else' without a previous 'if'
   12 |    else{}
      |    ^~~~
a.cc:13:4: error: 'cont' was not declared in this scope; did you mean 'const'?
   13 |    cont << a << endl;
      |    ^~~~
      |    const
a.cc:15:2: error: expected primary-expression before '}' token
   15 |  }
      |  ^
a.cc:14:14: error: expected ';' before '}' token
   14 |    return 0 +
      |              ^
      |              ;
   15 |  }
      |  ~
Language: Java

import java.util.Scanner;

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

#inclide<iostream>
#inclide<cstdlib>

int main()
{

using namespace std;

int x;

cin >> x;

if(x>=30)
cout << "Yes";

else
cout << "No";

cin.get();
return 0;
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclide; did you mean #include?
    1 | #inclide<iostream>
      |  ^~~~~~~
      |  include
a.cc:2:2: error: invalid preprocessing directive #inclide; did you mean #include?
    2 | #inclide<cstdlib>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:11:1: error: 'cin' was not declared in this scope
   11 | 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 | #inclide<iostream>
a.cc:14:1: error: 'cout' was not declared in this scope
   14 | cout << "Yes";
      | ^~~~
a.cc:14:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:1: error: 'cout' was not declared in this scope
   17 | cout << "No";
      | ^~~~
a.cc:17:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: Java

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

}

}

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

#include<bits/stdc++.h>
using namespace std;
#define  ft  ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define  ll  long long
#define  pi  pair<int,int>
#define  pb  push_back
#define  F   first
#define  S   second
#define  B   begin()
#define  E   end()
const int N=2e5+3;
//string s,p;
//vector<int>v;
//map<int,int>mp;

int main()
{
    ft
    int t,i,j,n,m,l,r;
    cin>>x;
    if(x>=30)
    {
        cout<<"Yes\n";
    }
    else
    {
        cout<<"No\n";
    }
    return 0;
}



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



import java.util.Scanner;

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