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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected primary-expression before '<' token
    9 |         if (b =< a) {
      |                ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:3: error: implicit declaration of function 'sacnf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 |   sacnf("%d %d",&x,&a);
      |   ^~~~~
      |   scanf
Language: C++

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

using namespace std;

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


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

class main
public static void main (String[] args)
  int X;
  int A;
	0<=X&&A<=9;
  if(X < A){
    System.out.println(0);
  }else if(X >= A){
    System.out.println(10);
  }

Compiler output:
a.cc:2:1: error: expected unqualified-id before 'public'
    2 | public static void main (String[] args)
      | ^~~~~~
a.cc:5:9: error: expected unqualified-id before numeric constant
    5 |         0<=X&&A<=9;
      |         ^
a.cc:6:3: error: expected unqualified-id before 'if'
    6 |   if(X < A){
      |   ^~
a.cc:8:4: error: expected unqualified-id before 'else'
    8 |   }else if(X >= A){
      |    ^~~~
Language: Java

   public void solve(String[] args) {
        MyScanner scanner = new MyScanner();

        // ビジネスロジックここから
        int x = scanner.nextInt();
        int a = scanner.nextInt();
        
        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.
   public void solve(String[] args) {
          ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include<iotream>
#include<string>

using namespace std;

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

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

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

int main(){
  int a,b;
  cin>>a>>B;
  
  if(a>=b)
    cout<<10<<endl;
  
  else
    cout<<0<<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 <stdio.h>
int main(void)
{
  int X,A;
  scanf("%d", &X);
  scanf("%d", &A);
  
  if(X < A){
    printf("0");
  }
  
  else{
    printf("10");
  }
  
  retrn(0);
}

Compiler output:
main.c: In function 'main':
main.c:16:3: error: implicit declaration of function 'retrn' [-Wimplicit-function-declaration]
   16 |   retrn(0);
      |   ^~~~~
Language: C++

#include <iostream>
#include <string>
using namespace std;
int main(void){
	int i,j;
	cin >> i >> j;
	if(i>j){
		cout << "0";
	}else{
		cout << "10"
	}

	return 0;
}

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

#include <iostream>
using namespace std;
int main ()
{
    int X A ;
    cin >> X ;
    cin >> A ;
    if(X <= A){
        cout << "0 \n";

    }
    else{
        cout << "10" ;
    }
    return 0 ;

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected initializer before 'A'
    5 |     int X A ;
      |           ^
a.cc:6:12: error: 'X' was not declared in this scope
    6 |     cin >> X ;
      |            ^
a.cc:7:12: error: 'A' was not declared in this scope
    7 |     cin >> A ;
      |            ^
Language: Java

        int x = scanner.nextInt();
        int a = scanner.nextInt();
        
        if (x < a) {
        	System.out.println(0);
        }
        else {
        	System.out.println(10);
        }
 

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
        int x = scanner.nextInt();
        ^
  (use --enable-preview to enable unnamed classes)
Main.java:4: error: class, interface, enum, or record expected
        if (x < a) {
        ^
Main.java:6: error: class, interface, enum, or record expected
        }
        ^
Main.java:9: error: class, interface, enum, or record expected
        }
        ^
4 errors
Language: C

#include <stdio.h>
int x, a;
printf("%d", x<a ? 0 : 10);


Compiler output:
main.c:3:8: error: expected declaration specifiers or '...' before string constant
    3 | printf("%d", x<a ? 0 : 10);
      |        ^~~~
main.c:3:14: error: expected declaration specifiers or '...' before 'x'
    3 | printf("%d", x<a ? 0 : 10);
      |              ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostring>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>X>>A;
      |   ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<0;
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<10;
      |     ^~~~
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 |   scanf_s("%d %d", &x, &a);
      |   ^~~~~~~
      |   scanf
Language: C

int x, a;
printf("%d", x<a ? 0 : 10);

Compiler output:
main.c:2:8: error: expected declaration specifiers or '...' before string constant
    2 | printf("%d", x<a ? 0 : 10);
      |        ^~~~
main.c:2:14: error: expected declaration specifiers or '...' before 'x'
    2 | printf("%d", x<a ? 0 : 10);
      |              ^
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:12: error: '(' expected
        if x < a {
          ^
Main.java:12: error: ')' expected
        if x < a {
                ^
2 errors
Language: C++

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

int x, a,ans;


void solve() {
  if (x<a) {
    ans = 0;
  } else {
    ans = 10;
  }

  ans = min(a,min(b,c)); 
}

int main()
{
    cin >> x >> a;

      solve();

    cout << ans << endl;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:14:19: error: 'b' was not declared in this scope
   14 |   ans = min(a,min(b,c));
      |                   ^
a.cc:14:21: error: 'c' was not declared in this scope
   14 |   ans = min(a,min(b,c));
      |                     ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:10:13: error: expected ';' before '{' token
   10 |   }else(x<a)
      |             ^
      |             ;
   11 |   {
      |   ~
Language: Java

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

Compiler output:
Main.java:2: error: class main is public, should be declared in a file named main.java
public class main{
       ^
Main.java:5: error: incompatible types: String cannot be converted to int
    int x = sc.next();
                   ^
Main.java:6: error: incompatible types: String cannot be converted to int
    int a = sc.next();
                   ^
3 errors
Language: C++


#define FOR(i, a, b) for(int i=(a); i<(b); i++)
#define REP(i, n) FOR(i, 0, n)
#define all(x) (x).begin(), (x).end()
#define bit(x) (1L << (x))
using ll = long long;
using namespace std;

template<typename T>
vector<T> make_v(size_t a,T b){return vector<T>(a,b);}
 
template<typename... Ts>
auto make_v(size_t a,Ts... ts){
    return vector<decltype(make_v(ts...))>(a,make_v(ts...));
}

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

    return 0;
}


Compiler output:
a.cc:10:1: error: 'vector' does not name a type
   10 | vector<T> make_v(size_t a,T b){return vector<T>(a,b);}
      | ^~~~~~
a.cc:13:13: error: 'size_t' was not declared in this scope
   13 | auto make_v(size_t a,Ts... ts){
      |             ^~~~~~
a.cc:1:1: note: 'size_t' is defined in header '<cstddef>'; this is probably fixable by adding '#include <cstddef>'
  +++ |+#include <cstddef>
    1 | 
a.cc:13:24: error: expected primary-expression before '...' token
   13 | auto make_v(size_t a,Ts... ts){
      |                        ^~~
a.cc:13:30: error: expression list treated as compound expression in initializer [-fpermissive]
   13 | auto make_v(size_t a,Ts... ts){
      |                              ^
a.cc:13:31: error: expected ';' before '{' token
   13 | auto make_v(size_t a,Ts... ts){
      |                               ^
      |                               ;
a.cc: In function 'int main()':
a.cc:18:15: error: 'cin' was not declared in this scope
   18 |     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 | 
a.cc:21:9: error: 'cout' was not declared in this scope
   21 |         cout << a << endl;
      |         ^~~~
a.cc:21:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:21:22: error: 'endl' was not declared in this scope
   21 |         cout << a << endl;
      |                      ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | 
a.cc:23:9: error: 'cout' was not declared in this scope
   23 |         cout << 10 << endl;
      |         ^~~~
a.cc:23:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:23: error: 'endl' was not declared in this scope
   23 |         cout << 10 << endl;
      |                       ^~~~
a.cc:23:23: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
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:10:7: error: 'x' was not declared in this scope
   10 |   if (x<A) cout << "0" << endl;
      |       ^
Language: Java

import java.util.*;

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


  }
}

Compiler output:
Main.java:12: error: '(' expected
    }else if{
            ^
1 error
Language: C++

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: 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 | using namespace std;
a.cc:7:7: error: 'cout' was not declared in this scope
    7 |       cout << 0;
      |       ^~~~
a.cc:7:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:7: error: 'cout' was not declared in this scope
    9 |       cout << 10;
      |       ^~~~
a.cc:9:7: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
	public static boid main(String[] args){
	              ^
  symbol:   class boid
  location: class Main
1 error
Language: C

include<stdio.h>

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


}


Compiler output:
main.c:1:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 | include<stdio.h>
      |        ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:8:13: error: expected expression before '>' token
    8 |   else if(x=>a)
      |             ^
Language: C++

#include<iostream>
 
int main(){
  int x, a;
  cin >> x >> a;
  if(x < a){
    printf("0\n");
  }else if(x >= a){
    printf("10\n");  
  }
}

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
      |                  ^~~
Language: C++

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

int main() {
  int X;
  int A;
  cin >> X >> A;

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


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

#include<c.std/c++>
using namespace std;
int main(){
  int n,m,p=0,q=10;
  cin>>m>>n;
  if(m<n) cout<<p;
  else cout<<q;
  return 0;
}

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

#include<stdio.h>
 
int main(){
 int a,x;
  scanf("%d %d",&x,&a);

if(x<a)
  printf(0\n);
else
  printf(10\n);
}

Compiler output:
main.c: In function 'main':
main.c:8:11: error: stray '\' in program
    8 |   printf(0\n);
      |           ^
main.c:8:11: error: expected ')' before 'n'
    8 |   printf(0\n);
      |         ~ ^~
      |           )
main.c:10:12: error: stray '\' in program
   10 |   printf(10\n);
      |            ^
main.c:10:12: error: expected ')' before 'n'
   10 |   printf(10\n);
      |         ~  ^~
      |            )
main.c:10:10: error: passing argument 1 of 'printf' makes pointer from integer without a cast [-Wint-conversion]
   10 |   printf(10\n);
      |          ^~
      |          |
      |          int
In file included from main.c:1:
/usr/include/stdio.h:363:43: note: expected 'const char * restrict' but argument is of type 'int'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
Language: C++

#include <bits/stdc++.h>
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: In function 'int main()':
a.cc:12:4: error: expected '}' at end of input
   12 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

class problem1{

    public static void main(String args[]){

        int val1 = 0;  
        String ope;    /* 演算子 */

        val1 = Integer.parseInt(args[0]);
        val2 = Integer.parseInt(args[2]);
        
        if val1 < val2 {
        	System.out.println("0");
        } else {
        	System.out.println("10");
        }       
    }
}

Compiler output:
Main.java:11: error: '(' expected
        if val1 < val2 {
          ^
Main.java:11: error: ')' expected
        if val1 < val2 {
                      ^
2 errors
Language: C++

#include <iostream>



using namespace std;
int (){
  int x,A;
  cin>>x>>A;
  if(x<A) cout<< 0;
  else cout<<10;

    return 0;
    
}

Compiler output:
a.cc:6:6: error: expected unqualified-id before ')' token
    6 | int (){
      |      ^
Language: C++

de <iostream>

using namespace std;

int main(int argc, char *argv[])
{
	int X, A;

	cin >> X >> A;

	printf("%d\n", X < A ? 0 : 10);
	
	return 0;
}

Compiler output:
a.cc:1:1: error: 'de' does not name a type
    1 | de <iostream>
      | ^~
a.cc: In function 'int main(int, char**)':
a.cc:9:9: error: 'cin' was not declared in this scope
    9 |         cin >> X >> A;
      |         ^~~
a.cc:11:9: error: 'printf' was not declared in this scope
   11 |         printf("%d\n", X < A ? 0 : 10);
      |         ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | de <iostream>
Language: C++

#include <bits/stdc++.h>
#define rep(i,a,b) for (int64_t i = (a); i < (b); i++)
#define REP(i,n) rep(i,0,n)
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:8:10: error: 'x' was not declared in this scope
    8 |     cin>>x>>a;
      |          ^
a.cc:8:13: error: 'a' was not declared in this scope
    8 |     cin>>x>>a;
      |             ^
Language: C++

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

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

#include<iostream>

int main(){
  int x, a;
  cin >> x, a;
  if(x < a){
    printf("0\n");
  }else if(x >= a){
    printf("10\n");  
  }
}

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
      |                  ^~~
Language: C++

#include <bits/stdc++.h>
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: In function 'int main()':
a.cc:12:2: error: expected '}' at end of input
   12 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define int long long
#define rep(i,n) for(int i=0;i<n;i++)
signed main(){
    int n;
    cin>>n;
    int a;
    cin>>a;
    if(x<a){
        cout<<0<<endl;
    }
    else{
        cout<<10<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'x' was not declared in this scope
   10 |     if(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:9:14: error: expected primary-expression before '<' token
    9 |     cout<<0<<<endl;}
      |              ^
Language: C

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

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c:7:1: error: expected identifier or '(' before 'if'
    7 | if(x<a)
      | ^~
main.c:8:11: error: stray '\' in program
    8 |   printf(0\n);
      |           ^
main.c:9:1: error: expected identifier or '(' before 'else'
    9 | else
      | ^~~~
main.c:10:12: error: stray '\' in program
   10 |   printf(10\n);
      |            ^
Language: Java

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

Compiler output:
Main.java:4: error: no suitable constructor found for Scanner(no arguments)
    Scanner sc = new Scanner();
                 ^
    constructor Scanner.Scanner(Readable,Pattern) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Readable) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(InputStream,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(File,CharsetDecoder) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(Path,Charset) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,String) is not applicable
      (actual and formal argument lists differ in length)
    constructor Scanner.Scanner(ReadableByteChannel,Charset) is not applicable
      (actual and formal argument lists differ in length)
1 error
Language: C++

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

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

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

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

}

Compiler output:
main.c: In function 'main':
main.c:7:10: error: expected expression before '<' token
    7 |   }if(A =< X){
      |          ^
Language: C++

#include <iostream>
#include <numeric>
#include <vector>
#include <cmath>
#include <string>
#include <algorithm>
#include <set>
#include <map>
#include <queue>
#include <iomanip>
using namespace std;
using ll=long long;
const ll MOD=1000003;
const ll LINF=0x1fffffffffffffff;
const int INF=0x3fffffff;
#define rep(i,a,b) for(ll i=a;i<b;i++)
#define rrep(i,a,b) for(ll i=b-1;i>=a;i--)
#define range(i) (i).begin(),(i).end()
#define rrange(i) (i).rbegin(),(i).rend()
inline ll gcd(ll a, ll b) { return b ? gcd(b, a % b) : a; }
inline constexpr int intpow(ll a,ll b){
    if(b==0) return 1;
    ll ans=intpow(a,b/2);
    return ans*ans%MOD*(b&1?a:1)%MOD;
}
inline constexpr int modf(ll n){
    ll ans=1;
    rep(i,0,n) {ans=ans*(n-i)%MOD;}
    return ans;
}
inline long double median(vector<ll> v){
    ll size=v.size();
    sort(v.begin(),v.end());
    if (size % 2 == 1) return v[(size - 1) / 2];
    else return v[(size / 2) - 1] ;
}
template<class T> inline bool chmax(T& a,T b) {if(a<b){a=b;return 1;} return 0;}
template<class T> inline bool chmin(T& a,T b) {if(a>b){a=b;return 1;} return 0;}
template<class T,class L>ostream& operator << (ostream& os, pair<T,L>& p){os << p.first << " " << p.second;return os;}

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


Compiler output:
a.cc: In function 'int main()':
a.cc:42:6: error: expected unqualified-id before ',' token
   42 |   ll ,a;
      |      ^
a.cc:43:8: error: 'x' was not declared in this scope
   43 |   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';
  else{
    cout << '10'
      }
  }

Compiler output:
a.cc:10:13: warning: multi-character character constant [-Wmultichar]
   10 |     cout << '10'
      |             ^~~~
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before '}' token
   10 |     cout << '10'
      |                 ^
      |                 ;
   11 |       }
      |       ~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: redeclaration of 'int a'
    6 |     int a=0;
      |         ^
a.cc:5:11: note: 'int a' previously declared here
    5 |     int x,a;
      |           ^
Language: Java

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


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

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

}

Compiler output:
main.c: In function 'main':
main.c:7:10: error: expected expression before '>' token
    7 |   }if(X => A){
      |          ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:6:6: error: 'x' undeclared (first use in this function)
    6 |   if(x <A){
      |      ^
main.c:6:6: note: each undeclared identifier is reported only once for each function it appears in
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.System.out.println(0);
   }else{
       System.out.System.out.println(10);
   }
    
}

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

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



Compiler output:
a.cc: In function 'int main()':
a.cc:7:18: error: expected ';' before '{' token
    7 |     }else if(a>=b{
      |                  ^
      |                  ;
a.cc:10:5: error: expected primary-expression before 'return'
   10 |     return 0;
      |     ^~~~~~
a.cc:9:6: error: expected ')' before 'return'
    9 |     }
      |      ^
      |      )
   10 |     return 0;
      |     ~~~~~~
a.cc:7:13: note: to match this '('
    7 |     }else if(a>=b{
      |             ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected '}' at end of input
    9 |   cout << "10";
      |                ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C

#include<stdio.h>

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

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main(){
      | ^~~~
main.c: In function 'main':
main.c:5:20: error: expected expression before '%' token
    5 |   scanf("%d %d",&x,%a);
      |                    ^
main.c: At top level:
main.c:7:1: error: expected identifier or '(' before 'if'
    7 | if(x<a)
      | ^~
main.c:8:11: error: stray '\' in program
    8 |   printf(0\n);
      |           ^
main.c:9:1: error: expected identifier or '(' before 'else'
    9 | else
      | ^~~~
main.c:10:12: error: stray '\' in program
   10 |   printf(10\n);
      |            ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define ll long long
#define pb push_back
#define mp make_pair
#define endl '\n'
typedef vector<vector<ll>> matrix;
const ll INF = 1e18;
const int MAX = 2e5+4;
const int MOD = 1e9+7;
//vector<int> dp(MAX);
int main()
{
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	int x,a;
	cin >> x >> a;
	is(x<a) cout << 0;
	else cout << 10;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'is' was not declared in this scope
   18 |         is(x<a) cout << 0;
      |         ^~
a.cc:19:9: error: 'else' without a previous 'if'
   19 |         else cout << 10;
      |         ^~~~
Language: C++

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

Compiler output:
a.cc:3:16: error: extended character 　 is not valid in an identifier
    3 | int main(void){　
      |                ^
a.cc: In function 'int main()':
a.cc:3:16: error: '\U00003000' was not declared in this scope
    3 | int main(void){　
      |                ^~
a.cc:5:10: error: 'X' was not declared in this scope
    5 |     cin>>X>>A;
      |          ^
a.cc:5:13: error: 'A' was not declared in this scope
    5 |     cin>>X>>A;
      |             ^
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: expected primary-expression before '%' token
    6 |         scanf("%d %d",%X,&A);
      |                       ^
Language: C

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

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

import java.util.*

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

Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
1 error
Language: C++

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

int main {

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

}

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

#include<iostream>

using namespace std;
int X=0;
int A=0;
cin>>X>>A;
if(X<A){
  cout<<0;
}else{
  cout<<10;
}

Compiler output:
a.cc:6:1: error: 'cin' does not name a type
    6 | cin>>X>>A;
      | ^~~
a.cc:7:1: error: expected unqualified-id before 'if'
    7 | if(X<A){
      | ^~
a.cc:9:2: error: expected unqualified-id before 'else'
    9 | }else{
      |  ^~~~
Language: C++

#include <iostream>

int main(void)
{
  int x = 0, a = 0;
  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:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   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: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 <stdio.h>
#include <stdlib.h>

int mian(){
    int x, a;
    scanf("%d %d", &x, &a);
    if(x < a){
        printf("0");
    }
    else{
        printf("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++>
using namespace std;

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

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

#include <bits/stdc++.h>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:11: error: unable to find numeric literal operator 'operator""\U0000ff1b'
   10 |     cout<<0；
      |           ^~~
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:
main.c:1:10: fatal error: iostream: No such file or directory
    1 | #include <iostream>
      |          ^~~~~~~~~~
compilation terminated.
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'X' was not declared in this scope
    6 |   cin>>X>>A;
      |        ^
a.cc:6:11: error: 'A' was not declared in this scope
    6 |   cin>>X>>A;
      |           ^
a.cc:7:9: error: expected initializer before 'A'
    7 |   int X A;
      |         ^
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:24: error: expected ';' before 'return'
    8 |         else cout<<"10"
      |                        ^
      |                        ;
    9 |         return 0;
      |         ~~~~~~
Language: C++

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   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:5:11: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    5 |   if(a<b){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:6:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   else{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++

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

#include<bits/stdc++.h> 

using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'IOS' was not declared in this scope
    7 |         IOS;
      |         ^~~
Language: Java

public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int x = Integer.parseInt(sc.next());
    int a = Integer.parseInt(sc.next());
    
    if(x<a){
      System.out.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;

Compiler output:
a.cc: In function 'int main()':
a.cc:11:23: error: expected '}' at end of input
   11 |     cout << 10 <<endl;
      |                       ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.Scanner;

public class q1{
    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:3: error: class q1 is public, should be declared in a file named q1.java
public class q1{
       ^
1 error
Language: Java

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
const int maxn=2e5+10;
int main()
{
    int a,b;
    cin>>a>>b;
    if(a<b)
        puts("0");
    else
        puts("10");
    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: class, interface, enum, or record expected
typedef long long ll;
^
Main.java:4: error: class, interface, enum, or record expected
const int maxn=2e5+10;
^
Main.java:8: error: not a statement
    cin>>a>>b;
          ^
Main.java:5: error: unnamed classes are a preview feature and are disabled by default.
int main()
^
  (use --enable-preview to enable unnamed classes)
6 errors
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:15: error: expected ';' before 'else'
    8 |     puts("10")
      |               ^
      |               ;
    9 |    else
      |    ~~~~
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:10:17: error: expected ';' before 'return'
   10 |   cout<<10<<endl
      |                 ^
      |                 ;
   11 |         return 0;
      |         ~~~~~~
Language: C++

#include<stdio.h>
#include<iostream>

using namespace std;

int main(){
int a,b,c,d;
cin >>a >>b;
print("%s\n",(a<b)? "0" : "10");
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:1: error: 'print' was not declared in this scope; did you mean 'printf'?
    9 | print("%s\n",(a<b)? "0" : "10");
      | ^~~~~
      | printf
Language: C++

#include <bits/stdc++.h>
using namespace std;
struct Fast { Fast() { cin.tie(0); ios::sync_with_stdio(false); cout << fixed << setprecision(20);} } fast;


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

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

#include <iostream>
#include <vector>
#include <string>
#include <algorithm>

using namespace std;

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

    cout << ans << endl;
    
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected initializer before 'if'
   12 |     if (x<a)
      |     ^~
a.cc:15:6: error: 'else' without a previous 'if'
   15 |     }else
      |      ^~~~
a.cc:17:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   17 |         ans = 10;
      |         ^~~
      |         abs
a.cc:20:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
   20 |     cout << ans << endl;
      |             ^~~
      |             abs
Language: C++

/* include */
#include <bits/stdc++.h>
#include <boost/math/common_factor_rt.hpp>

/* using */
using namespace std;
using namespace boost::math

    /* main constructor */
    struct Fast
{
    Fast()
    {
        std::cin.tie(0);
        ios::sync_with_stdio(0);
        //cout << fixed << setprecision(12);
    }
} fast;

/* template */
template <class T>
bool chmax(T &a, const T &b) { return (a < b) ? (a = b, 1) : 0; }
template <class T>
bool chmin(T &a, const T &b) { return (b < a) ? (a = b, 1) : 0; }

/* define */
#define REP(i, x, n) for (int i = x; i < (int)(n); ++i)
#define RREP(i, x, n) for (int i = x - 1; i >= (int)(n); --i)
#define rep(i, n) REP(i, 0, n)
#define reps(i, n) REP(i, 1, n + 1)
#define rrep(i, n) RREP(i, n, 0)
#define each(i, n) for (auto &i : n)
#define all(x) (x).begin(), (x).end()
#define rall(x) (x).rbegin(), (x).rend()
#define eunique(x) \
    sort(all(x));  \
    (x).erase(unique(all(x)), (x).end())
#define mp make_pair
#define r0 return 0

/* const */
const int inf = 1e9 + 7;
const int dxl[8] = {1, 0, -1, 0, 1, -1, -1, 1};
const int dyl[8] = {0, 1, 0, -1, 1, 1, -1, -1};
const int dxs[4] = {1, 0, -1, 0};
const int dys[4] = {0, 1, 0, -1};

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


Compiler output:
a.cc:3:10: fatal error: boost/math/common_factor_rt.hpp: No such file or directory
    3 | #include <boost/math/common_factor_rt.hpp>
      |          ^~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.