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

#include<studio.h>

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

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

,>,,<
#input
(a)(b)()()
 ^
[->>+>+<<<]
>[-<+>>>-<<]
>>[
  [-]
  <<<[->+<]
  >[[->]<[<]>]<+>
]
<<<[[-]>>[-]>+<<<]>

[[-]>-<
  a gt b
  
]>
[-
  a lt b  
  +++++++++[>+++++<-]>++++.[-]<
]>
[-
  a eq b
]
+++++++++[>+++++<-]>+++.<+++++++++[>----<-]>--.

Compiler output:
main.c:1:1: error: expected identifier or '(' before ',' token
    1 | ,>,,<
      | ^
main.c:2:2: error: invalid preprocessing directive #input
    2 | #input
      |  ^~~~~
Language: C++

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout << 0 << "\n";
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout << 10 << "\n";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <bits/stdc++.h>
2 using namespace std;
3
4 int main() {
5 int X, A; cin >> X >> A;
6 puts(X < A ? "0" : "10");
7 return 0;
8 }


Compiler output:
a.cc:2:1: error: expected unqualified-id before numeric constant
    2 | 2 using namespace std;
      | ^
a.cc:3:1: error: expected unqualified-id before numeric constant
    3 | 3
      | ^
Language: C


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

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


#include <iostream>
#include <string>
#include <algorithm>
#include <utility>
#include <iomanip>
#include <functional>
#include <queue>
#include <stack>
#include <map>
#include <vector>
#include <cmath>
#include <cctype>
#include <cstdio>
#define ll long long
#define INF 1000000000000000001
#define MOD 1000000007
using namespace std;


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


Compiler output:
a.cc: In function 'int main()':
a.cc:24:15: error: 'X' was not declared in this scope
   24 |     cout << ((X<A)?0:10) << endl;
      |               ^
a.cc:24:17: error: 'A' was not declared in this scope
   24 |     cout << ((X<A)?0:10) << endl;
      |                 ^
Language: C++

#include <iostream>
using namespace std;

