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

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
template<class T> using vt = vector<T>;
template<class T> using vvt = vector<vt<T>>;
template<class T> using ttt = tuple<T,T>;
using tii = tuple<int,int>;
using vi = vector<int>;
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define pb push_back
#define mt make_tuple
#define ALL(a) (a).begin(),(a).end()
#define FST first
#define SEC second
#define DEB cerr<<"!"<<endl
#define SHOW(a,b) cerr<<(a)<<" "<<(b)<<endl
#define DIV int(1e9+7)
const int INF = (INT_MAX/2);
const ll LLINF = (LLONG_MAX/2);
const double eps = 1e-8;
//const double PI = M_PI;
inline ll pow(ll x,ll n,ll m){ll r=1;while(n>0){if((n&1)==1)r=r*x%m;x=x*x%m;n>>=1;}return r%m;}
inline ll lcm(ll d1, ll d2){return d1 / __gcd(d1, d2) * d2;}
#define chmax(a,b) a=max(a,b)

/*Coding Space*/
int n;
int px[100001] = {};
int py[100001] = {};
bool is[100001][100001] = {};

int ans = 0;
int main(){
  cin >> n;
  rep(i,n) cin >> px[i] >> py[i], is[px[i]][py[i]] = 1;

  rep(i,n)for(int j = i+1; j < n; ++j){
    if(px[i] == px[j] || py[i] == px[j]) continue;
    else{
      if(is[px[i]][py[j]]^is[px[j]][py[i]]) ans++;
    }
  }
  cout << ans << endl;
}


