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

#include<bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp>
using namespace __gnu_pbds;
using namespace std;

typedef long long ll;
typedef pair<ll,ll> ii;
typedef tree<ii,null_type,less<ii>,rb_tree_tag,tree_order_statistics_node_update> indexed_set;

const int MAXN=2e5+777;
const int inf=2e9;
ll n, t[4*MAXN];

void build(vector<ll> &a, int v, int tl, int tr) {
	if (tl == tr) {
		t[v] = a[tl];
	} else {
		int tm = (tl + tr) / 2;
		build(a, v*2, tl, tm);
		build(a, v*2+1, tm+1, tr);
		t[v] = 0;
	}
}

void update(int v, int tl, int tr, int l, int r, ll add) {
	if (l > r)
		return;
	if (l == tl && r == tr) {
		t[v] += add;
	} else {
		int tm = (tl + tr) / 2;
		update(v*2, tl, tm, l, min(r, tm), add);
		update(v*2+1, tm+1, tr, max(l, tm+1), r, add);
	}
}

ll get(int v, int tl, int tr, int pos) {
	if (tl == tr)
		return t[v];
	int tm = (tl + tr) / 2;
	if (pos <= tm)
		return t[v] + get(v*2, tl, tm, pos);
	else
		return t[v] + get(v*2+1, tm+1, tr, pos);
}