int main(){
    int n,x;
    cin >> n >> x;
    int l = new int[n];
    int d=0,counter=0;
    for(int i=0;i<n;i++){
        counter++;
        d+=l[i];
        if(d>x) break;
    }
    cout << counter;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:22: error: invalid conversion from 'int*' to 'int' [-fpermissive]
    7 |     int l = new int[n];
      |                      ^
      |                      |
      |                      int*
a.cc:11:13: error: invalid types 'int[int]' for array subscript
   11 |         d+=l[i];
      |             ^
Language: C

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

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

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

Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d", x);
      |       ^~~~
main.c:3:13: error: expected declaration specifiers or '...' before 'x'
    3 | scanf("%d", x);
      |             ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d", a);
      |       ^~~~
main.c:4:13: error: expected declaration specifiers or '...' before 'a'
    4 | scanf("%d", a);
      |             ^
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(x<a){
      | ^~
main.c:7:2: error: expected identifier or '(' before 'else'
    7 | }else{
      |  ^~~~
Language: C

include <stdio.h>
int x, a;
scanf("%d", x);
scanf("%d", a);
if(x<a){
  printf(0);
}else{
  printf(10);
}

Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include <stdio.h>
      |         ^
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d", x);
      |       ^~~~
main.c:3:13: error: unknown type name 'x'
    3 | scanf("%d", x);
      |             ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d", a);
      |       ^~~~
main.c:4:13: error: unknown type name 'a'
    4 | scanf("%d", a);
      |             ^
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(x<a){
      | ^~
main.c:7:2: error: expected identifier or '(' before 'else'
    7 | }else{
      |  ^~~~
Language: C

nclude <stdio.h>
int x, a;
scanf("%d", x);
scanf("%d", a);
if(x<a){
  printf(0);
}else{
  printf(10);
}

Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | nclude <stdio.h>
      |        ^
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d", x);
      |       ^~~~
main.c:3:13: error: unknown type name 'x'
    3 | scanf("%d", x);
      |             ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | scanf("%d", a);
      |       ^~~~
main.c:4:13: error: unknown type name 'a'
    4 | scanf("%d", a);
      |             ^
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(x<a){
      | ^~
main.c:7:2: error: expected identifier or '(' before 'else'
    7 | }else{
      |  ^~~~
Language: C++

#include <iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'sin' is not a member of 'std'; did you mean 'min'?
    6 |   std::sin >> x >> a;
      |        ^~~
      |        min
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;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope
    6 |   cin >> x >> a;
      |   ^~~
a.cc:7:14: error: 'cout' was not declared in this scope
    7 |   if (x < a) cout << 0 << endl;
      |              ^~~~
a.cc:7:27: error: 'endl' was not declared in this scope
    7 |   if (x < a) cout << 0 << endl;
      |                           ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << 10 << endl;
      |        ^~~~
a.cc:8:22: error: 'endl' was not declared in this scope
    8 |   else cout << 10 << endl;
      |                      ^~~~
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;
}










Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin >> x >> a;
      |   ^~~
a.cc:6:14: error: 'cout' was not declared in this scope
    6 |   if (x < a) cout << 0 << endl;
      |              ^~~~
a.cc:6:27: error: 'endl' was not declared in this scope
    6 |   if (x < a) cout << 0 << endl;
      |                           ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope
    7 |   else cout << 10 << endl;
      |        ^~~~
a.cc:7:22: error: 'endl' was not declared in this scope
    7 |   else cout << 10 << endl;
      |                      ^~~~
Language: C++

风格的活动活动空间内室内空间阿斯顿萨·



Compiler output:
a.cc:1:1: error: '\U000098ce\U0000683c\U00007684\U00006d3b\U000052a8\U00006d3b\U000052a8\U00007a7a\U000095f4\U00005185\U00005ba4\U00005185\U00007a7a\U000095f4\U0000963f\U000065af\U0000987f\U00008428\U000000b7' does not name a type
    1 | 风格的活动活动空间内室内空间阿斯顿萨·
      | ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
Language: C++

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

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

#include <iostream>
#include <string>
using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: expected primary-expression before '<<' token
   12 |     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 << ;
  }
  
}


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

#include<bits/stdc++.h>
#include<string.h>
#include<tuple>
#define all(c) c.begin(),c.end()
#define tr(x,n) for(int i=x;x<n?i<n:i>=n;x<n?i++:i--)
#define ll long long int
#define pb push_back
#define em emplace_back
#define mp make_pair
#define mt make_tuple
#define debug(c) cout<<c<<endl;
#define isro ios_base::sync_with_stdio(false);
#define find(v,x) find(all(v),x)!=v.end()


using namespace std;
typedef vector<ll>vi;
typedef vector<vi>vii;
typedef pair<ll,ll>pi;
typedef tuple<ll,ll,ll>ti;

int main(){
    isor;
    ll 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:23:5: error: 'isor' was not declared in this scope; did you mean 'isro'?
   23 |     isor;
      |     ^~~~
      |     isro
Language: Java

 
class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int b = 2;
        int[]a = new int[b];
        for(int i = 0; i < b; i++){
            a[i] = sc.nextInt();
        }
        sc.close();
        //result(a)でa[]を送れる
        int re = result(a);
        System.out.println(re);
    }
 
    //判定
    private static int result(int a[]){
        int re = 0;
        if(a[0] < a[1]){
            re = 0;
        }else{
            re = 10;
        }
        return re;
    }
}

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
typedef pair<int, int> pii;
#define pb push_back
#define mp make_pair
#define f first
#define s second
#define forn(i, n) for (int i = 0; i < int(n); i++)
#define in insert
#define all(x) (x).begin(), (x).end()
#define speed ios_base::sync_with_stdio(0);cin.tie(0);cout.tie(0);
const int INF = 1e9 + 5;
int main(){
    itn x, y;
    cin >> x >> y;
    if(x < y) cout << 0;
    else cout << 10;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:5: error: 'itn' was not declared in this scope; did you mean 'int'?
   15 |     itn x, y;
      |     ^~~
      |     int
a.cc:16:12: error: 'x' was not declared in this scope
   16 |     cin >> x >> y;
      |            ^
a.cc:16:17: error: 'y' was not declared in this scope; did you mean 'yn'?
   16 |     cin >> x >> y;
      |                 ^
      |                 yn
Language: C++

#include<stdio.h>
int main(void){
  int x ,a;
  scanf_s("%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:4:3: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    4 |   scanf_s("%d%d",&x,&a);
      |   ^~~~~~~
      |   scanf
Language: C++

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

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

#include<bits/stdc++.h>
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:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   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:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout<<"0";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"10";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inculude; did you mean #include?
    1 | #inculude<iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   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 | #inculude<iostream>
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << 0 << endl;
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:18: error: 'endl' was not declared in this scope
    7 |     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 | #inculude<iostream>
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:19: error: 'endl' was not declared in this scope
   10 |     cout << 10 << endl;
      |                   ^~~~
a.cc:10:19: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

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

#inculude<iostream>
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:2: error: invalid preprocessing directive #inculude; did you mean #include?
    1 | #inculude<iostream>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   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 | #inculude<iostream>
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << 0 << endl;
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:7:18: error: 'endl' was not declared in this scope
    7 |     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 | #inculude<iostream>
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:19: error: 'endl' was not declared in this scope
   10 |     cout << 10 << endl;
      |                   ^~~~
a.cc:10:19: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

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

Compiler output:
a.cc:14:24: error: stray '#' in program
   14 |     cout << 10 << endl;#include <iostream>
      |                        ^
a.cc: In function 'int main()':
a.cc:14:25: error: 'include' was not declared in this scope
   14 |     cout << 10 << endl;#include <iostream>
      |                         ^~~~~~~
a.cc:14:42: error: expected primary-expression before '>' token
   14 |     cout << 10 << endl;#include <iostream>
      |                                          ^
a.cc:16:1: error: expected primary-expression before 'using'
   16 | using namespace std;
      | ^~~~~
a.cc:18:16: error: a function-definition is not allowed here before '{' token
   18 | int main(void) {
      |                ^
a.cc:30:2: error: expected '}' at end of input
   30 | }
      |  ^
a.cc:5:16: note: to match this '{'
    5 | int main(void) {
      |                ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:2: error: expected '}' at end of input
   15 | }
      |  ^
a.cc:5:16: note: to match this '{'
    5 | int main(void) {
      |                ^
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;
    
    return 0;
  }

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

#include <bits/stdc++.h>

using namespace std;

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

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

#include <iostream>
#include <string>
using namespace std;
int main(void){
	int n,m;
	cin >> n >. m;
	if(n < m){
      cout << "0" << endl;
    }else{
      cout << "10" << endl;
    }  
 
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:19: error: expected primary-expression before '.' token
    6 |         cin >> n >. m;
      |                   ^
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:4:20: error: invalid operands to binary & (have 'int *' and 'int')
    4 |   scanf("%d %d",&X &A);
      |                 ~~ ^
      |                 |
      |                 int *
Language: C

#include<stdio.h>
int main(){
  int X,A;
    if(X<A){printf("0");}
  eles{printf("10");}
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:3: error: 'eles' undeclared (first use in this function)
    5 |   eles{printf("10");}
      |   ^~~~
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:7: error: expected ';' before '{' token
    5 |   eles{printf("10");}
      |       ^
      |       ;
Language: C

#include<stdio.h>
int main(){
  int X,A;
    if(X<A){printf"0";}
  eles{printf"10";}
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:19: error: expected ';' before string constant
    4 |     if(X<A){printf"0";}
      |                   ^~~
      |                   ;
main.c:5:3: error: 'eles' undeclared (first use in this function)
    5 |   eles{printf"10";}
      |   ^~~~
main.c:5:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:7: error: expected ';' before '{' token
    5 |   eles{printf"10";}
      |       ^
      |       ;
Language: C

#include<stdio.h>
int main(){
  int X,A;
    if(X<A){printf"0"};
  eles(){printf"10"};
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:4:19: error: expected ';' before string constant
    4 |     if(X<A){printf"0"};
      |                   ^~~
      |                   ;
main.c:5:3: error: implicit declaration of function 'eles' [-Wimplicit-function-declaration]
    5 |   eles(){printf"10"};
      |   ^~~~
main.c:5:9: error: expected ';' before '{' token
    5 |   eles(){printf"10"};
      |         ^
      |         ;
Language: C++

#include <iostream>

using namespace std;

int main() {
	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:8:9: error: expected initializer before 'cin'
    8 |         cin >> a >> b;
      |         ^~~
a.cc:10:17: error: 'b' was not declared in this scope
   10 |         if (a < b) {
      |                 ^
Language: Java

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

}

Compiler output:
Main.java:3: error: cannot find symbol
     Scanner sc = new Scanner(System.in);
     ^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
     Scanner sc = new Scanner(System.in);
                      ^
  symbol:   class Scanner
  location: class Main
2 errors
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;
    return 0;
}

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

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

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

#include <bits/stdc++.h>

using namespace std;



int main() {




int X,A,s;
cin X>>A;
s=(X < A? 0: 10);
cout<<s;

return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:4: error: expected ';' before 'X'
   13 | cin X>>A;
      |    ^~
      |    ;
Language: C++

#include <bits/stdc++.h>

using namespace std;



int main() {



int X,A;
cin X>>A;
cout<<(X < A? 0: 10);


return 0;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:4: error: expected ';' before 'X'
   12 | cin X>>A;
      |    ^~
      |    ;
Language: Java

import java.util.Scanner;

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

		int[] L = new int[N + 1];
		for (int i = 1; i <= N; i++) {
			L[i] = scan.nextInt();
		}

		int[] D = new int[N + 1];
		D[1] = 0;
		for (int i = 2; i <= N; i++) {
			D[i] = D[i - 1] + L[i - 1];
			if (D[i] > X) {
				System.out.println(i-1);
				return;
			}
			System.out.println(N);
			return;

		}
	}
}


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

import java.util.Scanner;

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

Compiler output:
Main.java:3: 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 A{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
    int X=in.nextInt();
    int A=in.nextInt();
    if(X<A){
     System.out.println(0);
    }
    else{
      System.out.println(10);
  }
}
    

Compiler output:
Main.java:14: error: reached end of file while parsing
}
 ^
1 error
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args){
	Scanner in=new Scanner(System.in);
    int X=in.nextInt();
    int A=in.nextInt();
    if(X<A){
     System.out.println(0);
    }
    else{
      System.out.println(10);
  }
}
    

Compiler output:
Main.java:14: error: reached end of file while parsing
}
 ^
1 error
Language: C

#include<stdio.h>

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

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

#include <stdio.h>

int main () { 
	int x, a;
	scanf ("%d %d", &x, &a);
	printf ("%d\n", (X<A)?0:10);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:26: error: 'X' undeclared (first use in this function)
    6 |         printf ("%d\n", (X<A)?0:10);
      |                          ^
main.c:6:26: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:28: error: 'A' undeclared (first use in this function)
    6 |         printf ("%d\n", (X<A)?0:10);
      |                            ^
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;
}

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

#include <iostream>

int main() {
  
  int X, A, ans;
  std::cid >> X >> A;
  if (X < A) {
  	ans = 0;
  } else {	
    ans = 10;
  std::cout << ans << std::endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'cid' is not a member of 'std'; did you mean 'cin'?
    6 |   std::cid >> X >> A;
      |        ^~~
      |        cin
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:3:12: note: to match this '{'
    3 | int main() {
      |            ^
Language: C

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

int main (){
  int a,b;
  cin >> a >> b;
  puts(a < b ? "0" ; "10");
  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

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

/******************************\
 * The solution is at the top *
 *                            *
 *   Created by : azhar556    *
\******************************/

public class A {
    static void solve() {
		int n = ni();
		int m = ni();
		out.println(n < m ? 0 : 10);
    }    

    public static void main(String[] args) {
        long time = System.currentTimeMillis();
        int t;// = ni();
        t = 1;
        while (t-- > 0) solve(); 
        err.println("Time elapsed : " + (System.currentTimeMillis() - time) / 1000F + " s.");
        err.close(); out.close();
    }

	static int[] radixSort(int[] f){ return radixSort(f, f.length); }
	static int[] radixSort(int[] f, int n)
	{
		int[] to = new int[n];
		{
			int[] b = new int[65537];
			for(int i = 0;i < n;i++)b[1+(f[i]&0xffff)]++;
			for(int i = 1;i <= 65536;i++)b[i]+=b[i-1];
			for(int i = 0;i < n;i++)to[b[f[i]&0xffff]++] = f[i];
			int[] d = f; f = to;to = d;
		}
		{
			int[] b = new int[65537];
			for(int i = 0;i < n;i++)b[1+(f[i]>>>16)]++;
			for(int i = 1;i <= 65536;i++)b[i]+=b[i-1];
			for(int i = 0;i < n;i++)to[b[f[i]>>>16]++] = f[i];
			int[] d = f; f = to;to = d;
		}
		return f;
	}

    static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    static PrintWriter err = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.err)));
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static StringTokenizer token;
    
    static boolean hasMoreTokens () {
        String sample = null;
		try {
			sample = br.readLine();
		}
		catch (IOException e) {
			e.printStackTrace();
		}
		return sample == null ? false : true;
    }

    static String ns() {
        while (token == null || !token.hasMoreTokens()) {
            try {
                token = new StringTokenizer(br.readLine());
            }
            catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return token.nextToken();
    }
    static char nc() {
        return Character.valueOf(ns().charAt(0));
    }
    static int ni() {
        return Integer.parseInt(ns());
    }
    static double nd() {
        return Double.parseDouble(ns());
    }
    static long nl() {
        return Long.parseLong(ns());
    }
}
// Collections Arrays Math
// Vector HashSet TreeSet HashMap TreeMap ArrayDeque 

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

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

/******************************\
 * The solution is at the top *
 *                            *
 *   Created by : azhar556    *
\******************************/

public class A {
    static void solve() {
		int n = ni();
		int m = ni();
		out.println(n < m ? 0 : 10);
    }    

    public static void main(String[] args) {
        long time = System.currentTimeMillis();
        int t;// = ni();
        t = 1;
        while (t-- > 0) solve(); 
        err.println("Time elapsed : " + (System.currentTimeMillis() - time) / 1000F + " s.");
        err.close(); out.close();
    }

	static int[] radixSort(int[] f){ return radixSort(f, f.length); }
	static int[] radixSort(int[] f, int n)
	{
		int[] to = new int[n];
		{
			int[] b = new int[65537];
			for(int i = 0;i < n;i++)b[1+(f[i]&0xffff)]++;
			for(int i = 1;i <= 65536;i++)b[i]+=b[i-1];
			for(int i = 0;i < n;i++)to[b[f[i]&0xffff]++] = f[i];
			int[] d = f; f = to;to = d;
		}
		{
			int[] b = new int[65537];
			for(int i = 0;i < n;i++)b[1+(f[i]>>>16)]++;
			for(int i = 1;i <= 65536;i++)b[i]+=b[i-1];
			for(int i = 0;i < n;i++)to[b[f[i]>>>16]++] = f[i];
			int[] d = f; f = to;to = d;
		}
		return f;
	}

    static PrintWriter out = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.out)));
    static PrintWriter err = new PrintWriter(new BufferedWriter(new OutputStreamWriter(System.err)));
    static BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
    static StringTokenizer token;
    
    static boolean hasMoreTokens () {
        String sample = null;
		try {
			sample = br.readLine();
		}
		catch (IOException e) {
			e.printStackTrace();
		}
		return sample == null ? false : true;
    }

    static String ns() {
        while (token == null || !token.hasMoreTokens()) {
            try {
                token = new StringTokenizer(br.readLine());
            }
            catch (IOException e) {
                throw new RuntimeException(e);
            }
        }
        return token.nextToken();
    }
    static char nc() {
        return Character.valueOf(ns().charAt(0));
    }
    static int ni() {
        return Integer.parseInt(ns());
    }
    static double nd() {
        return Double.parseDouble(ns());
    }
    static long nl() {
        return Long.parseLong(ns());
    }
}
// Collections Arrays Math
// Vector HashSet TreeSet HashMap TreeMap ArrayDeque 

Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.util.*;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:10:1: error: expected unqualified-id before 'public'
   10 | public class A {
      | ^~~~~~
Language: C++

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

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

import java.util.Scannner;
public class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int X=scan.nextInt();
    int A=scan.nextInt();
    if(X<A)
      System.out.println("0");
    else
      System.out.println("10");
  }
}

Compiler output:
Main.java:1: error: cannot find symbol
import java.util.Scannner;
                ^
  symbol:   class Scannner
  location: package java.util
Main.java:4: error: cannot find symbol
    Scanner scan=new Scanner(System.in);
    ^
  symbol:   class Scanner
  location: class Main
Main.java:4: error: cannot find symbol
    Scanner scan=new Scanner(System.in);
                     ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

import java.util.;
public class Main{
  public static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int X=scan.nextInt;
    int A=scan.nextInt;
    if(X<A)
      System.out.println("0");
    else
      System.out.println("10");
  }
}

Compiler output:
Main.java:1: error: <identifier> expected
import java.util.;
                 ^
1 error
Language: Java

import java.util.Scanner;
public class Main{
  publicc static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int X=scan.nextInt;
    int A=scan.nextInt;
    if(X<A)
      System.out.println("0");
    else
      System.out.println("10");
  }
}

