criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.Scanner();
class a
{
   public static void main(String args[])
   {
     Scanner sc=new Scanner(System.in);
     int n=sc.nextInt();
     if(n>20)
       System.out.println("yes");
     else
       System.out.println("no");
   }
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner();
                        ^
1 error
Language: Java

import java.util.*;
class a
{
   public static void main(Strings args[])
   {
     Scanner sc=new Scanner(System.in);
     int n=sc.nextInt();
     if(n>20)
       System.out.println("yes");
     else
       System.out.println("no");
   }
}

Compiler output:
Main.java:4: error: cannot find symbol
   public static void main(Strings args[])
                           ^
  symbol:   class Strings
  location: class a
1 error
Language: Java

import java.util.Scanner();
class a
{
   public static void main(Strings args[])
   {
     Scanner sc=new Scanner(System.in);
     int n=sc.nextInt();
     if(n>20)
       System.out.println("yes");
     else
       System.out.println("no");
   }
}

Compiler output:
Main.java:1: error: ';' expected
import java.util.Scanner();
                        ^
1 error
Language: Java

class a
{
  public static void main(String args[])
  {
    Scanner sc=new Scanner(System.in);
    int n=sc.nextInt();
    if(n>20)
      System.out.println("yes");
    else
      System.out.println("no");
  }
}

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:4:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |  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:5:2: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |  cout << ((n >= 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:5:36: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    5 |  cout << ((n >= 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 <iostream>

int main() {

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>x;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nemaspace'
    2 | using nemaspace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   cin >> 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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << "Yes";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     cout << "No";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h> 
  using namespace std; 
int main(){
  int N;
  cin >> N;
  cout << 1000 - ( N % 1000 ) << endl;
}

Compiler output:
a.cc:2:2: error: extended character   is not valid in an identifier
    2 |   using namespace std;
      |  ^
a.cc:2:2: error: '\U000000a0using' does not name a type
    2 |   using 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 /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:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   cout << 1000 - ( N % 1000 ) << 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:34: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |   cout << 1000 - ( N % 1000 ) << 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)
      |     ^~~~
Language: C++

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


Compiler output:
a.cc:2:2: error: extended character   is not valid in an identifier
    2 |   using namespace std;
      |  ^
a.cc:2:2: error: '\U000000a0using' does not name a type
    2 |   using 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 >> X;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7: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:22: 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:5: error: 'cou' was not declared in this scope; did you mean 'cos'?
   11 |     cou << "No" << endl;
      |     ^~~
      |     cos
a.cc:11:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     cou << "No" << endl;
      |                    ^~~~
      |                    std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

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


Compiler output:
a.cc:2:2: error: extended character   is not valid in an identifier
    2 |   using namespace std;
      |  ^
a.cc:2:2: error: '\U000000a0using' does not name a type
    2 |   using 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 >> X;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7: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:22: 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:5: 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:20: 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: Java

import java.util.Scanner;

public class Paypal1 {

    public static void main(String[] args) {

        Scanner sc = new Scanner(System.in);
        int n = sc.nextInt();

        System.out.println(n>= 30? "Yes": "No");
        
    }
}


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

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

Compiler output:
main.c: In function 'main':
main.c:8:3: error: unknown type name 'or'
    8 |   or
      |   ^~
main.c:9:12: error: expected declaration specifiers or '...' before string constant
    9 |     printf("No");
      |            ^~~~
main.c:10:3: error: 'rerurn' undeclared (first use in this function)
   10 |   rerurn 0;
      |   ^~~~~~
main.c:10:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:9: error: expected ';' before numeric constant
   10 |   rerurn 0;
      |         ^~
      |         ;
Language: C

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


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

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

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

import java.util.*;
class Main
{
  public static void main(Strings args[])
  {
    	Scanner sc=new Scanner(System.in);
    	int x=sc.nextInt();
    	System.out.println(x>=30?"Yes":"No");
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
  public static void main(Strings args[])
                          ^
  symbol:   class Strings
  location: class Main
1 error
Language: Java

import java.util.*;
class Charan
{
  public static void main(Strings args[])
  {
    	Scanner sc=new Scanner(System.in);
    	int x=sc.nextInt();
    	System.out.println(x>=30?"Yes":"No");
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
  public static void main(Strings args[])
                          ^
  symbol:   class Strings
  location: class Charan
1 error
Language: Java

import java.util.*;
class Charan
{
  public stataic void main(Strings args[])
  {
    	Scanner sc=new Scanner(System.in);
    	int x=sc.nextInt();
    	System.out.println(x>=30?"Yes":"No");
  }
}

Compiler output:
Main.java:4: error: <identifier> expected
  public stataic void main(Strings args[])
                ^
1 error
Language: C++

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

return 0;}

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #iclude; did you mean #include?
    1 | #iclude<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:3:8: error: found ':' in nested-name-specifier, expected '::'
    3 |   int x:
      |        ^
      |        ::
a.cc:3:7: error: 'x' has not been declared
    3 |   int x:
      |       ^
a.cc:4:6: error: qualified-id in declaration before '>>' token
    4 |   cin>> x;
      |      ^~
a.cc:5:6: error: 'x' was not declared in this scope
    5 |   if(x>=30)cout<<"Yes"<<endl;
      |      ^
a.cc:5:12: error: 'cout' was not declared in this scope
    5 |   if(x>=30)cout<<"Yes"<<endl;
      |            ^~~~
a.cc:5:25: error: 'endl' was not declared in this scope
    5 |   if(x>=30)cout<<"Yes"<<endl;
      |                         ^~~~
a.cc:6:8: error: 'cout' was not declared in this scope
    6 |   else cout<<"No"<<endl;
      |        ^~~~
a.cc:6:20: error: 'endl' was not declared in this scope
    6 |   else cout<<"No"<<endl;
      |                    ^~~~
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:9:15: error: expected ';' before '}' token
    9 |   printf("NO")
      |               ^
      |               ;
   10 | }
      | ~
Language: C++

/*input

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:33: error: expected ';' before 'return'
    9 |   cout<<(x>=30?"Yes":"No")<<"\n"
      |                                 ^
      |                                 ;
   10 |         return 0;
      |         ~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: expected '}' before 'else'
    8 |   else
      |   ^~~~
a.cc:6:11: note: to match this '{'
    6 |   if(n<30){
      |           ^
Language: C++

#include <bits.stdc++.h>

int main(){
  
  int X;
  scanf("%d", &X);
  
  if( X >= 30 ) printf("YES\n");
  else printf("NO\n");
  
  return 0;
  
}

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


import java.util.Scanner;

public class HackerRank {

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

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


import java.util.Scanner;

public class HackerRank {

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

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

#include<bits/stdc++.h>
using namespace std;
                       ///****   Hasebul Hassan Chowdhury ***////
#define ms(a,v)        memset(a,v,sizeof a)
#define lll            long long
#define FOR(i,a,b)     for(int i=a;i<=b;i++)
#define fast           ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
#define Read           freopen("input.txt", "r", stdin)
#define Write          freopen("output.txt", "w", stdout)
#define INF            1e18


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

int main()
{
    fast
    #ifndef ONLINE_JUDGE
    //Read;
    //Write;
    #endif
    //sieve();
    //int cnt=1;
    //int t; scanf("%d",&t); while(t--) solve();
    solve();
}


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

#include <iostream>

int main()
{
    int x;

    cin >> x;

    if(x >= 30)
    {
        std::cout << "Yes" << std::endl; 
    }

    else{
        std::cout << "No" << std::endl; 
    }

    return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> x;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

#include <iostream>
using namespaces std;

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

  return 0;
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespaces'
    2 | using namespaces std;
      |       ^~~~~~~~~~
Language: C++

#include <bits/stdc++.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:61: error: expected '}' at end of input
    7 |         std::cout << (wendu >= 30 ?"Yes":"No") << std::endl;
      |                                                             ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include <gmodule.h>
#include <stdio.h>
int main(void){
  int x;
  scanf("%d", &x);
  puts(x>=30?"Yes":"No");
}

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

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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:8:16: error: expected ';' before '{' token
    8 |     else printf{
      |                ^
      |                ;
Language: C

#include <stdio.h>

int main(void) {
    int a;
    scanf("%d", &a);

    if (30 <= a && a <= 40) {
        printf("yes");
    }
    else {
        printf("NO");
    }
    return 0;

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

import java.util.Scanner;

public class ABC174_A {

    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        int X = scanner.nextInt();

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

}


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

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef pair<int,int> pi;
typedef vector<int> vi;

#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define F0R(i, a) for(ll i = 0; i < a; i++)

const int MOD = 1e9+7; // 998244353;
const int MX = 2e5+5; //
const ll INF = 1e18; //

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


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

#include <bits/stdc++.h>

using namespace std;

typedef long long ll;
typedef pair<int,int> pi;
typedef vector<int> vi;

#define FOR(i, a, b) for (ll i = a; i < b; i++)
#define F0R(i, a) for(ll i = 0; i < a; i++)

const int MOD = 1e9+7; // 998244353;
const int MX = 2e5+5; //
const ll INF = 1e18; //

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


Compiler output:
a.cc: In function 'int main()':
a.cc:19:10: error: 'x' was not declared in this scope
   19 |   cin >> x;
      |          ^
a.cc:20:35: error: invalid operands of types 'const char [3]' and 'const char [2]' to binary 'operator<<'
   20 |   cout << (x >= 30)? "Yes" : "No" << "\n";
      |                              ~~~~ ^~ ~~~~
      |                              |       |
      |                              |       const char [2]
      |                              const char [3]
Language: C

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

int main(){
 long long i,n,k,t,m,s=0;
scanf("%lld %lld",&n,&k);
for(i=0;i<n;i++){
scanf("%lld %lld",&t,&m);
if((t*t+m*m)<=)s++;
}
printf("%lld",s);
      return 0;
}


Compiler output:
main.c: In function 'main':
main.c:13:15: error: expected expression before ')' token
   13 | if((t*t+m*m)<=)s++;
      |               ^
Language: C

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

int main(){
 long long i,n,k,t,m,s=0;
scanf("%lld %lld",&n,&k);
for(i=0;i<n;i++){
scanf("%lld %lld",&t,&m);
if((t*t+m*m)<=)s++;
}
printf("%lld",s);
      return 0;
}


Compiler output:
main.c:1:11: warning: extra tokens at end of #include directive
    1 | #include<>stdio.h>
      |           ^~~~~
main.c:1:9: error: empty filename in #include
    1 | #include<>stdio.h>
      |         ^~
main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   10 | scanf("%lld %lld",&n,&k);
      | ^~~~~
main.c:7:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    6 | #include <time.h>
  +++ |+#include <stdio.h>
    7 | 
main.c:10:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   10 | scanf("%lld %lld",&n,&k);
      | ^~~~~
main.c:10:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:13:15: error: expected expression before ')' token
   13 | if((t*t+m*m)<=)s++;
      |               ^
main.c:15:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   15 | printf("%lld",s);
      | ^~~~~~
main.c:15:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:15:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:15:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

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

int main(){
 long long i,n,k,t,m,s=0;
scanf("%lld %lld",&n,&k);
for(i=0;i<n;i++){
scanf("%lld %lld",&t,&m);
if(k*k>=(t*t+m*m))s++;
}
printf("%lld",s);
      return 0;
}


Compiler output:
main.c:1:11: warning: extra tokens at end of #include directive
    1 | #include<>stdio.h>
      |           ^~~~~
main.c:1:9: error: empty filename in #include
    1 | #include<>stdio.h>
      |         ^~
main.c: In function 'main':
main.c:10:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
   10 | scanf("%lld %lld",&n,&k);
      | ^~~~~
main.c:7:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
    6 | #include <time.h>
  +++ |+#include <stdio.h>
    7 | 
main.c:10:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
   10 | scanf("%lld %lld",&n,&k);
      | ^~~~~
main.c:10:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:15:1: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   15 | printf("%lld",s);
      | ^~~~~~
main.c:15:1: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:15:1: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:15:1: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
 long long int i,n,k,t,m;
  int s=0;
scanf("%lld %lld",&n,&k);
for(i=0;i<n;i++){
scanf("%lld %lld",&t,&m)
if(k>=sqrt(t*t+m*m)){s++;}
}
printf("%d",s);
      return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:25: error: expected ';' before 'if'
    8 | scanf("%lld %lld",&t,&m)
      |                         ^
      |                         ;
    9 | if(k>=sqrt(t*t+m*m)){s++;}
      | ~~
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
  int i,n,k,t[3000000][2],s=0;
scanf("%d %d",&n,&k);
for(i=0;i<n;i++){
scanf("%d %d",&t[n][1],&t[n][2]);
if(k>sqrt(t[n][1]*t[n][1]+t[n][2]*t[n][2]){
  s=s+1;
}
}
printf("%d",s);
      return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:43: error: expected ')' before '{' token
    8 | if(k>sqrt(t[n][1]*t[n][1]+t[n][2]*t[n][2]){
      |   ~                                       ^
      |                                           )
main.c:11:1: error: expected expression before '}' token
   11 | }
      | ^
Language: C

#include<stdio.h>
#include<math.h>
int main(void){
  int i,n,k,t[3000000][2],s=0;
scanf("%d %d",&n,&k);
for(i=0;i<n;i++){
scanf("%d %d",&t[n][1],&t[n][2]);
if(k>sqrt(t[n][1]*t[n][1]+t[n][2]*t[n][2]){s=s+1;}
}
printf("%d",s);
      return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:43: error: expected ')' before '{' token
    8 | if(k>sqrt(t[n][1]*t[n][1]+t[n][2]*t[n][2]){s=s+1;}
      |   ~                                       ^
      |                                           )
main.c:9:1: error: expected expression before '}' token
    9 | }
      | ^
Language: C

#include <iostream>
#include <vector>
#include <string>
#include <bits/stdc++.h>
#include <ctime>

#define FAST ios_base::sync_with_stdio(false); cin.tie(NULL)
#define TT int test_cases; cin >> test_cases; while(test_cases--)
#define TT1 int test_cases=1; while(test_cases--)
#define pb push_back
#define mp make_pair
#define fi first
#define se second
 
using namespace std;
typedef long long int ll;

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

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

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


Compiler output:
main.c: In function 'main':
main.c:4:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    4 |     scanf("%d",s)
      |     ^~~~~
main.c:4:16: error: 's' undeclared (first use in this function)
    4 |     scanf("%d",s)
      |                ^
main.c:4:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:18: error: expected ';' before 'if'
    4 |     scanf("%d",s)
      |                  ^
      |                  ;
    5 |   if(s>=30){puts("Yes");}
      |   ~~
Language: C

#include<stdio.h>
int main(void){
  if(s>=30){puts("Yes");}
  else{puts("No");}
  return 0;
}


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

#include<stdio.h>
int main(void){
  if(s>=30){puts("Yes")}
  else{puts("No")}
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:6: error: 's' undeclared (first use in this function)
    3 |   if(s>=30){puts("Yes")}
      |      ^
main.c:3:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:3:24: error: expected ';' before '}' token
    3 |   if(s>=30){puts("Yes")}
      |                        ^
      |                        ;
main.c:4:18: error: expected ';' before '}' token
    4 |   else{puts("No")}
      |                  ^
      |                  ;
Language: C

#include<stdio.h>
int main(void){
  int s;
  scanf("%d",&s);
  printf("%d",s>=30?'Yes''No');
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:21: warning: multi-character character constant [-Wmultichar]
    5 |   printf("%d",s>=30?'Yes''No');
      |                     ^~~~~
main.c:5:26: warning: multi-character character constant [-Wmultichar]
    5 |   printf("%d",s>=30?'Yes''No');
      |                          ^~~~
main.c:5:26: error: expected ':' before '\x4e6f'
    5 |   printf("%d",s>=30?'Yes''No');
      |                          ^~~~
      |                          :
Language: C


int main(void){
  int s;
  scanf("%d",&s);
  printf("%d",s>=30?'Yes''No');
}


Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d",&s);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | 
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d",&s);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:3: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |   printf("%d",s>=30?'Yes''No');
      |   ^~~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:3: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:21: warning: multi-character character constant [-Wmultichar]
    5 |   printf("%d",s>=30?'Yes''No');
      |                     ^~~~~
main.c:5:26: warning: multi-character character constant [-Wmultichar]
    5 |   printf("%d",s>=30?'Yes''No');
      |                          ^~~~
main.c:5:26: error: expected ':' before '\x4e6f'
    5 |   printf("%d",s>=30?'Yes''No');
      |                          ^~~~
      |                          :
Language: C

int main(void){
  int x;
  while(1){
  scanf("%d",&x);
    if(x>=-40&&x<=40)break;
  }
  if(x>=30)printf("Yes");
  elseprintf("No");
}

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    4 |   scanf("%d",&x);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main(void){
main.c:4:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    4 |   scanf("%d",&x);
      |   ^~~~~
main.c:4:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:12: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    7 |   if(x>=30)printf("Yes");
      |            ^~~~~~
main.c:7:12: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:12: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:7:12: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:3: error: implicit declaration of function 'elseprintf' [-Wimplicit-function-declaration]
    8 |   elseprintf("No");
      |   ^~~~~~~~~~
Language: C++

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

Compiler output:
a.cc:3:7: error: expected nested-name-specifier before 'nsamespace'
    3 | using nsamespace std;
      |       ^~~~~~~~~~
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>>n;
      | ^~~
      | std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:2:
/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:10:1: 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:13: 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: C++

#include <iostream>
#include<iomanip>
#include <string>
#include<vector>
#include<algorithm>
#include<utility>
#include<queue>
#include<math.h>
#include<stack>
#include<set>
#include<map>
#include<ctime>
#include<cstdlib>
#define INF long long int(1e18+1)
#define rep(i,n,m) for(int i=n;i<m;i++)

using namespace std;

int main() {
	long long int a, b, x;
	cin >> a >> b >> x;
	long long int l = 0, r = INF;
	while (r - l - 1) {
		long long int m, v = 10;
		long long int o = 1;
		m = (l + r) / 2;
		while (m / v) {
			o++;
			v *= 10;
		}
		if (a > INF / m) {
			r = m;
			continue;
		}
		if (a * m + b * o <= x)l = m;
		else r = m;
	}
	if (r > 1000000000)r = 1000000000;
	cout << l << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:14:13: error: expected primary-expression before 'long'
   14 | #define INF long long int(1e18+1)
      |             ^~~~
a.cc:22:34: note: in expansion of macro 'INF'
   22 |         long long int l = 0, r = INF;
      |                                  ^~~
a.cc:14:13: error: expected primary-expression before 'long'
   14 | #define INF long long int(1e18+1)
      |             ^~~~
a.cc:31:25: note: in expansion of macro 'INF'
   31 |                 if (a > INF / m) {
      |                         ^~~
a.cc:31:24: error: expected ')' before 'long'
   31 |                 if (a > INF / m) {
      |                    ~   ^
      |                        )
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int c;
  cin >> c;
  if (c>=30){
  	cout << "YES";
  else 
     cout << "NO";
  }
  return 0;  
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected '}' before 'else'
    9 |   else
      |   ^~~~
a.cc:7:13: note: to match this '{'
    7 |   if (c>=30){
      |             ^
a.cc: At global scope:
a.cc:12:3: error: expected unqualified-id before 'return'
   12 |   return 0;
      |   ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int c;
  cin >> c;
  if (c>=30);
     cout << "YES";
  else 
     cout << "NO";
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else
      |   ^~~~
a.cc:11:12: error: expected '}' at end of input
   11 |   return 0;
      |            ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C

int temp;
cin >> temp;

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

Compiler output:
main.c:2:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before '>>' token
    2 | cin >> temp;
      |     ^~
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if (temp >= 30) {
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else
      | ^~~~
Language: C

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

typedef long long ll;
typedef string str;

typedef vector<int> vi;

#define pb push_back 
#define srt(v) sort(v.begin(), v.end())

#define rep(i,a,n) for (int i = a; i < n; i++)
#define per(i,a,n) for (int i = n - 1; i >= a; i--)

#define f first
#define s second

#define sq(a) a * a

#define endl '\n'

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

    if (temp >= 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

using namespace std;

typedef long long ll;
typedef string str;

typedef vector<int> vi;

#define pb push_back 
#define srt(v) sort(v.begin(), v.end())

#define rep(i,a,n) for (int i = a; i < n; i++)
#define per(i,a,n) for (int i = n - 1; i >= a; i--)

#define f first
#define s second

#define sq(a) a * a

#define endl '\n'

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

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

    return 0;
}

Compiler output:
main.c:1:1: error: unknown type name 'using'
    1 | using namespace std;
      | ^~~~~
main.c:1:17: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'std'
    1 | using namespace std;
      |                 ^~~
main.c:4:9: error: unknown type name 'string'
    4 | typedef string str;
      |         ^~~~~~
main.c:6:15: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    6 | typedef vector<int> vi;
      |               ^
main.c: In function 'main':
main.c:22:5: error: 'cin' undeclared (first use in this function)
   22 |     cin.tie(NULL);
      |     ^~~
main.c:22:5: note: each undeclared identifier is reported only once for each function it appears in
main.c:22:13: error: 'NULL' undeclared (first use in this function)
   22 |     cin.tie(NULL);
      |             ^~~~
main.c:1:1: note: 'NULL' is defined in header '<stddef.h>'; this is probably fixable by adding '#include <stddef.h>'
  +++ |+#include <stddef.h>
    1 | using namespace std;
main.c:23:5: error: 'ios_base' undeclared (first use in this function)
   23 |     ios_base::sync_with_stdio(false);
      |     ^~~~~~~~
main.c:23:13: error: expected ';' before '::' token
   23 |     ios_base::sync_with_stdio(false);
      |             ^~
      |             ;
main.c:29:9: error: 'cout' undeclared (first use in this function)
   29 |         cout << "Yes" << endl;
      |         ^~~~
Language: C

#include <iostream>
using namespace std;

typedef long long ll;
typedef string str;

typedef vector<int> vi;

#define pb push_back 
#define srt(v) sort(v.begin(), v.end())

#define rep(i,a,n) for (int i = a; i < n; i++)
#define per(i,a,n) for (int i = n - 1; i >= a; i--)

#define f first
#define s second

#define sq(a) a * a

#define endl '\n'

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

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

    return 0;
}

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

import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner IN = new Scanner(System.in);
		String temp = IN.nextLine();
		int tem = temp.parseInt();
		if(tem < 30)
			System.out.println("No");
		else
			System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		int tem = temp.parseInt();
		              ^
  symbol:   method parseInt()
  location: variable temp of type String
1 error
Language: Java

import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner IN = new Scanner(System.in);
		String temp = IN.nextLine();
		int tem = String.parseInt(temp);
		if(tem < 30)
			System.out.println("No");
		else
			System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		int tem = String.parseInt(temp);
		                ^
  symbol:   method parseInt(String)
  location: class String
1 error
Language: Java

import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner IN = new Scanner(System.in);
		String temp = IN.nextLine();
		int tem = String.parseInt(temp);
		if(tem.compareTo(30) < 0)
			System.out.println("No");
		else
			System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		int tem = String.parseInt(temp);
		                ^
  symbol:   method parseInt(String)
  location: class String
Main.java:8: error: int cannot be dereferenced
		if(tem.compareTo(30) < 0)
		      ^
2 errors
Language: Java

import java.util.Scanner;

class Main{
	public static void main(String[] args) {
		Scanner IN = new Scanner(System.in);
		String temp = IN.nextLine();
		int tem = String.parseInt(temp);
		if(temp < 30)
			System.out.println("No");
		else
			System.out.println("Yes");
	}
}

Compiler output:
Main.java:7: error: cannot find symbol
		int tem = String.parseInt(temp);
		                ^
  symbol:   method parseInt(String)
  location: class String
Main.java:8: error: bad operand types for binary operator '<'
		if(temp < 30)
		        ^
  first type:  String
  second type: int
2 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:6: error: incompatible types: String cannot be converted to int
		int temp = IN.nextLine();
		                      ^
1 error