Language: Java

#include<bits/stdc++.h>
using namespace std;
#define boost ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
#define mp make_pair
#define pb push_back
#define fp first
#define sp second
typedef long long int ll;
typedef pair<ll,ll> pp;
#define check(x, i) ((x>>i)&1LL)
#define set(x,i) (x|(1LL<<i))
#define unset(x,i) (x&~(1LL<<i))
#define INF LONG_MAX
#define MAX_N 20
#define MAX 4000005
#define mod 1000000007
#define REP(i,n) for(i=0;i<n;i++)
#define FOR(i,a,b) for(i=a;i<=b;i++)
#define RFOR(i,a,b) for(i=a;i>=b;i--)
#define len(i,s) for(i=0;s[i];i++)
#define T() ll t;cin>>t;while(t--)
ll gcd (ll a, ll b){return (a?gcd(b%a,a):b);}
ll pow1(ll a,ll b,ll MOD){ll ans=1;while(b!=0){if(b&1)ans=(ans*a)%MOD;a=(a*a)%MOD;b=b/2;}return ans;}
ll modInverse(ll a,ll p){return pow1(a,p-2,p);}


int main()
{	
  boost
	#ifndef ONLINE_JUDGE
    freopen("input.txt", "r", stdin);    
    freopen("output.txt", "w", stdout);
#endif
ll n;
cin>>n;
if(n>=30)
	cout<<"Yes\n";
else
	cout<<"No\n";
}

Compiler output:
Main.java:1: error: illegal character: '#'
#include<bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include<bits/stdc++.h>
        ^
Main.java:3: error: illegal character: '#'
#define boost ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
^
Main.java:3: error: class, interface, enum, or record expected
#define boost ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
        ^
Main.java:3: error: class, interface, enum, or record expected
#define boost ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
                                          ^
Main.java:3: error: class, interface, enum, or record expected
#define boost ios::sync_with_stdio(false);cin.tie(0);cout.tie(0);
                                                     ^
Main.java:4: error: illegal character: '#'
#define mp make_pair
^
Main.java:5: error: illegal character: '#'
#define pb push_back
^
Main.java:6: error: illegal character: '#'
#define fp first
^
Main.java:7: error: illegal character: '#'
#define sp second
^
Main.java:9: error: class, interface, enum, or record expected
typedef pair<ll,ll> pp;
^
Main.java:10: error: illegal character: '#'
#define check(x, i) ((x>>i)&1LL)
^
Main.java:10: error: class, interface, enum, or record expected
#define check(x, i) ((x>>i)&1LL)
        ^
Main.java:11: error: illegal character: '#'
#define set(x,i) (x|(1LL<<i))
^
Main.java:12: error: illegal character: '#'
#define unset(x,i) (x&~(1LL<<i))
^
Main.java:13: error: illegal character: '#'
#define INF LONG_MAX
^
Main.java:14: error: illegal character: '#'
#define MAX_N 20
^
Main.java:15: error: illegal character: '#'
#define MAX 4000005
^
Main.java:16: error: illegal character: '#'
#define mod 1000000007
^
Main.java:17: error: illegal character: '#'
#define REP(i,n) for(i=0;i<n;i++)
^
Main.java:17: error: class, interface, enum, or record expected
#define REP(i,n) for(i=0;i<n;i++)
                         ^
Main.java:17: error: class, interface, enum, or record expected
#define REP(i,n) for(i=0;i<n;i++)
                             ^
Main.java:18: error: illegal character: '#'
#define FOR(i,a,b) for(i=a;i<=b;i++)
^
Main.java:18: error: class, interface, enum, or record expected
#define FOR(i,a,b) for(i=a;i<=b;i++)
                           ^
Main.java:18: error: class, interface, enum, or record expected
#define FOR(i,a,b) for(i=a;i<=b;i++)
                                ^
Main.java:19: error: illegal character: '#'
#define RFOR(i,a,b) for(i=a;i>=b;i--)
^
Main.java:19: error: class, interface, enum, or record expected
#define RFOR(i,a,b) for(i=a;i>=b;i--)
                            ^
Main.java:19: error: class, interface, enum, or record expected
#define RFOR(i,a,b) for(i=a;i>=b;i--)
                                 ^
Main.java:20: error: illegal character: '#'
#define len(i,s) for(i=0;s[i];i++)
^
Main.java:20: error: class, interface, enum, or record expected
#define len(i,s) for(i=0;s[i];i++)
                         ^
Main.java:20: error: class, interface, enum, or record expected
#define len(i,s) for(i=0;s[i];i++)
                              ^
Main.java:21: error: illegal character: '#'
#define T() ll t;cin>>t;while(t--)
^
Main.java:21: error: class, interface, enum, or record expected
#define T() ll t;cin>>t;while(t--)
                 ^
Main.java:21: error: class, interface, enum, or record expected
#define T() ll t;cin>>t;while(t--)
                        ^
Main.java:22: error: class, interface, enum, or record expected
ll gcd (ll a, ll b){return (a?gcd(b%a,a):b);}
                                            ^
Main.java:23: error: class, interface, enum, or record expected
ll pow1(ll a,ll b,ll MOD){ll ans=1;while(b!=0){if(b&1)ans=(ans*a)%MOD;a=(a*a)%MOD;b=b/2;}return ans;}
                                   ^
Main.java:23: error: class, interface, enum, or record expected
ll pow1(ll a,ll b,ll MOD){ll ans=1;while(b!=0){if(b&1)ans=(ans*a)%MOD;a=(a*a)%MOD;b=b/2;}return ans;}
                                                                      ^
Main.java:23: error: class, interface, enum, or record expected
ll pow1(ll a,ll b,ll MOD){ll ans=1;while(b!=0){if(b&1)ans=(ans*a)%MOD;a=(a*a)%MOD;b=b/2;}return ans;}
                                                                                  ^
Main.java:23: error: class, interface, enum, or record expected
ll pow1(ll a,ll b,ll MOD){ll ans=1;while(b!=0){if(b&1)ans=(ans*a)%MOD;a=(a*a)%MOD;b=b/2;}return ans;}
                                                                                        ^
Main.java:23: error: class, interface, enum, or record expected
ll pow1(ll a,ll b,ll MOD){ll ans=1;while(b!=0){if(b&1)ans=(ans*a)%MOD;a=(a*a)%MOD;b=b/2;}return ans;}
                                                                                                    ^
Main.java:24: error: class, interface, enum, or record expected
ll modInverse(ll a,ll p){return pow1(a,p-2,p);}
                                              ^
Main.java:30: error: illegal character: '#'
	#ifndef ONLINE_JUDGE
	^
Main.java:32: error: class, interface, enum, or record expected
    freopen("output.txt", "w", stdout);
    ^
Main.java:33: error: illegal character: '#'
#endif
^
Main.java:34: error: unnamed classes are a preview feature and are disabled by default.
ll n;
^
  (use --enable-preview to enable unnamed classes)
Main.java:35: error: class, interface, enum, or record expected
cin>>n;
^
Main.java:36: error: class, interface, enum, or record expected
if(n>=30)
^
Main.java:38: error: class, interface, enum, or record expected
else
^
Main.java:40: error: class, interface, enum, or record expected
}
^
49 errors