int main() {
	cin.tie(0); cout.tie(0); ios_base::sync_with_stdio(0);
	ll n,d,a; cin>>n>>d>>a;
	set<ii> st;
	map<int,int> idx;
	for (int i=0; i<n; i++) {
		ii p; cin>>p.first>>p.second;
		st.insert(p);
	}
	int iter=0;
	for (auto x : st)
		idx[x.first]=iter++;
	vector<int> init(n);
	for (int i=0; i<n; i++)
		init[i]=0;
	build(init,1,0,n-1);

	ll ret=0;
	int left=0;
	while(!st.empty()) {
		ii cur=*st.begin();
		ll bomb=get(1,0,n-1,left);
		ll ct=max(0LL,(cur.second-bomb+a-1)/a);
		ret+=ct;
		auto it=st.upper_bound({cur.first+2*d,inf});
		if(it==st.begin())
			continue;
		it--;
		ll right=idx[it->first];
		update(1,0,n-1,left,right,a*ct);
		left++;
		st.erase(st.begin());
	}
	cout<<ret<<endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:62:15: error: invalid initialization of reference of type 'std::vector<long long int>&' from expression of type 'std::vector<int>'
   62 |         build(init,1,0,n-1);
      |               ^~~~
a.cc:14:24: note: in passing argument 1 of 'void build(std::vector<long long int>&, int, int, int)'
   14 | void build(vector<ll> &a, int v, int tl, int tr) {
      |            ~~~~~~~~~~~~^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,a) for(int i=0;i<(a);i++)
const ll MOD=1000000007;
//const ll MOD=998244353;

ll sum[202020];

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  
  int N; cin>>N;
  ll D,A; cin>>D>>A;
  vector<ll> X(N),H(N);
  map<ll,int> mp;
  rep(i,N){
    cin>>X[i]>>H[i];
    mp[X[i]]=i;
  }
  sort(X.begin(),X.end());
  X.push_back(1e15);
  mp[1e15]=202020;
  ll ans=0;
  rep(i,N){
    int j=mp[X[i]];
    if(i) sum[j]+=sum[mp[X[i-1]]];
    H[j]+=sum[j];
    if(H[j]<=0) continue;
    int ub=upper_bound(X.begin(),X.end(),X[i]+2*D)-X.begin();
    sum[j]-=A*(H[j]/A+min(1LL,H[j]%A));
    sum[mp[X[ub]]+=A*(H[j]/A+min(1LL,H[j]%A));
    ans+=H[j]/A+min(1LL,H[j]%A);
  }
  cout<<ans<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:46: error: expected ']' before ';' token
   33 |     sum[mp[X[ub]]+=A*(H[j]/A+min(1LL,H[j]%A));
      |                                              ^
      |                                              ]
Language: C++

#include<iostream>
Using namespace std;

Int main() 
  {
   
   Return 0;
   } 

Compiler output:
a.cc:2:1: error: 'Using' does not name a type
    2 | Using namespace std;
      | ^~~~~
a.cc:4:1: error: 'Int' does not name a type; did you mean 'int'?
    4 | Int main()
      | ^~~
      | int
Language: C++

#include <iostream>
#include <queue>
#include <vector>
#include <functional>
using namespace std;

using ll = long long;
using pii = pair<int, int>;

int main(int argc, char **argv) {
  ios_base::sync_with_stdio(false);
  cin.tie(0);

  int n, d, a; cin >> n >> d >> a;
  vector<pii> p(n);
  for(int i=0; i<n; i++) cin >> p[i].first >> p[i].second;
  sort(p.begin(), p.end());
  for(int i=0; i<n; i++) {
    p[i].second = (p[i].second+a-1) / a;
  }

  int j = 0;
  ll cur = 0;
  queue<pii> q;
  ll res = 0;
  for(int i=0; i<n; i++) {
    while(j < n && p[i].first + 2*d >= p[j].first) j++;
    while(q.size() && q.front().first <= i) {
      cur += q.front().second;
      q.pop();
    }

    ll t = max(p[i].second + cur, 0LL);
    p[i].second -= t;
    cur -= t;
    res += t;
    q.push({j, t});
  }

  cout << res << endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:17:3: error: 'sort' was not declared in this scope; did you mean 'short'?
   17 |   sort(p.begin(), p.end());
      |   ^~~~
      |   short
Language: C++

//QWsin
#include<cstdio>
#include<cstring>
#include<iostream>
#include<algorithm>
#define rep(i,x,y) for(int i=x;i<=y;++i)
#define out(i,u) for(int i=first[u];i!=-1;i=nxt[i])
#define repvc(i,vc) for(int i=0,Sz=vc.size();i<Sz;++i)
using namespace std;
inline int read()
{
	char ch=getchar();int ret=0,f=1;
	while(ch<'0' || ch>'9') {if(ch=='-')f=-1;ch=getchar();}
	for(;ch>='0' && ch<='9';ch=getchar()) ret=ret*10+ch-'0';
	return ret*f;
}

typedef long long ll;
const int INF=1<<30;

const int maxn=200000+10;

struct Monster{
	int x,h;
	void input(){cin>>x>>h;}
	bool operator < (const Monster &rhs)const{
		return x<rhs.x;	
	}
}a[maxn];

ll dt[maxn];

int main()
{
	int n,d,atk;cin>>n>>d>>atk;
	rep(i,1,n) a[i].input();
	sort(a+1,a+n+1);
	int pos=1;
	ll cur=0,ans=0;
	rep(i,1,n){
		cur+=dt[i];
		while(pos<n && a[pos+1].x<=a[i].x+2*d) {
			++pos;
		}
		a[i].h-=cur;//之前打的 
		if(a[i].h<=0) continue;
		ll times=ceil((double)a[i].h/atk);
		
		cur+=atk*times;
		dt[pos+1]-=atk*times;//现在再打 
		a[i].h=0;
		ans+=times;
	}
	cout<<ans<<endl;
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:47:26: error: 'ceil' was not declared in this scope
   47 |                 ll times=ceil((double)a[i].h/atk);
      |                          ^~~~
Language: C++

int main()
{
	int a, b;
	scanf("%d %d", &a, &b);
	if((a==b)||(a!=b)){
		printf("Yes\n");
	}
	else{
		printf("No\n");
	}

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d %d", &a, &b);
      |         ^~~~~
a.cc:6:17: error: 'printf' was not declared in this scope
    6 |                 printf("Yes\n");
      |                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main()
a.cc:9:17: error: 'printf' was not declared in this scope
    9 |                 printf("No\n");
      |                 ^~~~~~
a.cc:9:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include  <stdio.h>

int main(void)
{
    int N,M;
    scanf("%d %d", &N &M);
    (N == M) ? puts("Yes\n") : puts("No\n");
            
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
    6 |     scanf("%d %d", &N &M);
      |                    ~~ ^~
      |                    |   |
      |                    |   int
      |                    int*
Language: C

#include <stdio.h>

int main (){
	int a, b;
	scanf("%d %d", &a, &b);
	if ((3a+b)%2 == 0){
		printf("Yes");
	}
	else {
		printf("No");
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:14: error: invalid suffix "a" on integer constant
    6 |         if ((3a+b)%2 == 0){
      |              ^~
Language: C++

#include <stdio.h>

int main()
{
	int x, y;
	scanf("%d%d", &x, &y);
	
	if(x==y)
	{
		printf("Yes");
	}
	else
	{
		printf("No");
	}
	
	ret

Compiler output:
a.cc: In function 'int main()':
a.cc:17:9: error: 'ret' was not declared in this scope
   17 |         ret
      |         ^~~
a.cc:17:12: error: expected '}' at end of input
   17 |         ret
      |            ^
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:9: error: 'scanf' was not declared in this scope
    4 |         scanf("%d %d", &N, &M);
      |         ^~~~~
a.cc:7:17: error: 'printf' was not declared in this scope
    7 |                 printf("Yes");
      |                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main()
a.cc:11:17: error: 'printf' was not declared in this scope
   11 |                 printf("No");
      |                 ^~~~~~
a.cc:11:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

	int main (){
		int a,b;
		
		scanf("%d %d", &a,&b);
		if (a==b){
			printf("yes\n");
		}else
			printf("no\n");
		
		return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:17: error: 'scanf' was not declared in this scope
    4 |                 scanf("%d %d", &a,&b);
      |                 ^~~~~
a.cc:6:25: error: 'printf' was not declared in this scope
    6 |                         printf("yes\n");
      |                         ^~~~~~
a.cc:1:8: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 |         int main (){
a.cc:8:25: error: 'printf' was not declared in this scope
    8 |                         printf("no\n");
      |                         ^~~~~~
a.cc:8:25: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C++

#include <stdio.h>

int main(){
	int N, M;
	scanf("%d %d", &N, &M);
	N==M ? printf("Yes") : ("No");
		
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: error: operands to '?:' have different types 'int' and 'const char*'
    6 |         N==M ? printf("Yes") : ("No");
      |         ~~~~~^~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

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

int main(){
 int N,M;
 cin>>N>>M;
 if(N==M){
 cout<<"Yes"<<endl;
 }
 else{
 cout<<"No"<<endl;
 }
}

Compiler output:
a.cc:2:17: error: 'stdc' is not a namespace-name
    2 | using namespace stdc;
      |                 ^~~~
a.cc: In function 'int main()':
a.cc:6:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |  cin>>N>>M;
      |  ^~~
      |  std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:2: 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:15: 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:11:2: 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:14: 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

//package Atcoder;
import java.util.*;
import java.io.*;
public class A
{
	static final int mod=(int)1e9+7;
	static final int inf=(int)1e9;
	static final long INF=(long)1e18;
	public static void main(String[] args)
	{
		FastScanner fs=new FastScanner();
		int n=fs.nextInt();
		int m=fs.nextInt();
		if(n==m)
			System.out.println("Yes");
		else
			System.out.println("No");
	}
}
class FastScanner 
{
		BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
		StringTokenizer st = new StringTokenizer("");
		public String next() 
		{
			while (!st.hasMoreTokens())
				try {
					st=new StringTokenizer(br.readLine());
				} catch (IOException e) {
					e.printStackTrace();
				}
			return st.nextToken();
			
		}
		
		long pow(long x,long n)
		{
			long res=1;
			while(n>0)
			{
			   	if(n%2!=0)
			   	{
			   		res=(res*x);n--;
			   	}
			   	else
			   	{
			   		x=(x*x);n/=2;
			   	}
			}
			return res;
		}
		int gcd(int a,int b)
		{
			if(b==0)
			{
				return a;
			}
			return gcd(b,a%b);
		}
		long longgcd(long a,long b)
		{
			if(b==0)
			{
				return a;
			}
			return longgcd(b,a%b);
		}
		int[] sort(int arr[])
		{
			ArrayList<Integer> list = new ArrayList<Integer>();
			for(int i:arr)list.add(i);
			Collections.sort(list);
			for(int i=0;i<arr.length;i++)
			{
				arr[i]=list.get(i);
			}
			return arr;
		}
		char[] charsort(char arr[])
	        {
	    	ArrayList<Character> list = new ArrayList<>();
	    	for(char c:arr)list.add(c);
	    	Collections.sort(list);
	    	for(int i=0;i<list.size();i++)
	    	{
	    		arr[i]=list.get(i);
	    	}
	    	return arr;
	        }
		long[] longsort(long arr[])
		{
			ArrayList<Long> list = new ArrayList<Long>();
			for(long i:arr)list.add(i);
			Collections.sort(list);
			for(int i=0;i<arr.length;i++)
			{
				arr[i]=list.get(i);
			}
			return arr;
		}
		public int nextInt() 
		{
			return Integer.parseInt(next());
		}
		public int[] readArray(int n)
		{
			int[] arr=new int[n];
			for (int i=0; i<n; i++) arr[i]=nextInt();
			return arr;
		}	
		public long nextLong()
		{
			return Long.parseLong(next());
		}
		public long[] longreadArray(int n) 
		{
			long[] a=new long[n];
			for (int i=0; i<n; i++) a[i]=nextLong();
			return a;
		}
}

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

import java.util.Scanner;

public class ACORWA {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int m = scanner.nextInt();
        if(n == m){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }
}

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

import java.util.Scanner;

/**
 * Created by enpingkuang on 2020/9/9 11:58 下午
 */
public class ACORWA {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int m = scanner.nextInt();
        if(n == m){
            System.out.println("Yes");
        }else{
            System.out.println("No");
        }
    }
}

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

import java.util.Scanner;

/**
 * Created by enpingkuang on 2020/9/9 11:58 下午
 */
public class ACORWA {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int n = scanner.nextInt();
        int m = scanner.nextInt();
        if(n == m){
            System.out.println("yes");
        }else{
            System.out.println("no");
        }
    }
}

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

#include "bits/stdc++.h"
#include "atcoder/all"
#define rep(i,n) for(int i = 0; i < (n); ++i)
using namespace std;
using namespace atcoder;
typedef long long int ll;
typedef pair<int, int> P;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return 1; } return 0; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return 1; } return 0; }

int main(){
	cin.tie(0);
	ios::sync_with_stdio(false);
	int n, m;
	cin >> n >> m;
	if(n == m) cout << "Yes" << endl;
	else cout << "No" << endl;
	return 0;
}


Compiler output:
a.cc:2:10: fatal error: atcoder/all: No such file or directory
    2 | #include "atcoder/all"
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <bits/stdc++.h>

using namespace std; 
 
#define int long long
#define M 1000000007
 
signed main(){
	
	ios_base::sync_with_stdio(false);
    cin.tie(NULL);cout.tie(NULL);
	
	itn n,m;
	cin >> n >> m;
	if(n==m){
		cout << "Yes" << endl;
	}	
	else{
		cout << "No" << endl;
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:9: error: 'itn' was not declared in this scope; did you mean 'int'?
   13 |         itn n,m;
      |         ^~~
      |         int
a.cc:14:16: error: 'n' was not declared in this scope; did you mean 'yn'?
   14 |         cin >> n >> m;
      |                ^
      |                yn
a.cc:14:21: error: 'm' was not declared in this scope; did you mean 'tm'?
   14 |         cin >> n >> m;
      |                     ^
      |                     tm
Language: C++

#include <iostream>

using namespace std;

int main()
{
 int N , M;
  cin >> N >> M;
  if( N == M)
  {
    cou << "Yes" << endl;
  }
  else
  {
    cout << "No" << endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: 'cou' was not declared in this scope
   11 |     cou << "Yes" << endl;
      |     ^~~
Language: C++

#include<iostream>
#include<bits/stdc++.h>


using namespace std;
typedef long long int ll;

void solve()
{
    ll,N,mM
    cin>>N>>M;
    if(N==M){cout<<"YES";return;}
    cout<<"NO";return;
}
    int main()
    {
        solve();
    }

}


Compiler output:
a.cc: In function 'void solve()':
a.cc:10:7: error: expected unqualified-id before ',' token
   10 |     ll,N,mM
      |       ^
a.cc:11:5: error: expected initializer before 'cin'
   11 |     cin>>N>>M;
      |     ^~~
a.cc:12:11: error: 'M' was not declared in this scope
   12 |     if(N==M){cout<<"YES";return;}
      |           ^
a.cc: At global scope:
a.cc:20:1: error: expected declaration before '}' token
   20 | }
      | ^
Language: C++

#include <iostream>
using namespace std;
int main() {
	int h, a, ans;
	cin >> h >> a;
	do {
		h -= a;
		ans++;
	} while (h < 0)
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: expected ';' before '}' token
    9 |         } while (h < 0)
      |                        ^
      |                        ;
   10 | }
      | ~
Language: C++

#include <iostream>

using namespace std;

int main {
  int n, m;
  cin >> n >> m;
  
  if (n == m) {
    cout << "Yes";
  } else {
    cout << "No";
  }
  
  return 0;
}

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

#include<stdio.h>
int main()
{
    int N, M;
    scanf("%d%d", &N, &M);
    if(N==m)
        printf("YES");
    else
        printf("NO");
    return 0;
}


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

#include<iostream>
using namespace std;
int main()
{
    int N,M;
    cin>>N>>M;
    if(n==m){
        cout<<"Yes";
    }else{
        cout<<"No";
    }
return 0;}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'n' was not declared in this scope
    7 |     if(n==m){
      |        ^
a.cc:7:11: error: 'm' was not declared in this scope
    7 |     if(n==m){
      |           ^
Language: C

#include<iostream>
using namespace std;
int main()
{
    int n,m;
    cin>>n>>m;
    if(n==m){
        cout<<"yes";
    }else{
        cout<<"no";
    }
return 0;}


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

#include<stdio.h>
main()
{
  int N,M;
  printf("N:");
  scanf("%d",&N);
  printf ("M:");
  scanf("%d",&M);
  if(N==M)
  {
     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:15:6: error: expected declaration or statement at end of input
   15 |      printf("No");
      |      ^~~~~~
main.c:15:6: error: expected declaration or statement at end of input
Language: C++

#include <iostream>
using namespace std;
int main(){
  int n,m;
  cin>>n>>m;
  
  it(n<=m)
    cout<<"Yes";
  else 
    cout<<"No";
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'it' was not declared in this scope; did you mean 'int'?
    7 |   it(n<=m)
      |   ^~
      |   int
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else
      |   ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
	cin>>a>>b;
	if(a==b)
	cout<<"Yes";
	e;se
	cout<<"No";
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: 'e' was not declared in this scope
    9 |         e;se
      |         ^
a.cc:9:11: error: 'se' was not declared in this scope
    9 |         e;se
      |           ^~
Language: C++

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

int main(){
  int N,M;cin>>N>>M;
  if(N==M) cout<<"Yes"<<endl;
  else cout<<"No"<<endl;
}
     

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

main(){int a,b;
scanf("%d%d",&a,&b);
puts(a=b?"Yes":"No")       
}

Compiler output:
main.c:1:1: error: return type defaults to 'int' [-Wimplicit-int]
    1 | main(){int a,b;
      | ^~~~
main.c: In function 'main':
main.c:2:1: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    2 | scanf("%d%d",&a,&b);
      | ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | main(){int a,b;
main.c:2:1: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    2 | scanf("%d%d",&a,&b);
      | ^~~~~
main.c:2:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:3:1: error: implicit declaration of function 'puts' [-Wimplicit-function-declaration]
    3 | puts(a=b?"Yes":"No")
      | ^~~~
main.c:3:1: note: include '<stdio.h>' or provide a declaration of 'puts'
main.c:3:7: error: assignment to 'int' from 'char *' makes integer from pointer without a cast [-Wint-conversion]
    3 | puts(a=b?"Yes":"No")
      |       ^
main.c:3:7: error: passing argument 1 of 'puts' makes pointer from integer without a cast [-Wint-conversion]
    3 | puts(a=b?"Yes":"No")
      |      ~^~~~~~~~~~~~~
      |       |
      |       int
main.c:3:7: note: expected 'const char *' but argument is of type 'int'
main.c:3:21: error: expected ';' before '}' token
    3 | puts(a=b?"Yes":"No")
      |                     ^
      |                     ;
    4 | }
      | ~
Language: C

#include <bits/stdc++.h>

using namespace std;

int main() {

    int n,m;
    cin>>n>>m;
    n==m?cout<<"Yes"<<endl: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: Java

#include <bits/stdc++.h>

using namespace std;

int main() {

    int n,m;
    cin>>n>>m;
    n==m?cout<<"Yes"<<endl:cout<<"No"<<endl;

    return 0;
}


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:8: error: not a statement
    cin>>n>>m;
          ^
Main.java:9: error: not a statement
    n==m?cout<<"Yes"<<endl:cout<<"No"<<endl;
        ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
5 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:3: error: 'cin' was not declared in this scope
    3 |   cin>>n>>m;
      |   ^~~
a.cc:4:12: error: 'cout' was not declared in this scope
    4 |   if(n==m) cout<< "Yes" <<endl;
      |            ^~~~
a.cc:4:27: error: 'endl' was not declared in this scope
    4 |   if(n==m) cout<< "Yes" <<endl;
      |                           ^~~~
a.cc:5:8: error: 'cout' was not declared in this scope
    5 |   else cout<< "No" <<endl;
      |        ^~~~
a.cc:5:22: error: 'endl' was not declared in this scope
    5 |   else cout<< "No" <<endl;
      |                      ^~~~
Language: Java

import java.util.*;

public class Main{
  Scanner scan = new Scanner(System.in);
    int n = scan.nextInt();
    int m = scan.nextInt();
    String a = "";
    String b = "";
 
    for (int i=0;i<m;i++){
      a += n+"";
    }
 
    for (int j=0;j<n;j++){
      b += m+"";
    }
 
    if (n>=m){
      System.out.println(b);
    }
    else{
      System.out.println(a);
    }
  }
}

Compiler output:
Main.java:10: error: illegal start of type
    for (int i=0;i<m;i++){
    ^
Main.java:10: error: > or ',' expected
    for (int i=0;i<m;i++){
                    ^
Main.java:10: error: <identifier> expected
    for (int i=0;i<m;i++){
                      ^
Main.java:14: error: illegal start of type
    for (int j=0;j<n;j++){
    ^
Main.java:14: error: > or ',' expected
    for (int j=0;j<n;j++){
                    ^
Main.java:14: error: <identifier> expected
    for (int j=0;j<n;j++){
                      ^
Main.java:18: error: illegal start of type
    if (n>=m){
    ^
Main.java:18: error: <identifier> expected
    if (n>=m){
         ^
Main.java:18: error: <identifier> expected
    if (n>=m){
            ^
Main.java:21: error: illegal start of type
    else{
    ^
Main.java:25: error: class, interface, enum, or record expected
}
^
11 errors
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: redeclaration of 'int n'
    5 |         int n,n;
      |               ^
a.cc:5:13: note: 'int n' previously declared here
    5 |         int n,n;
      |             ^
a.cc:6:17: error: 'm' was not declared in this scope
    6 |         cin>>n>>m;
      |                 ^
Language: C++

#include<iostream>
using namespace std;

int main() {
  int N, M;
  cin >> N >> M;
  if (N == M) {
    cout << "Yes";
  else {
    cout << "No";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: expected '}' before 'else'
    9 |   else {
      |   ^~~~
a.cc:7:15: note: to match this '{'
    7 |   if (N == M) {
      |               ^
Language: C++

#include<iostream>
#include<string>
#include<cstdio>
#include<algorithm>
#include<cmath>
#include<cstdlib>
#include<iterator>
#include<set>
#include<sstream>
#define rep(i,n) for(i=0;i<n;i++);
#define endl "\n"
#define ll long long
#define N 200050
using namespace std;

int main()
{
    long long int d,i,n,m,p=0,q=0,r=0,s=0,l;

    int j,k,x;

    cin>>n>>x;

if((n-x)==0)
  cout<<"Yes";
else
  cout<<"No"

}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:13: error: expected ';' before '}' token
   27 |   cout<<"No"
      |             ^
      |             ;
   28 | 
   29 | }
      | ~
Language: C++

/* 
 * Project: AtCoder Beginners Contest 152
 * Author: toms74209200 <https://github.com/toms74209200>
 *
 * Created on 2020/07/10
 * Copyright (c) 2020 toms74209200
 * 
 * This software is released under the MIT License.
 * http://opensource.org/licenses/mit-license.php
 */
#include <cstdio>
using namespace std;


int n, m;

void solve() {

    if (n == m)
        printf("Yes\n",);
    else
        printf("No\n");
}

int main() {

    scanf("%d", &n);
    scanf("%d", &m);

    solve();

}


Compiler output:
a.cc: In function 'void solve()':
a.cc:20:24: error: expected primary-expression before ')' token
   20 |         printf("Yes\n",);
      |                        ^
Language: Java

import java.util.Scanner;
public class Main {
  public static void main(String[] args){
    Scanner sc = new Scanner(Ststem.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    if(a == b){
      System.out.println("Yes");
    }else{
      System.out.println("No");
    }
    sc.close();
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
    Scanner sc = new Scanner(Ststem.in);
                             ^
  symbol:   variable Ststem
  location: class Main
1 error
Language: C++

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

int main() {
  int n, m; cin >> n >> m;
  if(n == m) cout << "AC" << endl;
  else cout << "WA" << endl;
}

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

import java.util.*;

public class Main {
 
  public static void main(String args[]) {
   
    Scanner sc = new Scanner(System.in);
    int cases = sc.nextInt();
    int passed = sc.nextInt();
    
    if (cases - passed = 0) {
    	System.out.println("Yes");
    } else {
          System.out.println("No");
    }

   

    
  }
}

Compiler output:
Main.java:11: error: unexpected type
    if (cases - passed = 0) {
              ^
  required: variable
  found:    value
1 error
Language: C

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


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

#inclucde<bits/stdc++.h>
using namespace std;
int main(){
  string S,T,U;
  int A,B;
  cin >> A >> B;
  if(A%B==0)S="Yes";
  else S="No";
  cout << S << endl;
}


Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclucde; did you mean #include?
    1 | #inclucde<bits/stdc++.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:4:3: error: 'string' was not declared in this scope
    4 |   string S,T,U;
      |   ^~~~~~
a.cc:1:1: note: 'std::string' is defined in header '<string>'; this is probably fixable by adding '#include <string>'
  +++ |+#include <string>
    1 | #inclucde<bits/stdc++.h>
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> A >> B;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclucde<bits/stdc++.h>
a.cc:7:13: error: 'S' was not declared in this scope
    7 |   if(A%B==0)S="Yes";
      |             ^
a.cc:8:8: error: 'S' was not declared in this scope
    8 |   else S="No";
      |        ^
a.cc:9:3: error: 'cout' was not declared in this scope
    9 |   cout << S << endl;
      |   ^~~~
a.cc:9:3: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:11: error: 'S' was not declared in this scope
    9 |   cout << S << endl;
      |           ^
a.cc:9:16: error: 'endl' was not declared in this scope
    9 |   cout << S << endl;
      |                ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclucde<bits/stdc++.h>
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
      	
      	int[] a = new int[n];
      	int min = 0;
      	int count = 1;
        for(int i = 0; i < a.length; ++i){
          a[i] = sc.nextInt;
          min = a[0];
        }
      	for(int i = 0; i <n; i++){
          if(min > a[i]){
            min = a[i];
            count += 1; 
          }
          system.out.println(min);
          }
        }
}


Compiler output:
Main.java:11: error: cannot find symbol
          a[i] = sc.nextInt;
                   ^
  symbol:   variable nextInt
  location: variable sc of type Scanner
Main.java:19: error: package system does not exist
          system.out.println(min);
                ^
2 errors
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:5: error: expected '(' before '{' token
    7 |   if{m==n}{
      |     ^
      |     (
main.c:9:2: error: 'else' without a previous 'if'
    9 | }else printf("No");
      |  ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    5 |   scanf("%d",&m);
      |   ^~~~~
main.c:6:15: error: 'n' undeclared (first use in this function)
    6 |   scanf("%d",&n);
      |               ^
main.c:6:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:5: error: expected '(' before '{' token
    7 |   if{m==n}{
      |     ^
      |     (
main.c:9:2: error: 'else' without a previous 'if'
    9 | }else printf("No");
      |  ^~~~
Language: C

#include <stdio.h>
int main(void)
{
  scanf("%d",m);
  scanf("%d",n);
  if{m>n}
 printf("yes");
   else if{m<n}
  printf("no");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:14: error: 'm' undeclared (first use in this function)
    4 |   scanf("%d",m);
      |              ^
main.c:4:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:14: error: 'n' undeclared (first use in this function)
    5 |   scanf("%d",n);
      |              ^
main.c:6:5: error: expected '(' before '{' token
    6 |   if{m>n}
      |     ^
      |     (
main.c:8:4: error: 'else' without a previous 'if'
    8 |    else if{m<n}
      |    ^~~~
main.c:8:11: error: expected '(' before '{' token
    8 |    else if{m<n}
      |           ^
      |           (
Language: C++

lst = input().split(' ')
m = lst[0]
n = lst[1]

if n==m:
    print('AC')
else:
    print('WA')

Compiler output:
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('AC')
      |           ^~~~
a.cc:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     print('WA')
      |           ^~~~
a.cc:1:1: error: 'lst' does not name a type
    1 | lst = input().split(' ')
      | ^~~
Language: C

#include<stdio.h>

int main(void)
{
  int N,M;
    scanf("%d%d",&N,&M);
  
  if(N == M);
    printf("YES");
  else
    printf("no");
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:3: error: 'else' without a previous 'if'
   10 |   else
      |   ^~~~
Language: Java

import java.util.Scanner;

public class ACorWA {

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

	}

}


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

#include<iostream>
using namespace std;
int n,m;
cin>>n;
cin>>m
if(n==m)
  cout<<"yes";
else
  cout<<"no";

Compiler output:
a.cc:4:1: error: 'cin' does not name a type
    4 | cin>>n;
      | ^~~
a.cc:5:1: error: 'cin' does not name a type
    5 | cin>>m
      | ^~~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else
      | ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  int N,M;
  cin >>N>>M;
    if(M==N){
      cout<<yes<<endl;
    }else{
      cout >>no<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: 'yes' was not declared in this scope
    7 |       cout<<yes<<endl;
      |             ^~~
a.cc:9:14: error: 'no' was not declared in this scope
    9 |       cout >>no<<endl;
      |              ^~
Language: C++

#includ <bits/stdc++.h>
using namespace std;
int main(){
  int N,M;
  cin >>N>>M
    if(M==N){
      cout<<"AC"<<endl;
    }
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #includ; did you mean #include?
    1 | #includ <bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >>N>>M
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #includ <bits/stdc++.h>
Language: C++

#include <iostream>

using namespace std;

int main() {
    int n,m;
    cin>>n>>;
    if(m=n){
    cout<<"Yes";
    }
    else{
        cout<<"No";
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before ';' token
    7 |     cin>>n>>;
      |             ^
Language: C++

#include <iostream>

int main() {
	int x, y;
  
  	scanf("%d", &x);
  	scanf("%d", &y);
  	
  	if (x == y) {
    	std::cout << "Yes" << std::endl;
      	retern 0;
    }
  
  	std::cout << "No" << std::endl;
    retern 0;
}	

Compiler output:
a.cc: In function 'int main()':
a.cc:11:9: error: 'retern' was not declared in this scope; did you mean 'extern'?
   11 |         retern 0;
      |         ^~~~~~
      |         extern
a.cc:15:5: error: 'retern' was not declared in this scope; did you mean 'extern'?
   15 |     retern 0;
      |     ^~~~~~
      |     extern
Language: C

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

return 0;
};

Compiler output:
main.c:8:2: error: expected identifier or '(' before 'else'
    8 | }else{
      |  ^~~~
main.c:12:1: error: expected identifier or '(' before 'return'
   12 | return 0;
      | ^~~~~~
main.c:13:1: error: expected identifier or '(' before '}' token
   13 | };
      | ^
Language: Java

import java.util.Scanner;


public class vc0613{

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

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

import java.util.Scanner;


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

Compiler output:
Main.java:4: 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: Java

import java.util.Scanner;


public class HelloWorld{

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

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

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

using ll = long long; 

const int mod = 1e9+7;

int add(int a, int b) {
    int c = a + b;
    if (c >= mod) {
        c -= mod;
    }
    return c;
}


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

Compiler output:
a.cc: In function 'int main()':
a.cc:18:20: error: 'a' was not declared in this scope
   18 |     scanf("%d%d", &a, &b);
      |                    ^
a.cc:18:24: error: 'b' was not declared in this scope
   18 |     scanf("%d%d", &a, &b);
      |                        ^
Language: C++

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

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:24: error: expected unqualified-id before '&' token
    5 |     scanf("%d %d", &N. &M);
      |                        ^
Language: C++

#include <stdio.h>
int main(void){
    int N, M;
    
    scanf("%d %d", &N. &M);
  
    if(N == M){
        printf("yes¥n");
    } else {
        printf("no¥n");
    }

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:24: error: expected unqualified-id before '&' token
    5 |     scanf("%d %d", &N. &M);
      |                        ^
Language: C++

 //بِسْمِ ٱللَّٰهِ ٱلرَّحْمَٰنِ ٱلرَّحِيمِ
#include <bits/stdc++.h>

using namespace std;

typedef long long ll;

#define endl "\n"


int main()
{
    ios::sync_with_stdio(0); cin.tie(0);
    int a, b;
    cin >> a>> b;
    if (a == b)
        cout << "Yes" << endl;
    esle
        cout << "No" << endl;
    return 0;
}


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

#include<bits/stdc++.h>
#define FOR(i,x) for(i=1;i<=x;i++)
using namespace std;
using ll = long long int;
typedef vector<ll> vi;
ll k,b,ar[11]={};
void Next_letter()
{
	char k;
	cin>>k,k++;
	cout<<k<<"\n";
}
void concat()
{
	string a,b;
	cin>>b>>a;
	cout<<a+b<<"\n";
}
void pass()
{
	cin>>k>>b;
	cout<<(k==b?"Yes":"No")<<"\n";
	return;
}
int main()
{
    passt();
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:27:5: error: 'passt' was not declared in this scope; did you mean 'pass'?
   27 |     passt();
      |     ^~~~~
      |     pass
Language: C++

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

int main()
{
  int n, m;
  cin >> n >> m;
  if(n == m)
    cout << "YES";
  else
    cout << "NO";
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclde; did you mean #include?
    1 | #inclde<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> n >> m;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclde<bits/stdc++.h>
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "YES";
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:5: error: 'cout' was not declared in this scope
   11 |     cout << "NO";
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:17: error: 'No' was not declared in this scope
   11 |         cout << No << endl;
      |                 ^~
Language: C++

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: expected initializer before '.' token
    5 |   int n.m;
      |        ^
a.cc:6:10: error: 'n' was not declared in this scope; did you mean 'yn'?
    6 |   cin >> n >> m;
      |          ^
      |          yn
a.cc:6:15: error: 'm' was not declared in this scope; did you mean 'tm'?
    6 |   cin >> n >> m;
      |               ^
      |               tm
a.cc:9:20: error: expected primary-expression before ',' token
    9 |     cout << "Yes" <, endl;
      |                    ^
Language: C++

#include <cstdio>
#include <iostream>
#include <vector>
#include <algorithm>
using namespace std;


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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:18: error: expected ';' before '}' token
   15 |     cout << "Yes"
      |                  ^
      |                  ;
   16 |   }else{
      |   ~
Language: Java

import java.util.Scanner;


class Main{
 public static void main(String args[]){
   Scanner sc = new Scanner(System.in);
   int N = Integer.parseInt(sc.next());
   int count=0;
   
   int[] P = new int[N];
   for(int i=0;i<N;i++){
   	P[i] = Integer.parse(sc.nextInt());
   }

   for(int a=0;a<N;a++){
   	for(int b=0;b<=a;b++){
     if(P[a]>P[b]){
       count=count+1;
       break;
     }
      
   }
     
   }
   System.out.println(N-count);
 }
}


Compiler output:
Main.java:12: error: cannot find symbol
   	P[i] = Integer.parse(sc.nextInt());
   	              ^
  symbol:   method parse(int)
  location: class Integer
1 error
Language: C

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


int main()
{
    int n;
    int m;

    cin >>n>>m;

    if(n==m){
        cout>>"Yes";
    }
    else
    {
        cout>>"No";
    }
    
}

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 n;
    int m;

    cin >>n>>m;

    if(n==m){
        cout>>"Yes"
    }
    else
    {
        cout>>"No"
    }
    
}

Compiler output:
main.c: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 Main{
	public static void main(Strings[] args){
		Scanner sc = new Scanner(System.in);
      	int N = sc.nextInt();
      	int M = sc.nextInt();
      	if(N == M){
      		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 Main
1 error