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

#include <set>
#include <map>
#include <list>
#include <queue>
#include <stack>
#include <cmath>
#include <ctime>
#include <cstdio>
#include <vector>
#include <string>
#include <bitset>
#include <cctype>
#include <cstdlib>
#include <cstring>
#include <utility>
#include <numeric>
#include <complex>
#include <sstream>
#include <fstream>
#include <iomanip>
#include <cassert>
#include <iostream>
#include <iterator>
#include <algorithm>
using namespace std;
typedef long long ll;
typedef vector<int> vint;
typedef pair<int, int> pint;
#define rep(i, n) REP(i, 0, n)
#define all(v) v.begin(), v.end()
#define vpush(v,x) v.push_back(x);
#define REP(i, x, n) for(int i = x; i < n; i++)
#define INF 2e9
signed main(){
    cin.tie(0);
    ios::sync_with_stdio(false);
    int a,b,w,h;
    vint v;
    cin>>a>>b;
    cout<<(x<a ? 0 : 10);
    return(0);
}

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

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

 int main() {
 int N, X; cin >> N >> X;
 vector<int> D(N + 1);
 D[0] = 0;
8for (int i = 0; i < N; ++i) {
 int x; cin >> x;
 D[i + 1] = D[i] + x;
 }
int ans = 0;
for (int i = 0; i <= N; ++i) {
if (D[i] <= X) {
ans++;
}
}
cout << ans << endl;
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: unable to find numeric literal operator 'operator""for'
    8 | 8for (int i = 0; i < N; ++i) {
      | ^~~~
a.cc:8:7: error: expected primary-expression before 'int'
    8 | 8for (int i = 0; i < N; ++i) {
      |       ^~~
a.cc:8:18: error: 'i' was not declared in this scope
    8 | 8for (int i = 0; i < N; ++i) {
      |                  ^
Language: C++

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

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

#include<iostream>
using namespace std;

int mainn(){
  int x, a; 
  cin >> x >> a;
  cout << (x < a ? 0 : 10) << endl;
  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<iostream>
using namespace std;

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

Compiler output:
main.c: In function 'main':
main.c:5:19: error: invalid operands to binary & (have 'int *' and 'int')
    5 |   scanf("%d%d", &x&a);
      |                 ~~^
      |                 |
      |                 int *
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:18: error: expected ';' before 'else'
    8 |         cout<<"0"
      |                  ^
      |                  ;
    9 |         else
      |         ~~~~
Language: C++

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

int main(void) {
	int x, a;
	cin >> x >> a;
	(x < a) ? puts(0) : puts(10);
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:34: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    8 |         (x < a) ? puts(0) : 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

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

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

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

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:2: error: expected '}' at end of input
   13 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
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:9: error: expected '}' before 'else'
    9 |         else{
      |         ^~~~
a.cc:7:18: note: to match this '{'
    7 |         if(X < A){
      |                  ^
Language: C++

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

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <bits/stdc++.h>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:7:9: error: 'cin' was not declared in this scope
    7 |         cin >> x >> a;
      |         ^~~
a.cc:8:20: error: 'cout' was not declared in this scope
    8 |         if (x < a) cout << 0 << endl;
      |                    ^~~~
a.cc:8:33: error: 'endl' was not declared in this scope
    8 |         if (x < a) cout << 0 << endl;
      |                                 ^~~~
a.cc:9:14: error: 'cout' was not declared in this scope
    9 |         else cout << 10 << endl;
      |              ^~~~
a.cc:9:28: error: 'endl' was not declared in this scope
    9 |         else cout << 10 << endl;
      |                            ^~~~
Language: C

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

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

#include <stdio.h>
#include <string.h>
#include <stdbool.h>
#include <stdint.h>
#include <stdlib.h>
#include <limits.h>
#include <math.h>
int acs(const void *a, const void *b) { return *(int *)a - *(int *)b; } /* 1,2,3,4.. */
int des(const void *a, const void *b) { return *(int *)b - *(int *)a; } /* 8,7,6,5.. */
int cmp_char(const void *a, const void *b)
{
  return *(char *)a - *(char *)b;
} /* a,b,c,d.. */
int cmp_str(const void *a, const void *b)
{
  return strcmp(*(const char **)a, *(const char **)b);
} /* aaa,aab.. */
#define min(a, b) (a < b ? a : b)
#define max(a, b) (a > b ? a : b)
#define rep(i, n) for (int i = 0; i < n; i++)

void swap(void)
{
  int tmp;
  tmp = *a;
  *a = *b;
  *b = tmp;
}

int main(void)
{
  int x, a;
  scanf("%d %d", &x, % a);

  printf(x < a ? "0\n" : "10\n");
  return 0;
}


Compiler output:
a.cc: In function 'void swap()':
a.cc:25:10: error: 'a' was not declared in this scope
   25 |   tmp = *a;
      |          ^
a.cc:26:9: error: 'b' was not declared in this scope
   26 |   *a = *b;
      |         ^
a.cc: In function 'int main()':
a.cc:33:22: error: expected primary-expression before '%' token
   33 |   scanf("%d %d", &x, % a);
      |                      ^
Language: C

#include <stdio.h>

int main(void) {

	int A;
	int X;

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

      
  
	return 0;
}
p


Compiler output:
main.c:22:1: error: expected '=', ',', ';', 'asm' or '__attribute__' at end of input
   22 | p
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: expected ';' before ':' token
    7 |   cout<<(x>=a):"10"?"0";
      |               ^
      |               ;
Language: C++

#include <iostream>
using namespace std;

int main(){
    int n,y;
    cin>>x>>y;
    if(x>=y)
        cout<<"10";
        if(x<y)
        cout<<"0";
   return 0;
}



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

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

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

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

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 | int main(){
      | ~~~                 
a.cc: In function 'int main()':
a.cc:8:3: error: expected '}' before 'else'
    8 |   else {
      |   ^~~~
a.cc:6:13: note: to match this '{'
    6 |   if (a < b){
      |             ^
Language: C++

#include <bits/stdc++.h>

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:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout << 0;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:3: error: expected '}' before 'else'
    8 |   else {
      |   ^~~~
a.cc:6:13: note: to match this '{'
    6 |   if (a < b){
      |             ^
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout << 10;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

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

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

  string res = "Good";
  for(int i=0 ; i < 3 ; ++i ){
    if(S[i]==S[i+1]) res ="Bad";
  }
  
  if(X<A) cout << 0 << endl;
  else cout << 10 << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:8: error: 'S' was not declared in this scope
   12 |     if(S[i]==S[i+1]) res ="Bad";
      |        ^
Language: C++

#include <iostream>

int main()
{
    int N, A;
    std::cin >> N >> 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:8:9: error: 'X' was not declared in this scope
    8 |     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:6:10: error: 'x' was not declared in this scope
    6 |   cin >> x >> A;
      |          ^
Language: C++

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

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


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

#include<iostream>
using namespace std;
 
int main(){
  	unsigned int N,X;
	unsigned int SUM = 0;
 
	cin>>N;
  	cin>>X;
  
  	unsigned int L[N];
	for(int i = 1;i <= N; i++){
    	cin >> L[i];
    }
	for(int k = 1;k <= N; k++){
      	SUM += L[i]
          if(SUM > X){
          	cout << (k-1);
            break;
          }
    }
  	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:18: error: 'i' was not declared in this scope
   16 |         SUM += L[i]
      |                  ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  	unsigned int N,X;
	unsigned int SUM = 0;
 
	cin>>N;
  	cin>>X;
  
  	unsigned int L[L];
	for(int i = 1;i <= N; i++){
    	cin >> L[i];
    }
	for(int k = 1;k <= N; k++){
      	SUM += L[i]
          if(SUM > X){
          	cout << (k-1);
            break;
          }
    }
  	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:24: error: 'L' was not declared in this scope
   11 |         unsigned int L[L];
      |                        ^
a.cc:16:18: error: 'i' was not declared in this scope
   16 |         SUM += L[i]
      |                  ^
Language: C++

#include<iostream>
using namespace std;
 
int main(){
  	unsigned int N,X;
	unsigned int SUM = 0;
 
	cin>>N;
  	cin>>X;
  
 	unsigned int[N] L;
	for(int i = 1;i <= N; i++){
    	cin >> L[i];
    }
	for(int k = 1;k <= N; k++){
      	SUM += L[i]
          if(SUM > X){
          	cout << (k-1);
            break;
          }
    }
  	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:21: error: structured binding declaration cannot have type 'unsigned int'
   11 |         unsigned int[N] L;
      |                     ^~~
a.cc:11:21: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:11:22: error: conflicting declaration 'auto N'
   11 |         unsigned int[N] L;
      |                      ^
a.cc:5:22: note: previous declaration as 'unsigned int N'
    5 |         unsigned int N,X;
      |                      ^
a.cc:11:25: error: expected initializer before 'L'
   11 |         unsigned int[N] L;
      |                         ^
a.cc:13:16: error: 'L' was not declared in this scope
   13 |         cin >> L[i];
      |                ^
a.cc:16:16: error: 'L' was not declared in this scope
   16 |         SUM += L[i]
      |                ^
a.cc:16:18: error: 'i' was not declared in this scope
   16 |         SUM += L[i]
      |                  ^
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;
    }
    reutrn 0;
}

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

#pragma GCC optimize("O3")
#include <bits/stdc++.h>

using namespace std;

typedef int64_t  ll;
typedef uint64_t ull;

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: In function 'int main()':
a.cc:12:13: error: 'A' was not declared in this scope
   12 |     if (x < A) cout << "0" << endl;
      |             ^
Language: Java

import java.util.Scanner;
class Main
{
  public static void main(String[] args)
  {
    Scanner sc=new Scaner(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:6: error: cannot find symbol
    Scanner sc=new Scaner(System.in);
                   ^
  symbol:   class Scaner
  location: class Main
1 error
Language: C++

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

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




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

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<(n);i++)
using namespace std;
typedef long long ll;
int main() {
  double w,h,x,y;cin>>w>>h>>x>>y;
  double ans;
  ans = w*h/2;
  cout << ans< << " " ;
  if (w == 2*x && h == 2*y){
    cout << "1";
  }else{
  cout << "0";
  }
  
}



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

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<(n);i++)
using namespace std;
typedef long long ll;
int main() {
  ll w,h,x,y;cin>>w>>h>>x>>y;
  ll ans;
  ans = w*h/2;
  cout << ans< << " " ;
  if (w == 2*x && h == 2*y){
    cout << "1";
  }else{
  cout << "0";
  }
  
}



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

#include<bits/stdc++.h>
#define rep(i,n)for(int i=0;i<(n);i++)
using namespace std;
typedef long long ll;
int main() {
  ll w,h,x,y;cin>>w>>h>>x>>y;
  ll ans;
  ans = w*h/2;
  cout << ans< <" " ;
  if (w == 2*x && h == 2*y){
    cout << "1";
  }else{
  cout << "0";
  }
  
}



Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected primary-expression before '<' token
    9 |   cout << ans< <" " ;
      |                ^
Language: Java

public class Main {

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

}


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

#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std; 
int main(){
  int a,b;
   char g[6];
    cin >> a>>b;
   if(a>=b){
     cout <<10;
}else cout <<0;


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

#include<cmath>
#include<iostream>
#include<algorithm>
using namespace std; 
int main(){
  int a,b;
   char g[6];
    cin >> a>>b;
   if(a>b){
     cout <<10;
}else cout <<0;



Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: expected '}' at end of input
   11 | }else cout <<0;
      |                ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: Java

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

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<iostream>
using namespace std;
 
mmain(){
  int x,a;
  cin >> x >> a;
  if(x<a){
    cout << 0;
  }else{
    cout << 10;
  }
}

Compiler output:
a.cc:4:1: error: ISO C++ forbids declaration of 'mmain' with no type [-fpermissive]
    4 | mmain(){
      | ^~~~~
a.cc: In function 'int mmain()':
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
Language: C++

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

Compiler output:
a.cc:4:1: error: ISO C++ forbids declaration of 'mmain' with no type [-fpermissive]
    4 | mmain(){
      | ^~~~~
a.cc: In function 'int mmain()':
a.cc:5:9: error: expected unqualified-id before ',' token
    5 |   int x,,a;
      |         ^
a.cc:8:14: error: expected ';' before ':' token
    8 |     cout << 0:
      |              ^
      |              ;
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
Language: C++

#include<iostream>
usind namespace std;

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

Compiler output:
a.cc:2:1: error: 'usind' does not name a type
    2 | usind namespace std;
      | ^~~~~
a.cc:4:1: error: ISO C++ forbids declaration of 'mmain' with no type [-fpermissive]
    4 | mmain(){
      | ^~~~~
a.cc: In function 'int mmain()':
a.cc:5:9: error: expected unqualified-id before ',' token
    5 |   int x,,a;
      |         ^
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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     cout << 10;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:1: warning: no return statement in function returning non-void [-Wreturn-type]
   12 | }
      | ^
Language: C++

#include <bits/stdc++>
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:1:10: fatal error: bits/stdc++: No such file or directory
    1 | #include <bits/stdc++>
      |          ^~~~~~~~~~~~~
compilation terminated.
Language: Java


import java.util.*;

class Main{
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);        
        int n = stdIn.nextInt();
        long k = stdIn.nextLong();
        int[] a = new int [n];
        for(int i = 0; i < n ; i++)
            a[i] = stdIn.nextInt();s
        long count = 0;
        long sum = 0;
        int i = 0; int j = 0;
        for(; i < n; i++){
            for(; j < n && sum < k; j++){
               sum += a[j];
            }
               if(sum < k) break;
                   count += n - j + 1;  //for文を出るときに値が1増えたので(n-1)-(j-2)=n-j+1
                   sum -= a[i];
        }  
        System.out.println(count);
    }
}

Compiler output:
Main.java:11: error: not a statement
            a[i] = stdIn.nextInt();s
                                   ^
Main.java:11: error: ';' expected
            a[i] = stdIn.nextInt();s
                                    ^
2 errors
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:11: error: expected ';' before ':' token
   15 |   return 0:
      |           ^
      |           ;
a.cc:15:11: error: expected primary-expression before ':' token
Language: C++

use std::io;

fn main() {
    let (x, a) = {
        let mut input = String::new();
        io::stdin().read_line(&mut input).unwrap();
        let mut input = input.split_whitespace();
        (
            input.next().unwrap().parse::<i32>().unwrap(),
            input.next().unwrap().parse::<i32>().unwrap(),
        )
    };

    if x < a {
        println!("0");
    } else {
        println!("10");
    }
}


Compiler output:
a.cc:1:1: error: 'use' does not name a type
    1 | use std::io;
      | ^~~
a.cc:3:1: error: 'fn' does not name a type
    3 | fn main() {
      | ^~
Language: Java


import java.util.*;

class Main{
    public static void main(String[] args) {
        Scanner stdIn = new Scanner(System.in);        
        double w = stdIn.nextDouble();
        double h = stdIn.nextDouble();
        double x = stdIn.nextDouble();
        double y = stdIn.nextDouble();
        System.out.println(w*h/2 + " "+ x == w/2 && y == h/2 ? 1 : 0);
    }
}

Compiler output:
Main.java:11: error: bad operand types for binary operator '=='
        System.out.println(w*h/2 + " "+ x == w/2 && y == h/2 ? 1 : 0);
                                          ^
  first type:  String
  second type: double
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin >> x >> a;
      |         ^~~
a.cc:5:17: error: 'cout' was not declared in this scope
    5 |                 cout << 10 << endl;
      |                 ^~~~
a.cc:5:31: error: 'endl' was not declared in this scope
    5 |                 cout << 10 << endl;
      |                               ^~~~
a.cc:8:17: error: 'cout' was not declared in this scope
    8 |                 cout << 0 << endl;
      |                 ^~~~
a.cc:8:30: error: 'endl' was not declared in this scope
    8 |                 cout << 0 << endl;
      |                              ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:4:2: error: 'll' was not declared in this scope
    4 |  ll a,b;cin>>a>>b;
      |  ^~
a.cc:4:14: error: 'a' was not declared in this scope
    4 |  ll a,b;cin>>a>>b;
      |              ^
a.cc:4:17: error: 'b' was not declared in this scope
    4 |  ll a,b;cin>>a>>b;
      |                 ^
Language: Java

import java.util.*;

public static void main(String[] args) {

        Scanner parameter = new Scanner(System.in);

        Integer count = 1;

        String[] input1 = parameter.nextLine().split(" ");
        String[] input2 = parameter.nextLine().split(" ");

        String limit = input1[1];

        Integer total = 0;

        for (int i = 0; i < input2.length; i++) {

        	total = total + Integer.valueOf(input2[i]);

        	if (total < Integer.valueOf(limit)) {

        		count = count + 1;
        	} else {

        		break;
        	}
        }

        System.out.println(count);
    }

Compiler output:
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)
1 error
Language: Java

public static void main(String[] args) {

        Scanner parameter = new Scanner(System.in);

        Integer count = 1;

        String[] input1 = parameter.nextLine().split(" ");
        String[] input2 = parameter.nextLine().split(" ");

        String limit = input1[1];

        Integer total = 0;

        for (int i = 0; i < input2.length; i++) {

        	total = total + Integer.valueOf(input2[i]);

        	if (total < Integer.valueOf(limit)) {

        		count = count + 1;
        	} else {

        		break;
        	}
        }

        System.out.println(count);
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args) {
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: Java

java.util.Scanner;

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

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
java.util.Scanner;
^
1 error
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:6:8: error: 'x' was not declared in this scope
    6 |     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";
  else
    cout <<"10";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: expected initializer before 'A'
    4 | int X A;
      |       ^
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;
      |               ^
a.cc:6:8: error: 'x' was not declared in this scope
    6 |     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";
  else
    cout <<"10";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:7: error: expected initializer before 'A'
    4 | int X A;
      |       ^
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
      |               ^
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else
      |   ^~~~
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:4:7: error: expected initializer before 'A'
    4 | int X A;
      |       ^
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
      |               ^
a.cc:8:3: error: 'else' without a previous 'if'
    8 |   else
      |   ^~~~
a.cc:10:11: error: expected ';' before '}' token
   10 |   return 0
      |           ^
      |           ;
   11 | }
      | ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected primary-expression before ';' token
    6 |    cout << 10 <<;
      |                 ^
a.cc:7:5: error: expected '}' before 'else'
    7 |     else
      |     ^~~~
a.cc:5:11: note: to match this '{'
    5 |   if(X>=A){
      |           ^
a.cc:8:19: error: expected primary-expression before ';' token
    8 |       cout << 0 <<;
      |                   ^
Language: Java

import java.util.Scanner;

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

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

import java.util.Scanner;

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

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

import java.util.Scanner;

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

Compiler output:
Main.java:11: error: illegal start of type
	if(a < x){
	^
Main.java:11: error: > or ',' expected
	if(a < x){
	        ^
Main.java:13: error: illegal start of type
	}else{
	 ^
3 errors
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:11: error: illegal start of type
if(a < x){
^
Main.java:11: error: > or ',' expected
if(a < x){
        ^
Main.java:13: error: illegal start of type
}else{
 ^
Main.java:15: error: reached end of file while parsing
}
 ^
4 errors
Language: C++

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

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

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

#include <bits/stdc++.h>
#define fi first
#define se second
using namespace std;
using ll = long long;

int main() {
    ios::sync_with_stdio(0); cin.tie(0);
    int x, a;
    cin >> x >> a;
    cout << (x < a : 0 : 10) << '\n';
}

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

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

Compiler output:
main.c: In function 'main':
main.c:4:16: error: expected ')' before ':' token
    4 |   scanf("%d,%d":&a &x);
      |        ~       ^
      |                )
Language: C

#include<stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:14:5: error: expected declaration or statement at end of input
   14 |     printf("10\n");
      |     ^~~~~~
main.c:14:5: error: expected declaration or statement at end of input
Language: Java

import java.util.Scanner;

public class AtCoder_0130_A {

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

}

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

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:4:9: error: 'cin' was not declared in this scope
    4 |         cin >> x >> a;
      |         ^~~
a.cc:6:17: error: 'cout' was not declared in this scope
    6 |                 cout << 0;
      |                 ^~~~
a.cc:9:17: error: 'cout' was not declared in this scope
    9 |                 cout << 10;
      |                 ^~~~
Language: C++

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

Compiler output:
a.cc:2:1: error: expected unqualified-id before numeric constant
    2 | 3include<stdio.h>
      | ^~~~~~~~
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:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"0"<<endl;
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:16: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |     cout<<"0"<<endl;
      |                ^~~~
      |                std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:10:17: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     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<iostream>
using namespace std;
int main(){
  int X,A;
  cin>>X>>A;
  if(X<0){
    cout<<"0";
  }else{
    cout<<"10";
  return 0;
}

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

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

Compiler output:
a.cc:2:1: error: 'use' does not name a type
    2 | use namespace std;
      | ^~~
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";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"10";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'use' does not name a type
    2 | use namespace std;
      | ^~~
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";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"10";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'use' does not name a type
    2 | use namespace std;
      | ^~~
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";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:3: error: expected '}' before 'else'
    8 |   else{
      |   ^~~~
a.cc:6:10: note: to match this '{'
    6 |   if(X<0){
      |          ^
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"10";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:8: error: expected primary-expression before '>' token
    9 |   if(a=>x)
      |        ^
Language: C

#include <stdio.h>
int main() {
  int X,A;
  cin>>X>>A;
  puts(X<A? "0" : "10");
  return0;
  }

Compiler output:
main.c: In function 'main':
main.c:4:3: error: 'cin' undeclared (first use in this function)
    4 |   cin>>X>>A;
      |   ^~~
main.c:4:3: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:3: error: 'return0' undeclared (first use in this function)
    6 |   return0;
      |   ^~~~~~~
Language: C

#include <bits/stdc++.h>
using namespace std;
int main() {
  int X,A;cin>>X>>A;
  puts(X<A? "0" : "10");
  return0;
  }

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

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

Compiler output:
main.c:1:24: warning: extra tokens at end of #include directive
    1 | #include<bits/stdc++.h>2using namespace std;34int main() {5int X,A;cin>>X>>A;6puts(X<A? "0" : "10");7return0;8}
      |                        ^~~~~~
main.c:1:9: fatal error: bits/stdc++.h: No such file or directory
    1 | #include<bits/stdc++.h>2using namespace std;34int main() {5int X,A;cin>>X>>A;6puts(X<A? "0" : "10");7return0;8}
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
int main(){
  int x,a;
  cin >> x >> a;
  if(x>=a) puts("0");
  else puts("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 >> 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 <stdio.h>
int A, X;

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

Compiler output:
main.c:17:1: error: expected identifier or '(' before '}' token
   17 | }
      | ^
Language: C++

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


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

#include <stdio.h>
 
int main(void)
{
  float X, A;
 
  printf("2つの数値を入力:\n");
  printf("X = ");
  scanf("%f", &a);
  printf("A = ");
  scanf("%f", &b);

  if (X == A){
    printf("10");
  }
  else if (X > A) {
    printf("10");
  }
  else {
    printf("0");
  }
 
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:16: error: 'a' undeclared (first use in this function)
    9 |   scanf("%f", &a);
      |                ^
main.c:9:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:11:16: error: 'b' undeclared (first use in this function)
   11 |   scanf("%f", &b);
      |                ^
Language: C

#include <stdio.h>

int main(void){

    int X,A;
    scanf("%d%d", &X,&A);

    if(X < A){
        printf("0");
    }
    else if(A <= X){
        prinf("10");
    }

    return 0;
}

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

#include<stdio.h>

int main(){
  int X;
  int A;
  
  char buf[256];
  fgets(buf,256,stdin);
  sscanf(buf,"%d %d",&X &A);
  if(X < A){
    printf("0\n");
  }
  else{
    printf("10\n");
  }
  return 0;
}
  

Compiler output:
a.cc: In function 'int main()':
a.cc:9:25: error: invalid operands of types 'int*' and 'int' to binary 'operator&'
    9 |   sscanf(buf,"%d %d",&X &A);
      |                      ~~ ^~
      |                      |   |
      |                      |   int
      |                      int*
Language: C

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

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

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