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

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

int main() {
 

	int X,B;

      
	cin>>X>>B;
  　

  if(X<B){
     cout<<0<<endl;
}
  else{
     cout<<10<<endl;
}
}


Compiler output:
a.cc:11:3: error: extended character 　 is not valid in an identifier
   11 |   　
      |   ^
a.cc: In function 'int main()':
a.cc:11:3: error: '\U00003000' was not declared in this scope
   11 |   　
      |   ^~
a.cc:16:3: error: 'else' without a previous 'if'
   16 |   else{
      |   ^~~~
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:7:17: error: expected ';' before '}' token
    7 |         flag=1;a
      |                 ^
      |                 ;
    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:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

int main(){
  int X,A;
  cin>>X>>A;
  X<A?ans=0:10;
  cout<<ans<,endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:7: error: 'ans' was not declared in this scope; did you mean 'abs'?
    7 |   X<A?ans=0:10;
      |       ^~~
      |       abs
a.cc:8:13: error: expected primary-expression before ',' token
    8 |   cout<<ans<,endl;
      |             ^
Language: C++

#include <bits/stdc++.h>

using namespace std;

#define ll long long
#define ull unsigned long long

int main() {
    ios::sync_with_stdio(0); cin.tie(0);

    cout << (x < a ? 0 : 10) << '\n';
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:14: error: 'x' was not declared in this scope
   11 |     cout << (x < a ? 0 : 10) << '\n';
      |              ^
a.cc:11:18: error: 'a' was not declared in this scope
   11 |     cout << (x < a ? 0 : 10) << '\n';
      |                  ^
Language: C++

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

int main() {
 

	int X,B

      
	cin>>X>>B>>endl;
  　

  if(X<B){
     cout<<0<<endl;
}
  else{
     cout<<10<<endl;
}
}


Compiler output:
a.cc:11:3: error: extended character 　 is not valid in an identifier
   11 |   　
      |   ^
a.cc: In function 'int main()':
a.cc:10:9: error: expected initializer before 'cin'
   10 |         cin>>X>>B>>endl;
      |         ^~~
a.cc:11:3: error: '\U00003000' was not declared in this scope
   11 |   　
      |   ^~
a.cc:16:3: error: 'else' without a previous 'if'
   16 |   else{
      |   ^~~~
Language: C++

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

int main() {
 

	int X,B

	cin>>X,B>>endl;


  if(X<B){
     cout<<0<<endl;
}
  else{
     cout<<10<<endl;
}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:9: error: expected initializer before 'cin'
    9 |         cin>>X,B>>endl;
      |         ^~~
a.cc:12:8: error: 'B' was not declared in this scope
   12 |   if(X<B){
      |        ^
Language: C++

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

int main() {
 

int X,B

cin>>X,B>>endl;


if(X<A){
  cout<<0<<endl;
}
else{
  cout<<10<<endl;
}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: expected initializer before 'cin'
    9 | cin>>X,B>>endl;
      | ^~~
a.cc:12:6: error: 'A' was not declared in this scope
   12 | if(X<A){
      |      ^
Language: C

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

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

cinclude <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: 'cinclude' does not name a type
    1 | cinclude <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:8:4: error: 'cout' was not declared in this scope
    8 |    cout <<0 <<endl;
      |    ^~~~
a.cc:8:15: error: 'endl' was not declared in this scope
    8 |    cout <<0 <<endl;
      |               ^~~~
a.cc:11:4: error: 'cout' was not declared in this scope
   11 |    cout <<10 <<endl;
      |    ^~~~
a.cc:11:16: error: 'endl' was not declared in this scope
   11 |    cout <<10 <<endl;
      |                ^~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define rep2(s,i, n) for (int i = (int)s; i < (int)(n); i++)
#define pb push_back
typedef long long ll;
  
int main(){
    int x,a;
    cin>>x>>a;
    int ans=(x<a)0:10;
    cout<<ans<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: expected ',' or ';' before numeric constant
   11 |     int ans=(x<a)0:10;
      |                  ^
Language: C++

#include<iostream>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:37: error: expected ';' before '}' token
    9 |         std::cout << 10 << std::endl
      |                                     ^
      |                                     ;
   10 |     }
      |     ~
Language: C++

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

Compiler output:
a.cc:7:9: error: extended character 　 is not valid in an identifier
    7 |         else　cout<<"10\n";
      |         ^
a.cc: In function 'int main()':
a.cc:7:9: error: 'else\U00003000cout' was not declared in this scope
    7 |         else　cout<<"10\n";
      |         ^~~~~~~~~~
Language: C++

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

int main() {
  int x, a;
  if (x < a) {
    cout << 0 << endl;
  } else {
    cour << 1 << endl;
  }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'cour' was not declared in this scope
    9 |     cour << 1 << endl;
      |     ^~~~
Language: Java

#include <bits/stdc++.h>
using namespace std;
string s;
int p1,p2,p3,p4;
int main()
{
    int x,a;
    cin>>x>>a;
    if(x<a) cout<<0;
    else cout<<1;
    return 0;
}


Compiler output:
Main.java:1: error: illegal character: '#'
#include <bits/stdc++.h>
^
Main.java:1: error: class, interface, enum, or record expected
#include <bits/stdc++.h>
         ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
string s;
^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: class, interface, enum, or record expected
int p1,p2,p3,p4;
^
Main.java:8: error: not a statement
    cin>>x>>a;
          ^
Main.java:9: error: not a statement
    if(x<a) cout<<0;
                ^
Main.java:10: error: not a statement
    else cout<<1;
             ^
7 errors
Language: C

#include <stdio.h>
#include <stdlib.h>
#include <math.h>
#include <limits.h>
#include <string.h>
int main(void) {
scanf("%d %d",&X,&A);
if (X<A)printf("0");
else printf("10");
 return EXIT_SUCCESS;
}


Compiler output:
main.c: In function 'main':
main.c:7:16: error: 'X' undeclared (first use in this function)
    7 | scanf("%d %d",&X,&A);
      |                ^
main.c:7:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:7:19: error: 'A' undeclared (first use in this function)
    7 | scanf("%d %d",&X,&A);
      |                   ^
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:8:16: warning: multi-character character constant [-Wmultichar]
    8 |   else cout << '10' << endl;
      |                ^~~~
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<bits/stdc++.h>
using namespace std:

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

Compiler output:
a.cc:7:16: warning: multi-character character constant [-Wmultichar]
    7 |   else cout << '10' << endl;
      |                ^~~~
a.cc:2:20: error: expected ';' before ':' token
    2 | using namespace std:
      |                    ^
      |                    ;
a.cc:2:20: error: expected unqualified-id before ':' token
Language: C

X, A = map(int, input().split())

print(0 if X < A else 10)

Compiler output:
main.c:1:1: warning: data definition has no type or storage class
    1 | X, A = map(int, input().split())
      | ^
main.c:1:1: error: type defaults to 'int' in declaration of 'X' [-Wimplicit-int]
main.c:1:4: error: type defaults to 'int' in declaration of 'A' [-Wimplicit-int]
    1 | X, A = map(int, input().split())
      |    ^
main.c:1:8: error: implicit declaration of function 'map' [-Wimplicit-function-declaration]
    1 | X, A = map(int, input().split())
      |        ^~~
main.c:1:12: error: expected expression before 'int'
    1 | X, A = map(int, input().split())
      |            ^~~
main.c:3:1: error: expected ',' or ';' before 'print'
    3 | print(0 if X < A else 10)
      | ^~~~~
Language: C++

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

int main(){
    intX,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:6:5: error: 'intX' was not declared in this scope; did you mean 'int'?
    6 |     intX,A;
      |     ^~~~
      |     int
a.cc:6:10: error: 'A' was not declared in this scope
    6 |     intX,A;
      |          ^
a.cc:7:10: error: 'X' was not declared in this scope
    7 |     cin>>X>>A;
      |          ^
Language: C++

#include<iostream>
using namespace std ;

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

Compiler output:
a.cc: In function 'int maini()':
a.cc:9:1: warning: no return statement in function returning non-void [-Wreturn-type]
    9 | }
      | ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

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

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int N,A; cin >> N >>A;
  if(N<A){
    cout << 0 <<endl;
  }else if cout << 10 << endl;
      
}


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

package codechef; // don't place package name! */
 
import java.util.*;
import java.lang.*;
import java.io.*;
 
/* Name of the class has to be "Main" only if the class is public. */
public class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(System.in);
		int n = sc.nextInt();
		int a = sc.nextInt();
		if(n < a) System.out.println("0");
		else System.out.println("10");
		
	}
}

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

/* package codechef; // don't place package name! */

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

/* Name of the class has to be "Main" only if the class is public. */
class Codechef
{
	public static void main (String[] args) throws java.lang.Exception
	{
		Scanner sc = new Scanner(Sysetm.in);
		int n = sc.nextInt();
		int a = sc.nextInt();
		if(n < a) System.out.println("0");
		else System.out.println("10");
		
	}
}


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

#include<stdio.h>
#include<conio.h>
 main()

{
    int X,A;
    scanf("%d%d",&X,&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: C

#include<stdio.h>
#include<conio.h>
void main()

{
    int X,A;
    scanf("%d%d",&X,&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: C++

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


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

    

Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: expected ';' before 'x'
   12 |     cin x >> a;
      |        ^~
      |        ;
Language: C++

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

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

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

 int main() {
   int X, A;
     cin >> X >> A;
     string res = 10;
  if (X < A) {
    res = 0;
  }

   cout << res << '\n';
 }


Compiler output:
a.cc: In function 'int main()':
a.cc:7:19: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    7 |      string res = 10;
      |                   ^~
a.cc:9:11: error: ambiguous overload for 'operator=' (operand types are 'std::string' {aka 'std::__cxx11::basic_string<char>'} and 'int')
    9 |     res = 0;
      |           ^
In file included from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_string.h:817:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  817 |       operator=(const basic_string& __str)
      |       ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:828:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(const _CharT*) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  828 |       operator=(const _CharT* __s)
      |       ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:840:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(_CharT) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  840 |       operator=(_CharT __c)
      |       ^~~~~~~~
/usr/include/c++/14/bits/basic_string.h:858:7: note: candidate: 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>& std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::operator=(std::__cxx11::basic_string<_CharT, _Traits, _Alloc>&&) [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>]'
  858 |       operator=(basic_string&& __str)
      |       ^~~~~~~~
Language: C++

#include<iostream>

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

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void)
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> a >> b;
      |   ^~~
      |   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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:10:18: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << 0 << endl;
      |                  ^~~~
      |                  std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     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:14:19: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     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(int i=0;i<(n);i++)
#define REAP(i,a,n) for(int i=(a);i<(n);i++)
#define YES cout<<"Yes"<<endl
#define NO cout<<"No"<<endl
#define fr first
#define sc second
#define pb push_back
#define All(v) v.begin(),v.end()
typedef long long ll;

int main(){
    ios::sync_with_stdio(false);
    int x,a;
    cin >> x >> z;
    if(x<a)cout << 0 << endl;
    else cout << 10 << endl;

}


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

#include<stdio.h>
int main() {
	int n, x, i, d, l,ans = 0;
	n += 1;
	x += 1;
  	ans += 1
	scanf("%d %d", &n, &x);
	for (i = 0; i < n; i++) {
		scanf("%d", &l);
		d += l;
		if (d <= x) {
			ans++;
		}
	}
	printf("%d\n", ans);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:6:17: error: expected ';' before 'scanf'
    6 |         ans += 1
      |                 ^
      |                 ;
    7 |         scanf("%d %d", &n, &x);
      |         ~~~~~
Language: C

#include<stdio.h>
int main() {
	int n, x, i, d, l,ans = 0;
  　n,x,ans = 1;
	scanf("%d %d", &n, &x);
	for (i = 0; i < n; i++) {
		scanf("%d", &l);
		d += l;
		if (d <= x) {
			ans++;
		}
	}
	printf("%d\n", ans);
	return 0;
}


Compiler output:
main.c: In function 'main':
main.c:4:3: error: stray '\343' in program
    4 |   <U+3000>n,x,ans = 1;
      |   ^~~~~~~~
Language: C++

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

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int program() {
  int X, A;
  cin >> X >> A;
  if (X < A){
    puts("0");
  }
  else {
    puts("10");
  }
  return 0;
}
    

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int Program() {
  int X, A;
  cin >> X >> A;
  if (X < A){
    puts("0");
  }
  else {
    puts("10");
  }
  return 0;
}
    

Compiler output:
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

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

int Program() {
  int X, A;
  cin >> X >> A;
  if (X < A){
    puts(0);
  }
  else {
    puts(10);
  }
  return 0;
}
    

Compiler output:
a.cc: In function 'int Program()':
a.cc:11:10: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
   11 |     puts(10);
      |          ^~
      |          |
      |          int
In file included from /usr/include/c++/14/cstdio:42,
                 from /usr/include/c++/14/ext/string_conversions.h:45,
                 from /usr/include/c++/14/bits/basic_string.h:4154,
                 from /usr/include/c++/14/string:54,
                 from /usr/include/c++/14/bitset:52,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:52,
                 from a.cc:1:
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
Language: C++

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: 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 | using namespace std;
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:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << 0 << endl;
      |     ^~~~
a.cc:13:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:18: error: 'endl' was not declared in this scope
   13 |     cout << 0 << endl;
      |                  ^~~~
a.cc:13:18: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

using namespace std;

 int main() {
 int X, A; cin >> X >> A;
 puts(X < A ? "0" : "10");
 return 0;
 }

Compiler output:
a.cc: In function 'int main()':
a.cc:4:12: error: 'cin' was not declared in this scope
    4 |  int X, A; 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 | using namespace std;
a.cc:5:2: error: 'puts' was not declared in this scope
    5 |  puts(X < A ? "0" : "10");
      |  ^~~~
Language: C++

#include<iostream>
using namespase std;

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

  else{
  cout<<10<<endl;
  }
}

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   cin>>a>>b;
      |   ^~~
      |   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:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |   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:11:12: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |   cout<<0<<endl;
      |            ^~~~
      |            std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:15:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   15 |   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:15:13: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   15 |   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>
#include <string>
using namespace std
    int a,b;
    cin >> a >> b;
    if(a>b) cout << 0 <<endl;
    else cout << 10 <<endl;
}

Compiler output:
a.cc:3:20: error: expected ';' before 'int'
    3 | using namespace std
      |                    ^
      |                    ;
    4 |     int a,b;
      |     ~~~             
a.cc:5:5: error: 'cin' does not name a type
    5 |     cin >> a >> b;
      |     ^~~
a.cc:6:5: error: expected unqualified-id before 'if'
    6 |     if(a>b) cout << 0 <<endl;
      |     ^~
a.cc:7:5: error: expected unqualified-id before 'else'
    7 |     else cout << 10 <<endl;
      |     ^~~~
a.cc:8:1: error: expected declaration before '}' token
    8 | }
      | ^
Language: C

#include <stdio.h>

int main(void){
  int x, a;
  scanf("%d %d", &x, %a);
  if(x < a){
    printf("0");
  }else{
    printf("100");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:22: error: expected expression before '%' token
    5 |   scanf("%d %d", &x, %a);
      |                      ^
Language: Java

import java.util.Scanner;

public class Main{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x = scan.nexrInt();
    int a = scan.nextInt();

    if (0 <= x && a <= 9) {
      if (x < a) {
        System.out.println("0");
      } else {
        System.out.println("10");
      }
    }
  }
}


Compiler output:
Main.java:6: error: cannot find symbol
    int x = scan.nexrInt();
                ^
  symbol:   method nexrInt()
  location: variable scan of type Scanner
1 error
Language: Java

import java.utils.Scanner;

public class Main{
  public static void main(String[] args) {
    Scanner scan = new Scanner(System.in);
    int x = scan.nexrInt();
    int a = scan.nextInt();

    if (0 <= x && a <= 9) {
      if (x < a) {
        System.out.println("0");
      } else {
        System.out.println("10");
      }
    }
  }
}


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

#include<iostream>
#include<string.h>
#include<math.h>
#include<algorithm>

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:
Main.java:1: error: illegal character: '#'
#include<iostream>
^
Main.java:2: error: illegal character: '#'
#include<string.h>
^
Main.java:3: error: illegal character: '#'
#include<math.h>
^
Main.java:4: error: illegal character: '#'
#include<algorithm>
^
Main.java:10: error: not a statement
	cin >> x >> a;
	         ^
Main.java:11: error: not a statement
	if (x < a)cout << 0 << endl;
	                    ^
Main.java:12: error: not a statement
	else cout << 10 << endl;
	                ^
Main.java:8: error: unnamed classes are a preview feature and are disabled by default.
int main() {
^
  (use --enable-preview to enable unnamed classes)
8 errors
Language: C

v#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:1:2: error: stray '#' in program
    1 | v#include<stdio.h>
      |  ^
main.c:1:1: error: unknown type name 'v'
    1 | v#include<stdio.h>
      | ^
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | v#include<stdio.h>
      |          ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'ans' was not declared in this scope; did you mean 'abs'?
    7 |   ans = 10;
      |   ^~~
      |   abs
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main() {
  cin.tie(0);
  ios::sync_with_stdio(false);
  int x, a;
  cin >> x >> a;
  if(x < a) {
      cout << 0 << '\n';
  } else {
      cout << 10 << '\n'
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:25: error: expected ';' before '}' token
   11 |       cout << 10 << '\n'
      |                         ^
      |                         ;
   12 |   }
      |   ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected primary-expression before '{' token
    7 |   else cout <<{"10";}
      |               ^
Language: C++

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

Compiler output:
a.cc:8:2: error: expected unqualified-id before 'return'
    8 |  return 0 ;
      |  ^~~~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

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

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:10: error: 'X' was not declared in this scope
   10 |     if ( X < A ){
      |          ^
Language: C++

#include <iostream>
int main()
{
  int a,x;
  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: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 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<<"\n";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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>
using namespace std;
#define repr(i,a,b) for(int i=a;i<b;i++)//半開区間[a, b)
#define rep(i,n) for(int i=0;i<n;i++)//半開区間[0, n)
#define reprrev(i,a,b) for(int i=b-1;i>=a;i--)//半開区間[a, b)を上から
#define reprev(i,n) reprrev(i,0,n)//半開区間[0, n]を上から
typedef long long ll;//intは[-2147483648, 2147483647]の範囲 
typedef unsigned long long ull;//非負整数
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
                     
const ll mod = 1e9+7;
/* <-----------------------------------------------------------------------------------> */
/* <-----------------------------------------------------------------------------------> */
/* <-----------------------------------------------------------------------------------> */
/* <-----------------------------------------------------------------------------------> */
                     
int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  int X, A; cin >> X >> A;
  cout << ((X>=A)? 10:0) << endl; 
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:23:12: error: expected '}' at end of input
   23 |   return 0;
      |            ^
a.cc:18:11: note: to match this '{'
   18 | 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.print("0");
		}else{
			SYstem,out.print("10");
		}
		
	}
}

Compiler output:
Main.java:12: error: not a statement
			SYstem,out.print("10");
			^
Main.java:12: error: ';' expected
			SYstem,out.print("10");
			      ^
2 errors
Language: Java

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

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
public static Main{
              ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  public static void main(String[] args){
                ^
  (use --enable-preview to enable unnamed classes)
Main.java:13: error: class, interface, enum, or record expected
}
^
3 errors
Language: C

#include<bits/stdc++.h>
using namespace std;
int main(void)
{
	int x,a;
	scanf("%d%d",&x,&a);
	if(x>=a){
		printf("10\n");
	}
	else{
		printf("0\n");
	}
	return 0;
}

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

#include <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:7:20: error: extended character 　 is not valid in an identifier
    7 |         cin >> x >>　a ;
      |                    ^
a.cc: In function 'int main()':
a.cc:7:20: error: '\U00003000a' was not declared in this scope
    7 |         cin >> x >>　a ;
      |                    ^~~
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:6: error: incompatible types: String cannot be converted to int
		int X = scanner.nextLine();
		                        ^
Main.java:7: error: incompatible types: String cannot be converted to int
        int A = scanner.nextLine();
                                ^
2 errors
Language: C++

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

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



}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: 'x' was not declared in this scope
    5 |   cin >> x >> a;
      |          ^
a.cc:5:15: error: 'a' was not declared in this scope
    5 |   cin >> x >> a;
      |               ^
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:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#define _CRT_SECURE_NO_WARNINGS

#include <cstdio>
#include <algorithm>
#include <cmath>
#include <string>

using namespace std;

int main()
{
	FILE *fin = NULL, *fout = NULL;
	fin = freopen("input.txt", "r", stdin);
	fout = freopen("output.txt", "w", stdout);
	
	int X, A; scanf("%d%d", &X, &A);
	if (X < a){
		printf("0");

	}
	else{
		printf("10");
	}



	//finalize
	if (NULL != fin) fclose(fin);
	if (NULL != fout) fclose(fout);

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:17:17: error: 'a' was not declared in this scope
   17 |         if (X < a){
      |                 ^
Language: C++

#define _CRT_SECURE_NO_WARNINGS

#include <cstdio>
#include <algorithm>
#include <cmath>
#include <string>

using namespace std;

int main()
{
	FILE *fin = NULL, *fout = NULL;
	fin = freopen("input.txt", "r", stdin);
	fout = freopen("output.txt", "w", stdout);
	
	int X, A; scanf("%d%d" < &X, &A);
	if (X < a){
		printf("0");

	}
	else{
		printf("10");
	}



	//finalize
	if (NULL != fin) fclose(fin);
	if (NULL != fout) fclose(fout);

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:32: error: comparison between distinct pointer types 'const char*' and 'int*' lacks a cast
   16 |         int X, A; scanf("%d%d" < &X, &A);
      |                         ~~~~~~~^~~~
a.cc:16:32: error: cannot convert 'bool' to 'const char*'
   16 |         int X, A; scanf("%d%d" < &X, &A);
      |                         ~~~~~~~^~~~
      |                                |
      |                                bool
In file included from /usr/include/c++/14/cstdio:42,
                 from a.cc:3:
/usr/include/stdio.h:428:42: note:   initializing argument 1 of 'int scanf(const char*, ...)'
  428 | extern int scanf (const char *__restrict __format, ...) __wur;
      |                   ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:17:17: error: 'a' was not declared in this scope
   17 |         if (X < a){
      |                 ^
Language: C++

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

int main() {
  int N,A;
  cin>>N>>A;
 

  if(int N<A){
    cout<<0<<endl; 
    
  }
  else{
    
    cout <<10<<endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:11: error: expected initializer before '<' token
    9 |   if(int N<A){
      |           ^
a.cc:9:11: error: expected ')' before '<' token
    9 |   if(int N<A){
      |     ~     ^
      |           )
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:9: warning: missing terminating " character
    7 | printf (" print 0);
      |         ^
main.c:7:9: error: missing terminating " character
    7 | printf (" print 0);
      |         ^~~~~~~~~~~
main.c:8:1: error: expected expression before 'else'
    8 | else
      | ^~~~
main.c:9:22: error: expected ';' before '}' token
    9 | printf (" print 10");
      |                      ^
      |                      ;
   10 | }
      | ~
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:
a.cc:1:2: error: stray '#' in program
    1 | *#include<stdio.h>
      |  ^
a.cc:1:10: error: expected constructor, destructor, or type conversion before '<' token
    1 | *#include<stdio.h>
      |          ^
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:1:2: error: stray '#' in program
    1 | *#include<stdio.h>
      |  ^
main.c:1:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | *#include<stdio.h>
      |          ^
Language: C++

#include <stdio.h>
#include <stdlib.h>
int main(){
        int x,a;
	while(scanf_s("%d%d",&x,&a)!=-1){
		if(x<a){
			printf("0\n");
		}
		else{
			printf("10\n");
		}
	}
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:15: error: 'scanf_s' was not declared in this scope; did you mean 'scanf'?
    5 |         while(scanf_s("%d%d",&x,&a)!=-1){
      |               ^~~~~~~
      |               scanf
Language: C

#include<stdio.h>
int main()
{

    int a,b,c,d;
    scanf("%d%d",&a,&b);
    
    if((a<b)
    {
        printf("0\n");
    }
    else
    {
        printf("10\n");
    }
return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected ')' before '{' token
    8 |     if((a<b)
      |       ~     ^
      |             )
    9 |     {
      |     ~        
main.c:17:1: error: expected expression before '}' token
   17 | }
      | ^
Language: C

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

    int a,b,c,d;
    scanf("%d%d",&a,&b);
    
    if((a<b)
    {
        printf("0\n");
    }
    else
    {
        printf("10\n");
    }
return 0;
}


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

#include<stdio.h>
int main()
{

    int a,b,c,d;
    scanf("%d%d",&a,&b);
    
    if((a<b)
    {
        printf("0\n");
    }
    else
    {
        printf("10\n");
    }
}


Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected ')' before '{' token
    8 |     if((a<b)
      |       ~     ^
      |             )
    9 |     {
      |     ~        
main.c:16:1: error: expected expression before '}' token
   16 | }
      | ^
Language: C++

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

    int a,b,c,d;
    scanf("%d%d",&a,&b);
    
    if((a<b)
    {
        printf("0\n");
    }
    else
    {
        printf("10\n");
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: expected ')' before '{' token
    9 |     if((a<b)
      |       ~     ^
      |             )
   10 |     {
      |     ~        
a.cc:17:1: error: expected primary-expression before '}' token
   17 | }
      | ^
Language: C++

#include<stdio.h>
int main()
{
	int a,s,z[100],i,s,c;
	while(~scanf("%d%d",&a,&s))
	{
		s=0;
		c=1;
		for(i=0;i<a;i++)
		{
			scanf("%d",&z[i]);
			s+=z[i];
			if(s<=s)
			c++;
		}
		printf("%d\n",c);
	} 
	return 0;
 } 

Compiler output:
a.cc: In function 'int main()':
a.cc:4:26: error: redeclaration of 'int s'
    4 |         int a,s,z[100],i,s,c;
      |                          ^
a.cc:4:15: note: 'int s' previously declared here
    4 |         int a,s,z[100],i,s,c;
      |               ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
const int maxn=2e5+10;
const int N=1e6+10;
typedef long long ll;
const ll mod=1e9+7;
#define per(i,a,b) for(int i=a;i<b;i++)
#define rep(i,a,b) for(int i=a;i<=b;i++)
#define inf 0x3f3f3f3f
#define qwq puts("QWQ");
#define qaq puts("QAQ");
#define mem(a,b) memset(a,b,sizeof(a))
#define mid ((l+r)>>1)
#define l(x) x<<1
#define r(x) x<<1|1
#define lson rt<<1,l,mid
#define rson rt<<1|1,mid+1,r
void read(int &x)
{
	int f=1;x=0;
	char s=getchar();
	while(s<'0'||s>'9')
    {
    	if(s=='-')f=-1;
    	s=getchar();
	}
	while(s>='0'&&s<='9')x=x*10+s-'0',s=getchar();
	x*=f;
}
int main()
{
	int a,b;
	read(a),read(b);
	if(x<a)puts("0");
	else puts("10"); 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:34:12: error: 'x' was not declared in this scope
   34 |         if(x<a)puts("0");
      |            ^
Language: C

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


Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:6:8: error: 'x' undeclared (first use in this function)
    6 |     if(x<a)
      |        ^
main.c:6:8: note: each undeclared identifier is reported only once for each function it appears in
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:9:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 | print("10");
      | ^~~~~
      | printf
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:9:1: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 | print("10");
      | ^~~~~
      | printf
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:9:2: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    9 |  print("10");
      |  ^~~~~
      |  printf
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '>' token
    6 |     if(X=>A)
      |          ^
main.c:8:10: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     else print("10");
      |          ^~~~~
      |          printf
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:6:10: error: expected expression before '>' token
    6 |     if(X=>A)
      |          ^
main.c:8:10: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     else print("10");
      |          ^~~~~
      |          printf
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:8:10: error: implicit declaration of function 'print'; did you mean 'printf'? [-Wimplicit-function-declaration]
    8 |     else print("10");
      |          ^~~~~
      |          printf
Language: C

#include<stdio.h>

int main(void) {
  int X, A;
  scanf("%d %d", &X &A);
  if(X<A) {
    puts("0");
  }
  else {
    puts("1");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:21: error: invalid operands to binary & (have 'int *' and 'int')
    5 |   scanf("%d %d", &X &A);
      |                  ~~ ^
      |                  |
      |                  int *