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

#inlcude <stdio.h>

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

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:5:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |   scanf("%d",&🐸);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inlcude <stdio.h>
main.c:5:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |   scanf("%d",&🐸);
      |   ^~~~~
main.c:5:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:8:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    8 |     printf("Yes");
      |     ^~~~~~
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:8:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   10 |     printf("No");
      |     ^~~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: Java

import java.util.Scanner;

public class tmp {

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


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

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

#include<iostream>
#include<string>
#include<algorithm>
#include<math.h>
#include<queue>
#include<vector>
#include<map>
#include<iomanip>
#include<tuple>
#include<bitset>


using namespace std;
#define rep(i,n) for(int i=0;i<(n);i++)
#define printfloat(x) cout << fixed << setprecision(7) << (x) << endl;
#define printbit(x) cout << bitset<15>(x) << endl;
using ll = long long int;



long double pi = 3.14159265359;

int t;

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


return 0;
}

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

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

Compiler output:
a.cc:8:13: warning: missing terminating " character
    8 |       cout<<"Yes;
      |             ^
a.cc:8:13: error: missing terminating " character
    8 |       cout<<"Yes;
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:9:3: error: expected primary-expression before 'else'
    9 |   else
      |   ^~~~
Language: C

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

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

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

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

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

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:3:3: error: 'cin' was not declared in this scope
    3 |   cin >> x;
      |   ^~~
a.cc:5:5: error: 'cout' was not declared in this scope
    5 |     cout << "Yes" << endl;
      |     ^~~~
a.cc:5:22: error: 'endl' was not declared in this scope
    5 |     cout << "Yes" << endl;
      |                      ^~~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << "No" << endl;
      |     ^~~~
a.cc:7:21: error: 'endl' was not declared in this scope
    7 |     cout << "No" << endl;
      |                     ^~~~
Language: C++

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

#include <stdio.h>

int main(){
	int X;
	scanf ("%d", &X);
	printf("Will you turn on the air conditioner: ");
	x >= 30 ? printf("Yes") : printf("No");
	
	return 0;
}

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