Compiler output:
Main.java:3: error: <identifier> expected
  publicc static void main(String[] args){
         ^
1 error
Language: Java

import java.util.;
public class Main{
  publicc static void main(String[] args){
    Scanner scan=new Scanner(System.in);
    int X=scan.nextInt;
    int A=scan.nextInt;
    if(X<A)
      System.out.println("0");
    else
      System.out.println("10");
  }
}


Compiler output:
Main.java:1: error: <identifier> expected
import java.util.;
                 ^
Main.java:3: error: <identifier> expected
  publicc static void main(String[] args){
         ^
2 errors
Language: Java

class Main{
  publicc static void main(String[] args){
    Scanner stdIn=new Scanner(System.in);
    int X;
    int A;
    if(X<A)
      System.out.println("0");
    else
      System.out.println("10");
  }
}

Compiler output:
Main.java:2: error: <identifier> expected
  publicc static void main(String[] args){
         ^
1 error
Language: Java

Scanner stdIn=new Scanner(System.in)
  int X;
  int A;
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.
Scanner stdIn=new Scanner(System.in)
^
  (use --enable-preview to enable unnamed classes)
Main.java:1: error: ';' expected
Scanner stdIn=new Scanner(System.in)
                                    ^
Main.java:4: error: class, interface, enum, or record expected
if(X<A)
^
Main.java:6: error: class, interface, enum, or record expected
  else 
  ^
4 errors
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
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();
        if (X < A) {
		  System.out.println(0);
        } else {
		  System.out.println((10);
        }
		// 出力
	}
}

Compiler output:
Main.java:11: error: ')' or ',' expected
		  System.out.println((10);
		                         ^
1 error
Language: C++

#include<iostream>
#include <bits/stdc++.h>
ios::sync_with_stdio(0);
cin.tie(0);

int main(int argc, const char** argv) {
    int a,x;
    cin >> x >> a;
    
    if(x<a){
        cout << 0;
    }
    else{
        cout << 10;
    }
}



Compiler output:
a.cc:3:1: error: 'ios' does not name a type
    3 | ios::sync_with_stdio(0);
      | ^~~
a.cc:4:1: error: 'cin' does not name a type
    4 | cin.tie(0);
      | ^~~
a.cc: In function 'int main(int, const char**)':
a.cc:8:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |     cin >> x >> a;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << 0;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |         cout << 10;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: 'q' was not declared in this scope
    6 |   cout <<((q<b)?(0):(10));
      |            ^
Language: C

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

Compiler output:
main.c:2:1: error: unknown type name 'in'; did you mean 'int'?
    2 | in main(){
      | ^~
      | int
Language: C++

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

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

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

int main() {
  int X,A,name;
  
  if ( 0 <= X and X <=  9 ){
  if ( 0 <= A and A <= 9 ){
  
  if (X < A) {
    name = 0;
  }
    else {
      name = 10;
    }
    
    cout << name << endl;
    
    else {
    cout << "error" << endl;
    }
    else {
    cout << "error" << endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:19:5: error: expected '}' before 'else'
   19 |     else {
      |     ^~~~
a.cc:8:27: note: to match this '{'
    8 |   if ( 0 <= A and A <= 9 ){
      |                           ^
a.cc:22:5: error: expected '}' before 'else'
   22 |     else {
      |     ^~~~
a.cc:7:28: note: to match this '{'
    7 |   if ( 0 <= X and X <=  9 ){
      |                            ^
Language: C++

//このプログラムは「Hello, world!」という文字列を出力する（画面に表示する）プログラムです

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

int main() {
  int X,A,name;
  
  if X<A 
    name = 0
    else
      name = 10
      end if
  cout << name << endl;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: expected '(' before 'X'
    9 |   if X<A
      |      ^
      |      (
Language: Java

import java.util.*;

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


Compiler output:
Main.java:5: error: cannot find symbol
    	Scanner sc = new Scanner(System.ln);
    	                               ^
  symbol:   variable ln
  location: class System
1 error
Language: Java

import java.util.*;

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

Compiler output:
Main.java:10: error: ';' expected
        System.out.println("0")
                               ^
Main.java:13: error: ';' expected
        System.out.println("10")
                                ^
2 errors
Language: C++

#include <iostream>

using namespace std;

int main(int argc, char *argv[]) {
  if(atoi(argv[1]) < atoi(argv[2])) {
    cout << 0 << endl;
  } else {
    cout << 10 << endl;
  }
  
  return 0;


Compiler output:
a.cc: In function 'int main(int, char**)':
a.cc:12:12: error: expected '}' at end of input
   12 |   return 0;
      |            ^
a.cc:5:34: note: to match this '{'
    5 | int main(int argc, char *argv[]) {
      |                                  ^
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:1:10: warning: missing terminating " character
    1 | #include "bits/stdc++.h
      |          ^
a.cc:1:10: error: #include expects "FILENAME" or <FILENAME>
    1 | #include "bits/stdc++.h
      |          ^~~~~~~~~~~~~~
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 | #include "bits/stdc++.h
a.cc:7:11: error: 'cout' was not declared in this scope
    7 |   if(x<a) cout << 0 ;
      |           ^~~~
a.cc:7:11: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout << 10 ;
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: Java

public class Practice{
	public static void main(String[] args){
		Scanner stdIn = new Scanner(System.in);
		System.out.print("X:");
		int x = stdIn.nextInt();
		System.out.print("A:");
		int a = stdIn.nextInt();
		if(x <a)
			System.out.print(0);
		else
			System.out.print(10);
	}
}


Compiler output:
Main.java:1: error: class Practice is public, should be declared in a file named Practice.java
public class Practice{
       ^
Main.java:3: error: cannot find symbol
		Scanner stdIn = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Practice
Main.java:3: error: cannot find symbol
		Scanner stdIn = new Scanner(System.in);
		                    ^
  symbol:   class Scanner
  location: class Practice
3 errors