Compiler output:
/tmp/ccSkrjCq.o: in function `main':
a.cc:(.text+0x1f8): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/ccSkrjCq.o
a.cc:(.text+0x201): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/ccSkrjCq.o
a.cc:(.text+0x230): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/ccSkrjCq.o
collect2: error: ld returned 1 exit status
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
template<class T> using vt = vector<T>;
template<class T> using vvt = vector<vt<T>>;
template<class T> using ttt = tuple<T,T>;
using tii = tuple<int,int>;
using vi = vector<int>;
#define rep(i,n) for(int i=0;i<(int)(n);i++)
#define pb push_back
#define mt make_tuple
#define ALL(a) (a).begin(),(a).end()
#define FST first
#define SEC second
#define DEB cerr<<"!"<<endl
#define SHOW(a,b) cerr<<(a)<<" "<<(b)<<endl
#define DIV int(1e9+7)
const int INF = (INT_MAX/2);
const ll LLINF = (LLONG_MAX/2);
const double eps = 1e-8;
//const double PI = M_PI;
inline ll pow(ll x,ll n,ll m){ll r=1;while(n>0){if((n&1)==1)r=r*x%m;x=x*x%m;n>>=1;}return r%m;}
inline ll lcm(ll d1, ll d2){return d1 / __gcd(d1, d2) * d2;}
#define chmax(a,b) a=max(a,b)

/*Coding Space*/
int n;
int px[100001] = {};
int py[100001] = {};
bool is[100001][100001] = {};

int ans = 0;
int main(){
  cin >> n;
  rep(i,n) cin >> px[i] >> py[i], is[px[i]][py[i]] = 1;

  rep(i,n)for(int j = i+1; j < n; ++j){
    if(px[i] == px[j] || py[i] == py[j]) continue;
    else{
      if(is[px[i]][py[j]]^is[px[j]][py[i]]) ans++;
    }
  }
  cout << ans << endl;
}


Compiler output:
/tmp/cc6DtDoH.o: in function `main':
a.cc:(.text+0x1f8): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/cc6DtDoH.o
a.cc:(.text+0x201): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/cc6DtDoH.o
a.cc:(.text+0x230): relocation truncated to fit: R_X86_64_PC32 against symbol `ans' defined in .bss section in /tmp/cc6DtDoH.o
collect2: error: ld returned 1 exit status
Language: C++

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

const int maxn = 1e5 + 5;

int xfa[maxn] = { 0 }, yfa[maxn] = {0};
int xsize[maxn] = { 0 }, ysize[maxn] = {0};
int vis[maxn] = { 0 };
struct point {
	int x;
	int y;
}p[maxn];
list<int>xcolumn[maxn];
list<int>yrow[maxn];

int xfindrt(int p)
{
	return (p == xfa[p] ? p :xfa[p]= xfindrt(xfa[p]));
}
int xmerge(int a, int b)
{
	int fa = xfindrt(a), fb = xfindrt(b);
	if (fa == fb)
		return 1;
	xfa[fb] = fa;
	xsize[fa] += xsize[fb];
	xsize[fb] = 0;
	return 0;
}
int yfindrt(int p)
{
	return (p == yfa[p] ? p : yfa[p] = yfindrt(yfa[p]));
}
int ymerge(int a, int b)
{
	int fa = yfindrt(a), fb = yfindrt(b);
	if (fa == fb)
		return 1;
	yfa[fa] = fb;
	ysize[fb] += ysize[fa];
	ysize[fa] = 0;
	return 0;
}

int main()
{
	int n;
	cin >> n;

	for (int i = 0; i < n; i++)
	{
		int a, b;
		cin >> a >> b;
		p[i] = { a,b };
		xcolumn[a].push_back(b);
		yrow[b].push_back(a);

		xsize[a] = ysize[b] = 1;
		xfa[a] = a;
		yfa[b] = b;
	}
	for (int i = 1; i < maxn; i++)
	{
		if (xcolumn[i].size()<=1)
			continue;
		int t = xcolumn[i].front();
		for (int k : xcolumn[i])
		{
			ymerge(t, k);
		}
	}
	for (int i = 1; i <maxn; i++)
	{
		if (yrow[i].size()<=1)
			continue;
		int t = yrow[i].front();
		for (int k : yrow[i])
		{
			xmerge(t, k);
		}
	}
	ll ans = 0;
	for (int i = 0; i < n; i++)
	{
		int  a = xfindrt(p[i].x), b = yfindrt(p[i].y);
		if (vis[a] == 0)
		{
			ans += ll(xsize[a]) * ysize[b];
			vis[a] = 1;
		}
	}
	cout << ans - n;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:2:12: error: expected primary-expression before 'long'
    2 | #define ll long long
      |            ^~~~
a.cc:89:32: note: in expansion of macro 'll'
   89 |                         ans += ll(xsize[a]) * ysize[b];
      |                                ^~
Language: C++

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

int main() {
  
  int A,X;
  
  cin >> A >> X;
  
  if (X < A){
    cout << "0";
  else{
    cout << "10";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:3: error: expected '}' before 'else'
   12 |   else{
      |   ^~~~
a.cc:10:13: note: to match this '{'
   10 |   if (X < A){
      |             ^
Language: C

#include<stdio.h>
int main(void)
{
	int x,a;
	scanf("%d %d",&x,&a);
	if(){
	printf("%d\n",0);
	}
	else if(x>a){
	printf("%d\n",10);
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:12: error: expected expression before ')' token
    6 |         if(){
      |            ^
Language: C++

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

#define     fast()              ios::sync_with_stdio(0); cin.tie(0); cout.tie(0); 
#define     ll                  long long int
#define     test()              ll t; cin>>t; while(t--) 
#define     lp0(i,begin,end)    for(ll i=begin;i<end;i++)
#define     lp1(i,begin,end)    for(ll i=begin;i<=end;i++)
#define     rlp(i,begin,end)    for(ll i=end;i>=begin;i--)
#define     prec(n)             fixed<<setprecision(n)
#define     initial(a,i)        memset(a,i,sizeof(a))
#define     pb                  push_back
#define     PI                  3.1415926535897932384626433832795
#define     MOD                 1000000007
#define     F                   first
#define     S                   second
#define     all(a)              (a).begin(),(a).end()
#define     BPC(x)              __builtin_popcountll(x)
#define     gcd(a,b)            __gcd(a,b)

ll gcd(ll a,ll b) {if (a==0) return b;return gcd(b%a,a);}

ll power(ll x,ll n)
{
    ll result = 1;
    while (n)
    {
        if (n & 1)
            result = result * x;
        n = n / 2;
        x = x * x;
    }
    return result;
}


// Solution Function
void solution(ll compte)
{
    // cout<<compte<<"\n";
    ll x,a;
	cin >> x >> a;
	if(x < a) cout << 0 << endl;
	else cout << 10 << endl;
    // Driver Function
int main()
{
    ll compte = 1;
    //test()
    //{
        solution(compte);
        compte++;
    //}
    return 0;
}


Compiler output:
a.cc: In function 'void solution(long long int)':
a.cc:47:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   47 | int main()
      |         ^~
a.cc:47:9: note: remove parentheses to default-initialize a variable
   47 | int main()
      |         ^~
      |         --
a.cc:47:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:48:1: error: a function-definition is not allowed here before '{' token
   48 | {
      | ^
a.cc:56:2: error: expected '}' at end of input
   56 | }
      |  ^
a.cc:40:1: note: to match this '{'
   40 | {
      | ^
Language: C++

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

#define ll long long
#define For(i,a,b) for(int (i)=(a);(i) < (b); ++(i))

const int N =100;

bool isprime(int n)
{
    if (n <= 1)
        return false;
    for (int i = 2; i*i<=n; i++)
        if (n % i == 0)
            return false;

    return true;
}
int binarySearch(int arr[], int l, int r, int x)
{
    if (r >= l) {
        int mid = l + (r - l) / 2;
        if (arr[mid] == x)
            return mid;
        if (arr[mid] > x)
            return binarySearch(arr, l, mid - 1, x);
        return binarySearch(arr, mid + 1, r, x);
    }
    return -1;
}
long long lcm(long long a,long long b)
{
    long long p,r;
    p = a*b;
    r = __gcd(a, b);
    return p/r;
}
bool ispalindrome(string s)
{
    int n = s.length();
    for(int i=0;i<n/2;i++)
    {
        if(s[i]!=s[n-i-1])
            return false;
    }
    return true;
}
bool isPerfectSquare(long double x)
{
  long double sr = sqrt(x);
  return ((sr - floor(sr)) == 0);

}
ll f(ll n) {
	return n * (n - 1) / 2;
}
bool cmp(const tuple<int, string, string>& a,
               const tuple<int, string, string>& b)
{
    return (get<0>(a) < get<0>(b));
}

void solve()
{
    ll x,a
    cin>>x>>a;
    if(x<a)
        cout<<0<<endl;
    else
        cout<<10<<endl;
}
int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int t;
    t=1;
    //cin>>t;
    while(t--)
    {
        solve();
    }
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:67:5: error: expected initializer before 'cin'
   67 |     cin>>x>>a;
      |     ^~~
a.cc:68:10: error: 'a' was not declared in this scope
   68 |     if(x<a)
      |          ^
Language: C++

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

int main() {
  int x, y;
  cin >> x >> y;
  cout << (x < y ? 0 : 10)
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: expected ';' before '}' token
    7 |   cout << (x < y ? 0 : 10)
      |                           ^
      |                           ;
    8 | }
      | ~
Language: C++

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

int main(){
  int x, a;
  cin >> x >> a;
  if(x < a) cout << 0 << endl;
  else << cout << 10 << endl;
}


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

#include<bits/stdc++.h>
using namespace std;
int main(){
  int x.a;
  cin>>x>>a;
  if(x<a){cout<<"0"<<endl;}
  else{cout<<"10"<<endl;}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:8: error: expected initializer before '.' token
    4 |   int x.a;
      |        ^
a.cc:5:8: error: 'x' was not declared in this scope
    5 |   cin>>x>>a;
      |        ^
a.cc:5:11: error: 'a' was not declared in this scope
    5 |   cin>>x>>a;
      |           ^
Language: C++

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

#define all(x) (x).begin(), (x).end()
#define sz(x) (int)(x).size()

typedef long long ll;
typedef array<int, 3> tri;
typedef array<int, 2> duo;
typedef long double ld;

template <class T> istream& operator>>(istream& I, vector<T>& v) {for (T &e: v) I >> e; return I;}
template <class T> ostream& operator<<(ostream &O, const vector<T>& v) {for (const T &e: v) O << e << ' '; return O;}




void _main() {
        int x, a; cin >> x >> a;
        if (x < a) cout << 0
        else cout << 10;
}



signed main() {
        ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
//        freopen("input.txt", "r", stdin);
        int _t = 1;
//        cin >> _t;
        while (_t--) _main();
        return 0;
}


Compiler output:
a.cc: In function 'void _main()':
a.cc:20:29: error: expected ';' before 'else'
   20 |         if (x < a) cout << 0
      |                             ^
      |                             ;
   21 |         else cout << 10;
      |         ~~~~
Language: C++

#include <iostream>
using namespace std;

int main()
{
  int a,b;
  cin>> a;
  cin >> b;
   if (a<b)
   {
   cout << "0"<< endl;
   }
     else 
     {
     cout << "10"<< endl;
   }
 
 return 0;
}

130

Compiler output:
a.cc:21:1: error: expected unqualified-id before numeric constant
   21 | 130
      | ^~~
Language: C++

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

signed main(){
	int X. A;
	scanf("%d%d", &X, &A);
	if(X < A){
		printf("0\n");
	}
	else{
		printf("10\n");
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:14: error: expected initializer before '.' token
    5 |         int X. A;
      |              ^
a.cc:6:24: error: 'X' was not declared in this scope
    6 |         scanf("%d%d", &X, &A);
      |                        ^
a.cc:6:28: error: 'A' was not declared in this scope
    6 |         scanf("%d%d", &X, &A);
      |                            ^
Language: Java

import java.utill.*;
 
public class Main{
  public static void main(String[] args){
    
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int a = sc.nextInt();
    
    if(x < a){
      System.out.println(0);
    }
    else if(x >= a){
      System.out.println(10);
    }
  }
}

Compiler output:
Main.java:1: error: package java.utill does not exist
import java.utill.*;
^
Main.java:6: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.utill.*;

public class Main{
  public static void main(Srting[] args){
    
    Scanner sc = new Scanner(System.in);
    int x = sc.nextInt();
    int a = sc.nextInt();
    
    if(x < a){
      System.out.println(0);
    }
    else if(x >= a){
      System.out.println(10);
    }
  }
}

Compiler output:
Main.java:4: error: cannot find symbol
  public static void main(Srting[] args){
                          ^
  symbol:   class Srting
  location: class Main
Main.java:1: error: package java.utill does not exist
import java.utill.*;
^
Main.java:6: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:6: error: cannot find symbol
    Scanner sc = new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
4 errors
Language: C++

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

int main(){
    int a,x;
    cin >> x >> a;
    cout << (x<a)?0:10<< endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:23: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
    7 |     cout << (x<a)?0:10<< endl;
      |                     ~~^~~~~~~
Language: C++

#include<bits/stdc++.h>
using namespace std.
int main(){
  int x,a;
  cin>>x>>a;
  if(x<a){
    cout<<0<<endl;
  }
  else{
    cout<<10<<endl;
  }
}

Compiler output:
a.cc:2:20: error: expected ';' before '.' token
    2 | using namespace std.
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before '.' token
Language: C

#include<stdio.h>
int main(void)
{
	int a,x;
	scanf("%d%d",&x,&a);
	
	if(x>=a)
	puts("10");
	
	else
	puts("0");
	

	return 0;


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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i,n) for (int i = 0; i < (n); ++i)
#define INF (1LL<<50)
#define MOD 1000000007
 
int main(){
    int X,A;
	cin >> X >> A;
    if(X<A){
      cout << 0 << endl;
    }else{
      cout << 10 << endl;
    return 0;
}

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

#include<vector>
#include <iostream>
#include<string>
#include <complex>
#include <algorithm>
#include<string>
#include <map>
#include <utility>

using namespace std;

int main(){

    int a, x;
    cin >> a;
    cin >> x;

    if(a < x){
        cout << 0 << endl;
    }else{
        cout << 10 << endl
    }
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:21:27: error: expected ';' before '}' token
   21 |         cout << 10 << endl
      |                           ^
      |                           ;
   22 |     }
      |     ~
Language: Java

import java.util.Scanner;

public class Qa {
  public static void main(String[] args) {
    int result;
    Scanner sc = new Scanner(System.in);
    int numX = sc.nextInt();
    int numA = sc.nextInt();
    result = numX < numA ? 0 : 10;
    System.out.println(result);
    sc.close();
  }
}

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

#include <stdio.h>

int main(){
	int X, A;
	scanf("%d %d", &X, &A);
	if(x < A)
		printf("0");
	else
		printf("10");
	return 0;
}

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

#include<bits.stdc++.h>

using namespace std;

int main(){
	int x , a;
	cin >> x >> a ;
	if(x < a)
		cout << 0 << endl;
	else
		cout << 10 << endl;
}

Compiler output:
a.cc:1:9: 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 a, b;
    cin >> a >> b;
    if(a<b)cout << 0;
    else cout << 10;


Compiler output:
a.cc: In function 'int main()':
a.cc:9:21: error: expected '}' at end of input
    9 |     else cout << 10;
      |                     ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int x,a;
  cin>>x>>a;
  cout<<if(x>a)?"10" :"0";
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: expected primary-expression before 'if'
    7 |   cout<<if(x>a)?"10" :"0";
      |         ^~
Language: Java

import java.util.*;

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = nextInt();
    int a = nextInt();
    System.out.println(x < a ? 0 : 10);
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    int x = nextInt();
            ^
  symbol:   method nextInt()
  location: class Main
Main.java:7: error: cannot find symbol
    int a = nextInt();
            ^
  symbol:   method nextInt()
  location: class Main
2 errors
Language: C++

#include <iostream>
using namespace std;
int main(void){
    
    int a,b;
    cin >> a >> b;
    
    if(a<b)
        cout << 0 << endl;
    else
        cout << 10 << endl;
    return 0

}


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

#include <iostream>
using namespace std;

int main() {
	int X; int A;
	cin>> X>> A;
	if(X>=A){
		cout<<"10";
	}
	else{
		printf("0\n")
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:30: error: expected ';' before '}' token
   11 |                 printf("0\n")
      |                              ^
      |                              ;
   12 |         }
      |         ~
Language: C

#include <iostream>
using namespace std;
int main(void){
    
    int a, x;
    cin >> x >> a;
    
    if(x < a) cout << "0" << endl;
    if(x >= a) cout << "10" << 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 namespace std;
int main(void){
    
    int a, x;
    cin >> x >> a;
    
    if(x < a) cout << 0 << endl;
    else cout << 10 << endl;
    
    return 0;
    
}

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

import java.util.Scanner;

public class A130 {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int X = sc.nextInt();
		int A = sc.nextInt();
		sc.close();
		System.out.println(X < A ? 0:10);
	}

}

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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)

int main() {
    int x, a;
    cin >> c >> a;
    if (x >= a) cout << 10;
    else cout << 0;
}

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

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

int main()
{
    int test_case;
    cin >> test_case;
    for(int i = 0; i < test_case; i++)
    {
        int x, a;
        cin >> x >> a;
        if(a > x)
        cout << "0" << endl;
        else
        cout << "10" << endl;
    }
    return 0;
}

Compiler output:
a.cc:3:15: error: missing terminating > character
    3 | #include <bits
      |               ^
a.cc:3:10: fatal error: bits: No such file or directory
    3 | #include <bits
      |          ^
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
int main()
{
int X,A;
cin>>X>>A;
if(X<A)
    cout << "0" << endl;
else
    cout << 10 << endl;
}0


Compiler output:
a.cc:11:2: error: expected unqualified-id before numeric constant
   11 | }0
      |  ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
	int a,b;
  cin>>a>>b;
  a>=b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";  
     return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:7:26: error: expected ':' before ';' token
    7 |   a>=b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";
      |                          ^
      |                          :
a.cc:7:26: error: expected primary-expression before ';' token
a.cc:7:28: error: expected primary-expression before ':' token
    7 |   a>=b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";
      |                            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
	int a,b;
  cin>>a>>b;
  a>b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";  
     return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:7:25: error: expected ':' before ';' token
    7 |   a>b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";
      |                         ^
      |                         :
a.cc:7:25: error: expected primary-expression before ';' token
a.cc:7:27: error: expected primary-expression before ':' token
    7 |   a>b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";
      |                           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(int argc, char const *argv[])
{
	int a,b;
  cin>>a>>b;
  a<b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";  
     return 0;
}

Compiler output:
a.cc: In function 'int main(int, const char**)':
a.cc:7:25: error: expected ':' before ';' token
    7 |   a<b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";
      |                         ^
      |                         :
a.cc:7:25: error: expected primary-expression before ';' token
a.cc:7:27: error: expected primary-expression before ':' token
    7 |   a<b ? cout<<"10"<<"\n"; : cout<<"0"<<"\n";
      |                           ^
Language: Java

int A,X;
if ( X < A )
	System.out.println("0");
else
	System.out.println("10");


Compiler output:
Main.java:1: error: class, interface, enum, or record expected
int A,X;
^
Main.java:2: error: class, interface, enum, or record expected
if ( X < A )
^
Main.java:4: error: class, interface, enum, or record expected
else
^
3 errors
Language: Java

int A;
int X;

if ( X < A )
	System.out.println("0");
else
	System.out.println("10");


Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
int A;
^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: class, interface, enum, or record expected
if ( X < A )
^
Main.java:6: error: class, interface, enum, or record expected
else
^
3 errors
Language: Java

import java.util.Scanner;

public class Main130 {

	public static void main(String[] args) {

		Scanner sc = new Scanner(System.in);

		int cntNums[] = new int[2];


		for(int i = 0; i <= 1; i++){

			int inputNums = sc.nextInt();
			cntNums[i] = inputNums;

		}

		if (cntNums[0] < cntNums[1]) {
			System.out.println(0);
		} else {
			System.out.println(10);
		}

	}

}


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

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

int main(){
  int x,a;
  cin >> x >> a;
  if(x<a){
    cout << 0 << endl;
  }
  else(x>=a){
    cout << 10 << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected ';' before '{' token
   10 |   else(x>=a){
      |             ^
      |             ;
Language: C++

3include<bits/stdc++.h>
using namespace std;
int main(){
  int x,a;
  cin>>x>>a;
  if(x<a){
    cout<<0<<endl;
  }
  else{
    cout<<10<<endl;
  }
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before numeric constant
    1 | 3include<bits/stdc++.h>
      | ^~~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>x>>a;
      |   ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<0<<endl;
      |     ^~~~
a.cc:7:14: error: 'endl' was not declared in this scope
    7 |     cout<<0<<endl;
      |              ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<10<<endl;
      |     ^~~~
a.cc:10:15: error: 'endl' was not declared in this scope
   10 |     cout<<10<<endl;
      |               ^~~~
Language: C++

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

int main() {
  int X, A; cin >> X >> A;
  if (X<A) cout << 0;:
  else cout << 10;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:22: error: expected primary-expression before ':' token
    6 |   if (X<A) cout << 0;:
      |                      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
    int X,A;
    cin >> X >> A+
    if(X < A) {
      cout << 0 << endl;
    }
    else {
    cout << 10 << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: expected primary-expression before 'if'
    6 |     if(X < A) {
      |     ^~
a.cc:9:5: error: 'else' without a previous 'if'
    9 |     else {
      |     ^~~~
Language: C++

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

 
int main() {
   int x,a;
   cin>>x>>a;
   if(x<a)cout<0<<endl;
   else cout<<10<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: invalid operands of types 'int' and '<unresolved overloaded function type>' to binary 'operator<<'
   10 |    if(x<a)cout<0<<endl;
      |                ~^~~~~~
Language: C

#include<stdio.h>
int main()
{int X A;
  scanf("%d",&X);
  scanf("%d",&A);
  if(X<A){
  printf("0");
  }
  else
  {
  printf("10");
  }
}
  

Compiler output:
main.c: In function 'main':
main.c:3:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'A'
    3 | {int X A;
      |        ^
main.c:3:8: error: 'A' undeclared (first use in this function)
main.c:3:8: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:15: error: 'X' undeclared (first use in this function)
    4 |   scanf("%d",&X);
      |               ^
Language: C

#include<stdio.h>
#include<conio.h>
int main()
{int X A;
  scanf("%d",&X);
  scanf("%d",&A);
  if(X<A){
  printf("0");
  }
  else
  {
  printf("10");
  }
}
  

Compiler output:
main.c:2:9: fatal error: conio.h: No such file or directory
    2 | #include<conio.h>
      |         ^~~~~~~~~
compilation terminated.
Language: Java

import java.util.*; 
public class Main{
public static void main(String ... string){
 Scanner sc = new Scanner(System.in); 
  int x = sc.nextInt(); 
  int a = in.nextInt(); 
  if(x<a)System.out.println(0); 
  else System.out.println(10); 
}
}


Compiler output:
Main.java:6: error: cannot find symbol
  int a = in.nextInt(); 
          ^
  symbol:   variable in
  location: class Main
1 error
Language: Java

import java.util.*; 
public class Main{
public static void main(String ... string){
 Scanner sc = new Scanner(System.in); 
  int x = in.readInt(); 
  int a = in.readInt(); 
  if(x<a)System.out.println(0); 
  else System.out.println(10); 
}
}

Compiler output:
Main.java:5: error: cannot find symbol
  int x = in.readInt(); 
          ^
  symbol:   variable in
  location: class Main
Main.java:6: error: cannot find symbol
  int a = in.readInt(); 
          ^
  symbol:   variable in
  location: class Main
2 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int a = sc.nextInt();
        int b = int (x>=a);
		System.out.println(b*10);
	}
}


Compiler output:
Main.java:7: error: '.class' expected
        int b = int (x>=a);
                    ^
Main.java:7: error: not a statement
        int b = int (x>=a);
                      ^
Main.java:7: error: ';' expected
        int b = int (x>=a);
                         ^
3 errors
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int a = sc.nextInt();
        int b = (int) x>=a;
		System.out.println(b*10);
	}
}


Compiler output:
Main.java:7: error: incompatible types: boolean cannot be converted to int
        int b = (int) x>=a;
                       ^
1 error
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
		Scanner sc = new Scanner(System.in);
		int x = sc.nextInt();
		int a = sc.nextInt();
		System.out.println((x>=a)*10);
	}
}


Compiler output:
Main.java:7: error: bad operand types for binary operator '*'
		System.out.println((x>=a)*10);
		                         ^
  first type:  boolean
  second type: int
1 error
Language: C++

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

int main(){
  int x,a;
  cin >> x >> a;
  if(x < a)cout << 0 << endl;
  else cout << 10 << endl;
}

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

#include<stdio.h>

int main(void)
{
  int A,X;
  A <= 0;
  A >= 9;
  X <= 0;
  X >= 9;
  scanf("%d %d",&A,&X);
  if(X < A)printf("0");
  if(X >= A)printf("10");
  
  returen 0;
}

Compiler output:
main.c: In function 'main':
main.c:14:3: error: 'returen' undeclared (first use in this function)
   14 |   returen 0;
      |   ^~~~~~~
main.c:14:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:14:10: error: expected ';' before numeric constant
   14 |   returen 0;
      |          ^~
      |          ;
Language: C

#include<stdio.h>

int main(void)
{
  int=X,A;
  scanf("%d %d",&X,&A);
  if(A < 9%% X < 9 %% X ≦ A)printf("0");
  if(A < 9%% X < 9 %% A < X)printf("10");
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected identifier or '(' before '=' token
    5 |   int=X,A;
      |      ^
main.c:6:18: error: 'X' undeclared (first use in this function)
    6 |   scanf("%d %d",&X,&A);
      |                  ^
main.c:6:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:21: error: 'A' undeclared (first use in this function)
    6 |   scanf("%d %d",&X,&A);
      |                     ^
main.c:7:12: error: expected expression before '%' token
    7 |   if(A < 9%% X < 9 %% X ≦ A)printf("0");
      |            ^
main.c:7:25: error: stray '\342' in program
    7 |   if(A < 9%% X < 9 %% X <U+2266> A)printf("0");
      |                         ^~~~~~~~
main.c:8:12: error: expected expression before '%' token
    8 |   if(A < 9%% X < 9 %% A < X)printf("10");
      |            ^
Language: C

#include<stdio.h>

int main(void)
{
  int=X,A;
  scanf("%d %d",&X,&A);
  if(A < 9%% X < 9 %% X ≦ A) printf("0");
  if(A < 9%% X < 9 %% A < X) printf("10");
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected identifier or '(' before '=' token
    5 |   int=X,A;
      |      ^
main.c:6:18: error: 'X' undeclared (first use in this function)
    6 |   scanf("%d %d",&X,&A);
      |                  ^
main.c:6:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:21: error: 'A' undeclared (first use in this function)
    6 |   scanf("%d %d",&X,&A);
      |                     ^
main.c:7:12: error: expected expression before '%' token
    7 |   if(A < 9%% X < 9 %% X ≦ A) printf("0");
      |            ^
main.c:7:25: error: stray '\342' in program
    7 |   if(A < 9%% X < 9 %% X <U+2266> A) printf("0");
      |                         ^~~~~~~~
main.c:8:12: error: expected expression before '%' token
    8 |   if(A < 9%% X < 9 %% A < X) printf("10");
      |            ^
Language: C

#include<stdio.h>

int main(void)
{
  int=X,A;
  if(A < 9%%X < 9%%X ≦ A) printf("0");
  if(A < 9%%X < 9%%A < X) printf("10");
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:6: error: expected identifier or '(' before '=' token
    5 |   int=X,A;
      |      ^
main.c:6:6: error: 'A' undeclared (first use in this function)
    6 |   if(A < 9%%X < 9%%X ≦ A) printf("0");
      |      ^
main.c:6:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:12: error: expected expression before '%' token
    6 |   if(A < 9%%X < 9%%X ≦ A) printf("0");
      |            ^
main.c:6:22: error: stray '\342' in program
    6 |   if(A < 9%%X < 9%%X <U+2266> A) printf("0");
      |                      ^~~~~~~~
main.c:7:12: error: expected expression before '%' token
    7 |   if(A < 9%%X < 9%%A < X) printf("10");
      |            ^
Language: C

#include<stdio.h>
int main()
{
  int a,b;
  scanf("%d",&a);
  scanf("%d",&b);
  {
    if(a<b)
      printf("0");
    else
      printf("10");
  }
}
return 0;

Compiler output:
main.c:14:1: error: expected identifier or '(' before 'return'
   14 | return 0;
      | ^~~~~~
Language: C++

#include<stdio.h>
int main()
{
  int a,b,c,d;
  printf("frst num:");
  scanf("%d",&a);
  printf("sec number");
  scanf("%d",&b);
  c=0;
  d=10;
  {
    if(a<b)
      printf("%d",c);
    else
      printf("%d",d);
  }
}
return 0;

Compiler output:
a.cc:18:1: error: expected unqualified-id before 'return'
   18 | return 0;
      | ^~~~~~
Language: C++

#include<stdio.h>
int main()
{
  int a,b;
  printf("enter the frst num:");
  scanf("%d",&a);
  printf("enter the sec num:");
  scanf("%d",&b);
  {
  if(a<b)
    printf("0");
  else 
    printf("10);
           }
           }
           return 0;

Compiler output:
a.cc:13:12: warning: missing terminating " character
   13 |     printf("10);
      |            ^
a.cc:13:12: error: missing terminating " character
   13 |     printf("10);
      |            ^~~~~
a.cc: In function 'int main()':
a.cc:14:12: error: expected primary-expression before '}' token
   14 |            }
      |            ^
a.cc: At global scope:
a.cc:16:12: error: expected unqualified-id before 'return'
   16 |            return 0;
      |            ^~~~~~
Language: C++

 # include <iostream>
using namespace std;
int x,a;
cin >> x >> a;
if ( x< a){
  cout << "0";
}
else{
  cout << "10";
}
return 0;
}

Compiler output:
a.cc:4:1: error: 'cin' does not name a type
    4 | cin >> x >> a;
      | ^~~
a.cc:5:1: error: expected unqualified-id before 'if'
    5 | if ( x< a){
      | ^~
a.cc:8:1: error: expected unqualified-id before 'else'
    8 | else{
      | ^~~~
a.cc:11:1: error: expected unqualified-id before 'return'
   11 | return 0;
      | ^~~~~~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C++

#include <iostream>
using namespace std;
int main(){
  cin >> x >> a;
  if(x < a ){
    cout << "0";
  }
  else{
    cout << "10";
  }
  return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<string,int>;
using T = tuple<string,int,int>;

int main(){
  int n,a;
  cin >> n >> a;
  if(x < a) cout << 0 << endl;
  else cout << 10 << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: 'x' was not declared in this scope
   10 |   if(x < a) cout << 0 << endl;
      |      ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
using P = pair<string,int>;
using T = tuple<string,int,int>;

int main(){
  int n,a;
  cin >> n >> a;
  if(x < a) cout << 0 << endl:
  else cout << 10 << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:6: error: 'x' was not declared in this scope
   10 |   if(x < a) cout << 0 << endl:
      |      ^
a.cc:10:30: error: expected ';' before ':' token
   10 |   if(x < a) cout << 0 << endl:
      |                              ^
      |                              ;
Language: C++

<?php
list($X,$A)=sscanf(trim(fgets(STDIN)),"%d %d");
if($X < $A){
    print(0);
}else{
    print(10);
}

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if($X < $A){
      | ^~
a.cc:5:2: error: expected unqualified-id before 'else'
    5 | }else{
      |  ^~~~
Language: C

#include <stdio.h>
#include <conio.h>
int main ()
{
	int x,a;
	printf("enter value of X:\n ");
	scanf("%d",&x);
	printf("enter the value of a: \n");
	scanf("%d",&a);
	if(x<a)
	{
		printf("0");
	}
	else 
	{
		printf("10");
	}
}

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

#include <bits/stdc++.h>
using namespace std;
int main(){
  int a,b;cin>>a>>b;
  if(a<b)cout<<"0\n;
  else cout<<"10\n;
  return 0;
}

Compiler output:
a.cc:5:16: warning: missing terminating " character
    5 |   if(a<b)cout<<"0\n;
      |                ^
a.cc:5:16: error: missing terminating " character
    5 |   if(a<b)cout<<"0\n;
      |                ^~~~~
a.cc:6:14: warning: missing terminating " character
    6 |   else cout<<"10\n;
      |              ^
a.cc:6:14: error: missing terminating " character
    6 |   else cout<<"10\n;
      |              ^~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: expected primary-expression before 'else'
    6 |   else cout<<"10\n;
      |   ^~~~
Language: C++

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

int main {
  int x,a;
  cin >> x >> a;
  if(x>=a) {
    cout << 10 <<endl;
  }
  else {
    cout << 0 <<endl;
  }
}


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

#inclue<bits/stdc++.h>
using namespace std;
int main(){

 int X,A;
  cin>>X>>A;
  if(X<A)
    cout<<0<<endl;
  else
    cout<<10<<endl;
  
  return 0;
  
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<bits/stdc++.h>
      |  ^~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>X>>A;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inclue<bits/stdc++.h>
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<0<<endl;
      |     ^~~~
a.cc:8:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:14: error: 'endl' was not declared in this scope
    8 |     cout<<0<<endl;
      |              ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inclue<bits/stdc++.h>
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<10<<endl;
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:15: error: 'endl' was not declared in this scope
   10 |     cout<<10<<endl;
      |               ^~~~
a.cc:10:15: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: Java


import java.util.Scanner;

public class Main {
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = Integer.parseInt(sc.next());
        int a = Integer.parseInt(sc.next());
        if(x < a){
            System.out.print(0);
        }else{
            System.out.print(10)
        }
        sc.close();
    }
}

Compiler output:
Main.java:12: error: ';' expected
            System.out.print(10)
                                ^
1 error
Language: C++

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

int main(){
    int X,A;
    cin >> X >> A;
    if(X<A){
        cout << 0 << endl;
    }
    else{
        cout << 10 << endl;
    }
}

Compiler output:
a.cc:2:17: error: 'tsd' is not a namespace-name
    2 | using namespace tsd;
      |                 ^~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> X >> A;
      |     ^~~
      |     std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |         cout << 0 << 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:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |         cout << 0 << 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:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << 10 << 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:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         cout << 10 << endl;
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n); for(long long i = 0;i < (n);i++)
using ll = long long;
using vl = vector<long long>;
using P = pair<long long,long long>;

int main(){
	ll x,a; cin >> x >> a;
	x < a ? cout << 0 << endl ; cout << 10 << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:34: error: expected ':' before ';' token
   10 |         x < a ? cout << 0 << endl ; cout << 10 << endl;
      |                                  ^~
      |                                  :
a.cc:10:35: error: expected primary-expression before ';' token
   10 |         x < a ? cout << 0 << endl ; cout << 10 << endl;
      |                                   ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int X,A
  cin >> X >> A;
  if(X < A){
    cout << 0 << endl;
  }
  else{
    cout << 10 << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: expected initializer before 'cin'
    6 |   cin >> X >> A;
      |   ^~~
a.cc:7:10: error: 'A' was not declared in this scope
    7 |   if(X < A){
      |          ^
Language: Java

package test;

import java.util.Scanner;

public class test1 {

	public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int x = sc.nextInt();
        int a = sc.nextInt();
        if (x < a) {
        	System.out.println(0);
        	} else if (x >= a){
        	System.out.println(10);
        }
        sc.close();
	}
}

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

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
#define F first
#define S second
#define pii pair<int, int>
#define eb emplace_back
#define all(v) v.begin(), v.end()
#define rep(i, n) for (int i = 0; i < (n); ++i)
#define rep3(i, l, n) for (int i = l; i < (n); ++i)
#define sz(v) (int)v.size()
const int inf = 1e9 + 7;
const ll INF = 1e18;
// int mod = 998244353;
int mod = 1000000007;
#define abs(x) (x >= 0 ? x : -(x))
#define lb(v, x) (int)(lower_bound(all(v), x) - v.begin())
#define ub(v, x) (int)(upper_bound(all(v), x) - v.begin())
template<typename T1, typename T2> inline bool chmin(T1 &a, T2 b) { if (a > b) { a = b; return 1; } return 0; }
template<typename T1, typename T2> inline bool chmax(T1 &a, T2 b) { if (a < b) { a = b; return 1; } return 0; }
template<typename T> T gcd(T a, T b) { if (b == 0) return a; return gcd(b, a % b); }
template<typename T> T lcm(T a, T b) { return a / gcd(a, b) * b; }
ll pow(ll a, int b) { return b ? pow(a * a, b / 2) * (b % 2 ? a : 1) : 1; }
ll modpow(ll a, ll b, ll _mod) { return b ? modpow(a * a % _mod, b / 2, _mod) * (b % 2 ? a : 1) % _mod : 1; }
template<class T> ostream& operator << (ostream& os, const vector<T>& vec) { for (auto &vi: vec) os << vi << " "; return os; }
template<class T, class U> ostream& operator << (ostream& os, const pair<T, U>& p) { os << p.F << " " << p.S; return os; }
template<typename T> inline istream& operator >> (istream& is, vector<T>& v) { rep(j, sz(v)) is >> v[j]; return is; }
template<class T> inline void add(T &a, int b) { a += b; if (a >= mod) a -= mod; }


void solve();

int main() {
  ios::sync_with_stdio(false);
  cin.tie(0);
  cout.tie(0);
  cout << fixed << setprecision(10);

  int T;
  // cin >> T;
  T = 1;

  while (T--) {
    solve();
  }
}

void solve() {
  int n, m;
  cin >> n >> m;
  if (n < a) cout << 0 << endl;
  else cout << 10 << endl;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:51:11: error: 'a' was not declared in this scope
   51 |   if (n < a) cout << 0 << endl;
      |           ^