int main(){

    int pemanas;
    scanf("%d", &pemanas);
    pemanas >= 30 ? printf("Yes") : printf("No");

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'scanf' was not declared in this scope
    4 |     scanf("%d", &pemanas);
      |     ^~~~~
a.cc:5:21: error: 'printf' was not declared in this scope
    5 |     pemanas >= 30 ? printf("Yes") : printf("No");
      |                     ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(){
Language: Java

//package com.company;

import javafx.scene.chart.BarChart;

import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedHashSet;
import java.util.Random;

public class MM {


    public static void main(String[] args) throws IOException {
        BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
//
        int n=Integer.parseInt(read.readLine());
        if(n>=30)
            System.out.println(("Yes"));
        else
            System.out.println("No");

    }

}



Compiler output:
Main.java:11: error: class MM is public, should be declared in a file named MM.java
public class MM {
       ^
Main.java:3: error: package javafx.scene.chart does not exist
import javafx.scene.chart.BarChart;
                         ^
2 errors
Language: Java


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.util.LinkedHashSet;
import java.util.Random;

public class MM {


    public static void main(String[] args) throws IOException {
        BufferedReader read = new BufferedReader(new InputStreamReader(System.in));
//
        int n=Integer.parseInt(read.readLine());
        if(n>=30)
            System.out.println(("Yes"));
        else
            System.out.println("No");

    }

}


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

#include<stdio.h>
int main(){
	int X;
	scanf("%d",&X);
	x>=30 ? printf("YES\n"): printf("NO\n");
	return 0;
	
}

Compiler output:
main.c: In function 'main':
main.c:5:9: error: 'x' undeclared (first use in this function)
    5 |         x>=30 ? printf("YES\n"): printf("NO\n");
      |         ^
main.c:5:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

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

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

#include <iostream>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
Language: C++

#include <iostream>

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


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

#include <iostream>

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

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
      |                  ^~~
a.cc:8:12: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   if(x>=30)cout<<"Yes";
      |            ^~~~
      |            std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |   else cout<<"No";
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    3 |   int x;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:4:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    4 |   x>=30?cout<<"Yes":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<ioistream>
#include<cstdio>
using namespace std;
int main(){
  int a; cin >> a;
  if(a >= 30) puts("yes");
  else puts("no");
}

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

#include <iostream>

int main()
{
	int X;
	std::in >> 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:6:14: error: 'in' is not a member of 'std'; did you mean 'min'?
    6 |         std::in >> X;
      |              ^~
      |              min
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:7:18: error: expected ';' before 'else'
    7 |     printf("yes")
      |                  ^
      |                  ;
    8 |     else
      |     ~~~~
Language: C++

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

Compiler output:
a.cc:2:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    2 | main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before 'else'
    7 |     printf("yes")
      |                  ^
      |                  ;
    8 |     else
      |     ~~~~
Language: C

void main(void){
  	it X;
	scanf("%d",&X);
	if(X >= 30){
    	printf("yes\n");
    }
  	else{
      	printf("No\n");
    }
}

Compiler output:
main.c: In function 'main':
main.c:2:9: error: unknown type name 'it'; did you mean 'int'?
    2 |         it X;
      |         ^~
      |         int
main.c:3:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |         scanf("%d",&X);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | void main(void){
main.c:3:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |         scanf("%d",&X);
      |         ^~~~~
main.c:3:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |         printf("yes\n");
      |         ^~~~~~
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:8:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    8 |         printf("No\n");
      |         ^~~~~~
main.c:8:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

void main(void){
	scanf("%d",X);
	if(X >= 30){
    	printf("yes\n");
    }
  	else{
      	printf("No\n");
    }
}

Compiler output:
main.c: In function 'main':
main.c:2:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    2 |         scanf("%d",X);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | void main(void){
main.c:2:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    2 |         scanf("%d",X);
      |         ^~~~~
main.c:2:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:2:20: error: 'X' undeclared (first use in this function)
    2 |         scanf("%d",X);
      |                    ^
main.c:2:20: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:9: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    4 |         printf("yes\n");
      |         ^~~~~~
main.c:4:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:4:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:4:9: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |         printf("No\n");
      |         ^~~~~~
main.c:7:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include<iostream>

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

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

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

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


import java.util.*;
import java.io.*;

public class A{
	static class FastReader {

        BufferedReader br;
        StringTokenizer st;

        private FastReader() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

	 int[] nextIntArray(int n) {
			int[] a = new int[n];
			for (int i = 0; i < n; i++)
				a[i] = nextInt();
			return a;
	}

	int[] nextIntArrayOne(int n) {
				int[] a = new int[n+1];
				for (int i = 1; i < n+1; i++)
					a[i] = nextInt();
				return a;
	}

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }

	public static void main(String[] args) {
		FastReader s =new FastReader();
		
		StringBuilder str = new StringBuilder();
		
			int n = s.nextInt();
			if(n >= 30) {
				str.append("Yes\n");
			}else {
				str.append("No\n");
			}
			
		
		System.out.println(str);
	}

	

}



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


import java.util.*;
import java.io.*;

public class AirCond174A{
	static class FastReader {

        BufferedReader br;
        StringTokenizer st;

        private FastReader() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

	 int[] nextIntArray(int n) {
			int[] a = new int[n];
			for (int i = 0; i < n; i++)
				a[i] = nextInt();
			return a;
	}

	int[] nextIntArrayOne(int n) {
				int[] a = new int[n+1];
				for (int i = 1; i < n+1; i++)
					a[i] = nextInt();
				return a;
	}

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }

	public static void main(String[] args) {
		FastReader s =new FastReader();
		
		StringBuilder str = new StringBuilder();
		
			int n = s.nextInt();
			if(n >= 30) {
				str.append("Yes\n");
			}else {
				str.append("NO\n");
			}
			
		
		System.out.println(str);
	}

	

}



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

#inlcude <iostream>

using namespace std;

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <iostream>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope
    8 |   cin >> x;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inlcude <iostream>
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << (x >= 30) ? "Yes" : "No";
      |   ^~~~
a.cc:9:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: Java

public String turnOn(int x){
  if (x>= 30){
    return 'Yes';
  retrun 'No';
}

Compiler output:
Main.java:3: error: unclosed character literal
    return 'Yes';
           ^
Main.java:3: error: unclosed character literal
    return 'Yes';
               ^
Main.java:3: error: not a statement
    return 'Yes';
             ^
Main.java:4: error: unclosed character literal
  retrun 'No';
         ^
Main.java:4: error: not a statement
  retrun 'No';
  ^
Main.java:4: error: unclosed character literal
  retrun 'No';
            ^
Main.java:4: error: not a statement
  retrun 'No';
           ^
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public String turnOn(int x){
       ^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: ';' expected
  retrun 'No';
        ^
Main.java:5: error: reached end of file while parsing
}
 ^
10 errors
Language: Java

//package A;
//A - Air Conditioner
import java.util.Scanner;

public class Main {
    int temperature;
    public abc_174(int temperature) {
        this.temperature = temperature;
        if (this.temperature >= 30)
            System.out.println("Yes");
        else
            System.out.println("No");
    }

    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        while (scanner.hasNext()){
            int n = scanner.nextInt();
            Main tanver = new Main(n);
        }
    }
}


Compiler output:
Main.java:7: error: invalid method declaration; return type required
    public abc_174(int temperature) {
           ^
1 error
Language: C++

#include<iostream>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:29: error: expected ';' before '}' token
   14 |                 cout << "No"
      |                             ^
      |                             ;
   15 |         }
      |         ~
Language: Java

import java.util.*;

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

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

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

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define fast ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl '\n'
#define mod 1000000007
#define pb push_back
void dora()
{
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}

int32_t main()
{
	//dora(); fast;

	int t = 1; //cin >> t;
	while (t--)
	{
		int x; cin>>x;
		if(x>==30)cout<<"Yes\n";
		else cout<<"No\n";
	}

	return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:24:23: error: expected primary-expression before '=' token
   24 |                 if(x>==30)cout<<"Yes\n";
      |                       ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define fast ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl '\n'
#define mod 1000000007
#define pb push_back
void dora()
{
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}

int32_t main()
{
	dora(); fast;

	int t = 1; //cin >> t;
	while (t--)
	{
		int x; cin>>x;
		if(x>==30)cout<<"Yes\n";
		else cout<<"No\n";
	}

	return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:24:23: error: expected primary-expression before '=' token
   24 |                 if(x>==30)cout<<"Yes\n";
      |                       ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define int long long
#define fast ios::sync_with_stdio(0); cin.tie(0); cout.tie(0);
#define endl '\n'
#define mod 1000000007
#define pb push_back
void dora()
{
#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif
}

int32_t main()
{
	dora(); fast;

	int t = 1; cin >> t;
	while (t--)
	{
		int x; cin>>x;
		if(x>==30)cout<<"Yes\n";
		else cout<<"No\n";
	}

	return 0;
}

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:24:23: error: expected primary-expression before '=' token
   24 |                 if(x>==30)cout<<"Yes\n";
      |                       ^
Language: C++

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

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

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


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

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

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

#include <iostream>
#include <map>
#include <cmath>
#include <queue>
#include <vector>
#include <string>
#include <algorithm>
#include <functional>
#pragma warning (disable: 4996)

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

import java.util.Scanner;

public class Abc174 {

    public static void main(String[] args){
        Scanner scanner = new Scanner(System.in);
        String str = scanner.nextLine();
        int input = Integer.parseInt(str);

        if (input >= 30) println("Yes");
        else println("No");
    }

    public static void println(String msg){
        System.out.println(msg);
    }

}


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

public static void main(String[] args){
  Scanner scanner = new Scanner(System.in);
  String str = scanner.nextLine();
  int input = Integer.parseInt(str);

  if (input >= 30) println("Yes");
  else println("No");
}

public static void println(String msg){
  System.out.println(msg);
}


Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:29: error: expected ';' before ':' token
    5 |   printf("Enter tempreture"):
      |                             ^
      |                             ;
Language: C++


#include <iostream>

using namespace std;

int main(int argc, char* argv[])
{
    int x;

    cin >> x;

    if (x >= 30)
        std::cout << "Yes";
    else
        std::cout "No";

    return 0;
}



Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:15:18: error: expected ';' before string constant
   15 |         std::cout "No";
      |                  ^~~~~
      |                  ;
Language: C++


#include <iostream>

int main(int argc, char* argv[])
{
    int x;

    std::cin >> x;

    if (x >= 30)
        std::cout << "Yes";
    else
        std::cout "No";

    return 0;
}



Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:13:18: error: expected ';' before string constant
   13 |         std::cout "No";
      |                  ^~~~~
      |                  ;
Language: C++


#include <iostream>

int main(int argc, char* argv[])
{
    int x;

    cin >> x;

    if (x >= 30)
        std::cout << "Yes";
    else
        std::cout "No";

    return 0;
}


#include <iostream>

int main(int argc, char* argv[])
{
    int x;

    std::cin >> x;

    if (x >= 30)
        std::cout << "Yes";
    else
        std::cout "No";

    return 0;
}



Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |     cin >> x;
      |     ^~~
      |     std::cin
In file included 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:13:18: error: expected ';' before string constant
   13 |         std::cout "No";
      |                  ^~~~~
      |                  ;
a.cc: At global scope:
a.cc:21:5: error: redefinition of 'int main(int, char**)'
   21 | int main(int argc, char* argv[])
      |     ^~~~
a.cc:4:5: note: 'int main(int, char**)' previously defined here
    4 | int main(int argc, char* argv[])
      |     ^~~~
a.cc: In function 'int main(int, char**)':
a.cc:30:18: error: expected ';' before string constant
   30 |         std::cout "No";
      |                  ^~~~~
      |                  ;
Language: C++


#include <iostream>

int main(int argc, char* argv[])
{
    int x;

    cin >> x;

    if (x >= 30)
        std::cout << "Yes";
    else
        std::cout "No";

    return 0;
}



Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |     cin >> x;
      |     ^~~
      |     std::cin
In file included 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:13:18: error: expected ';' before string constant
   13 |         std::cout "No";
      |                  ^~~~~
      |                  ;
Language: C++

#include "codeforces.h"


//string solve(vector<int> z) {
//	if (!sz(z) || z[0] != 0) return "!";
//	char c = 'a';
//	string res(sz(z), '.');
//	res[0] = c;
//	int d = 1;
//	for (int i = 1; i < sz(z); ++i) {
//		if (z[i] != 0) {
//			int j = 0;
//			while (j < z[i]) {
//				if (res[i + j] != '.' && res[i + j] != res[j]) return "!";
//				res[i + j] = res[j];
//				++j;
//			}
//		}
//		else {
//			if (d > 26) return "!";
//			if (res[i] == '.') res[i] = char(c + d++);
//			else if (res[i] == res[0]) return "!";
//		}
//		dbg(res)
//	}
//
//	return res;
//}

template <typename T> void setmax(T& a, const T& b) { if (b > a) a = b; }

vi max_subarray(const vi& a, int l, int r) {
	int n = r - l;
	int best = a[l]; int sum = a[l];
	r = l;
	for (int i = 1; i < n; ++i) {
		if (a[i] > sum + a[i]) {
			l = r = i;
		}
		sum = max(a[i], sum + a[i]);
		if (sum > best) {
			r = i;
			best = sum;
		}
	}

	return { l, r, best };
}

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


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

	return 0;
}


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

#include<bits/stdc++.h>
#define ll long long
#define ull unsigned long long
#define endl '\n'
#define ff first
#define ss second
#define mp make_pair
#define pb push_back
#define pf pop_front
#define yes cout << "YES" << '\n';
#define no cout << "NO" << '\n';
#define watch(x) cout << (#x) << " is " << (x) << endl
using namespace std;

int const MAXS = 1e5 + 5;

void solve(){
    int n;
    cin >> n;
    cout << (n >= 30) ? "YES" : "NO" << endl;
}

int main(){
    ios_base::sync_with_stdio(false);
    cin.tie(0);
    cout.tie(0);
    solve();
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:20:38: error: invalid operands of types 'const char [3]' and 'char' to binary 'operator<<'
   20 |     cout << (n >= 30) ? "YES" : "NO" << endl;
      |                                 ~~~~ ^~
      |                                 |
      |                                 const char [3]
Language: C++

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

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

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc: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 n;
  scanf("%d",&n);
  if(n>29) prientf("Yes\n");
  else prientf("No\n");
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:12: error: implicit declaration of function 'prientf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |   if(n>29) prientf("Yes\n");
      |            ^~~~~~~
      |            printf
Language: C++

//rustc 1.39.0

fn main() {

    let mut s = String::new(); // バッファを確保
    std::io::stdin().read_line(&mut s).unwrap(); // 一行読む。失敗を無視
    let X : i32 = s.trim().parse().ok().unwrap();
    
    if X >= 30 {
        println!("Yes");
    } else {
        println!("No");
    }
}

Compiler output:
a.cc:3:1: error: 'fn' does not name a type
    3 | fn main() {
      | ^~
Language: C++

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

int main()
{

  	int x;
  	cin >> x;
  
  	cout << ( x>= 30 ? "YES" : "NO" ) << endl

return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:50: error: expected ';' before 'return'
   10 |         cout << ( x>= 30 ? "YES" : "NO" ) << endl
      |                                                  ^
      |                                                  ;
   11 | 
   12 | return 0;
      | ~~~~~~
Language: C

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:6: error: 'X' undeclared (first use in this function)
    5 |   if(X=>30)
      |      ^
main.c:5:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:8: error: expected expression before '>' token
    5 |   if(X=>30)
      |        ^
Language: C

int main() {
    int a;
    scanf("%d", $a);
    if a < 30;
    printf("%d\n", a);
    else if;
    printf("%d\n", a);
    return 0;

}

Compiler output:
main.c: In function 'main':
main.c:3:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    3 |     scanf("%d", $a);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | int main() {
main.c:3:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    3 |     scanf("%d", $a);
      |     ^~~~~
main.c:3:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:17: error: '$a' undeclared (first use in this function); did you mean 'a'?
    3 |     scanf("%d", $a);
      |                 ^~
      |                 a
main.c:3:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:8: error: expected '(' before 'a'
    4 |     if a < 30;
      |        ^
      |        (
main.c:5:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |     printf("%d\n", a);
      |     ^~~~~~
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:5:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:5:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:6:5: error: 'else' without a previous 'if'
    6 |     else if;
      |     ^~~~
main.c:6:12: error: expected '(' before ';' token
    6 |     else if;
      |            ^
      |            (
Language: Java

import java.util.Scanner;

public class Main {

	public static void main(String[] args) {
		// TODO 自動生成されたメソッド・スタブ
		
		Scanner sc = new Scanner (System.in);
		int a  = sc.nextInt();		
		System.out.println(a >= 30 ? 'Yes' : 'No');

	}

}

Compiler output:
Main.java:10: error: unclosed character literal
		System.out.println(a >= 30 ? 'Yes' : 'No');
		                             ^
Main.java:10: error: unclosed character literal
		System.out.println(a >= 30 ? 'Yes' : 'No');
		                                 ^
Main.java:10: error: not a statement
		System.out.println(a >= 30 ? 'Yes' : 'No');
		                               ^
Main.java:10: error: unclosed character literal
		System.out.println(a >= 30 ? 'Yes' : 'No');
		                                     ^
Main.java:10: error: unclosed character literal
		System.out.println(a >= 30 ? 'Yes' : 'No');
		                                        ^
Main.java:10: error: not a statement
		System.out.println(a >= 30 ? 'Yes' : 'No');
		                                       ^
6 errors
Language: C++

#include <bits/stdc.h++>

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

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

#include<iostream>
using namespace std;

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


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

import java.util.Scanner;


public class AirConditioner {

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		if(n>=30)
			System.out.println("Yes");
		else
			System.out.println("NO");
		
	}

}


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

import java.util.*;

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

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

#include <iostream>
using namespace std;
int main()
{ 
	int x;
	x<=40 && x>=-40;
	cin>>x;
	if (x>=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: C++

#Include <iostream>
using namsespace std; 

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #Include; did you mean #include?
    1 | #Include <iostream>
      |  ^~~~~~~
      |  include
a.cc:2:7: error: expected nested-name-specifier before 'namsespace'
    2 | using namsespace std;
      |       ^~~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> x;
      |   ^~~
a.cc:10:9: error: 'cout' was not declared in this scope
   10 |         cout << "Yes" << endl;
      |         ^~~~
a.cc:10:26: error: 'endl' was not declared in this scope
   10 |         cout << "Yes" << endl;
      |                          ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout << "NO"<<endl;
      |     ^~~~
a.cc:14:19: error: 'endl' was not declared in this scope
   14 |     cout << "NO"<<endl;
      |                   ^~~~