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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected ';' before '>=' token
    7 |   for(int X>=0;X<=9;X++)
      |            ^~
      |            ;
a.cc:7:12: error: expected primary-expression before '>=' token
    7 |   for(int X>=0;X<=9;X++)
      |            ^~
a.cc:7:20: error: expected ')' before ';' token
    7 |   for(int X>=0;X<=9;X++)
      |      ~             ^
      |                    )
a.cc:7:24: error: expected ';' before ')' token
    7 |   for(int X>=0;X<=9;X++)
      |                        ^
      |                        ;
a.cc:8:24: error: expected ';' before ')' token
    8 |   for(int A>=0;A<=9;A++)
      |                        ^
      |                        ;
a.cc:12:3: error: 'print' was not declared in this scope; did you mean 'rint'?
   12 |   print 10;
      |   ^~~~~
      |   rint
Language: Java

import java.util.*;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int W = Integer.parseInt(scan.next());
        int H = Integer.parseInt(scan.next());
        int x = Integer.parseInt(scan.next());
        int y = Integer.parseInt(scan.next());
        if (W > H) {
            if (Math.min(x,W-x)*H<Math.min(y,H-y)*W && y != H / 2 ) {
                System.out.println(Math.min(y,H-y)*W + " " + 0);
            } else if(Math.min(x,W-x)*H>Math.min(y,H-y)*W && x != W / 2 ) {
                System.out.println(Math.min(x,W-x)*H + " " + 0);
            } else if(Math.min(x,W-x)*H>Math.min(y,H-y)*W && x == W / 2 ) {
                System.out.println(Math.min(x,W-x)*H + " " + 1);
            } else if (Math.min(x,W-x)*H<Math.min(y,H-y)*W && y == H / 2 ) {
                System.out.println(Math.min(y,H-y)*W + " " + 1);
            }
    }
}


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

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>X>>A;
      |   ^~~
a.cc:7:7: 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<iostream>
using namespace std;
int main(){
  int X,A;
  cin>>X>>A;
    if(X<A){
      cout>>0;
    }
  else{
    cout<<10;
  }
return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>X>>A;
      |   ^~~
a.cc:7:7: 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<iostream>
using namespace std;

double main(void)
{
	int x, y, w, h;
	double s;
	cin >> w;
	cin >> h;
	cin >> x;
	cin >> y;

	if (w == h)
	{
		if (x == y)
		{
			if (x == w / 2)
			{
				s = w / 2 * h;
				cout << s << endl;
				cout << 0;
			}
			else
			{
				s = w / 2 * h;
				cout << s << endl;
				cout << 1;
			}
		}
		else
		{
			s = w / 2 * h;
			cout << s << endl;
			cout << 1;
		}
	}
	else
	{
		s = w / 2 * h;
		cout << s << endl;
		cout << 1;
	}

}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | double main(void)
      | ^~~~~~
Language: C++

#include<iostream>
using namespace std;

double main()
{
	int x, y, w, h;
	double s;
	cin >> w;
	cin >> h;
	cin >> x;
	cin >> y;

	if (w == h)
	{
		if (x == y)
		{
			if (x == w / 2)
			{
				s = w / 2 * h;
				cout << s << endl;
				cout << 0;
			}
			else
			{
				s = w / 2 * h;
				cout << s << endl;
				cout << 1;
			}
		}
		else
		{
			s = w / 2 * h;
			cout << s << endl;
			cout << 1;
		}
	}
	else
	{
		s = w / 2 * h;
		cout << s << endl;
		cout << 1;
	}

}

Compiler output:
a.cc:4:1: error: '::main' must return 'int'
    4 | double main()
      | ^~~~~~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>X>>A;
      |   ^~~
a.cc:7:7: 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;
      |     ^~~~
a.cc: At global scope:
a.cc:13:1: error: expected unqualified-id before 'return'
   13 | return 0;
      | ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

#include<bits/stdc++.h>
#define fi first
#define se second
#define pb push_back
#define ll long long
using namespace std;
const int inf=1e9;
const int mod=1e9+7;
const int maxn=1e5+10;
const double eps=1e-10;
vector<double>q;
bool cmp(double a,double b){
	return a>b;
}
int main(){
	//ios::sync_with_stdio(false);
	//freopen("in","r",stdin);
	double w,h,x,y;
	cin>>w>>h>>x>>y;
	double x1=w/2,y1=h/2;
	if(x==0&&y==0){
		printf("%.9f %d\n",w*h/2,0);
		return 0;				
	}
	if(x==w&&y==h){
		printf("%.9f %d\n",w*h/2,0);
		return 0;			
	}
	if(fabs(x-x1)<eps&&(y-y1)<eps){
		printf("%.9f %d\n",w*h/2,1);
		return 0;
	}
	if(fabs(x-x1)<eps){
		printf("%.9f %d\n",w*h/2,0);
		return 0;
	}
	if(fabs(y-y1)<eps){
		printf("%.9f %d\n",w*h/2,0);
		return 0;		
	}
	double k=(y1-y)/(x1-x);
	double ri=k*(w-x1)+y1;
	double down=-y1/k+x1;
	double tb=k*(-x1)+y1;
	double le=(h-y1)/k+x1;
	double ans;
		if(y<y1){
			if(x<y1){
				ans=min((down+up)*h/2,(2*w-down-up)*h/2);
			}else{
				ans=min((down+up)*h/2,(2*w-down-up)*h/2);
			}
		}else{
			ans=min((le+ri)*w/2,(2*h-le-ri)*w/2);
		}
	printf("%.9f %d\n",ans,0);
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:49:47: error: 'up' was not declared in this scope; did you mean 'dup'?
   49 |                                 ans=min((down+up)*h/2,(2*w-down-up)*h/2);
      |                                               ^~
      |                                               dup
a.cc:51:47: error: 'up' was not declared in this scope; did you mean 'dup'?
   51 |                                 ans=min((down+up)*h/2,(2*w-down-up)*h/2);
      |                                               ^~
      |                                               dup
Language: C++

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

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

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin<<X<<A;
      |   ^~~
a.cc:7:7: 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;
      |     ^~~~
a.cc: At global scope:
a.cc:13:1: error: expected unqualified-id before 'return'
   13 | return 0;
      | ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:5:3: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    5 |   gets("%d",x);
      |   ^~~~
      |   fgets
main.c:7:9: error: expected expression before '>' token
    7 |   if (x=>y);
      |         ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin<<X<<A;
      |   ^~~
a.cc:6:8: error: 'x' was not declared in this scope
    6 |     if(x<A){
      |        ^
a.cc:7:7: 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;
      |     ^~~~
a.cc: At global scope:
a.cc:13:1: error: expected unqualified-id before 'return'
   13 | return 0;
      | ^~~~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:5:3: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    5 |   gets(%d,x);
      |   ^~~~
      |   fgets
main.c:5:8: error: expected expression before '%' token
    5 |   gets(%d,x);
      |        ^
main.c:6:8: error: expected expression before '%' token
    6 |   gets(%d,y);
      |        ^
main.c:7:8: error: expected expression before '>' token
    7 |   if(x=>y);
      |        ^
Language: C++

#include <iostream>
#include <vector>

using namespace std;

int main(){
    int N;
    long long K;
    cin >> N >> K;
    vector<int> arrS(N);
    for (int i = 0; i < N; ++i) cin >> arrS[i];


    int right = 0;
    int cnt = 0;
    long long sum_ = 0;
    for(int left = 0; left < N; ++left){
        while(right < N && sum_ + arrS[right] < K){
            sum_ += arrS[right];
            ++right;

        }
        cnt += (right - left);

        if(left == right) ++right;
        else sum_ -= arrS[left];
    }

    cnt_ = 0
    for(int i = 0; i < N; i++) cnt_ += i;

    cout << cnt_ - cnt << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:29:5: error: 'cnt_' was not declared in this scope; did you mean 'cnt'?
   29 |     cnt_ = 0
      |     ^~~~
      |     cnt
a.cc:30:20: error: 'i' was not declared in this scope
   30 |     for(int i = 0; i < N; i++) cnt_ += i;
      |                    ^
Language: C

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:4:8: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    4 |   int x.y ;
      |        ^
main.c:4:8: error: expected expression before '.' token
main.c:5:3: error: implicit declaration of function 'gets'; did you mean 'fgets'? [-Wimplicit-function-declaration]
    5 |   gets("%d",x);
      |   ^~~~
      |   fgets
main.c:5:13: error: 'x' undeclared (first use in this function)
    5 |   gets("%d",x);
      |             ^
main.c:5:13: note: each undeclared identifier is reported only once for each function it appears in
main.c:6:13: error: 'y' undeclared (first use in this function)
    6 |   gets("%d",y);
      |             ^
main.c:7:9: error: expected expression before '>' token
    7 |   if (x=>y);
      |         ^
Language: C++

#include <iostream>
using namespase 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:7: error: expected nested-name-specifier before 'namespase'
    2 | using namespase std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |     cin >> x >> a;
      |     ^~~
      |     std::cin
In file included from 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:9:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |         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:9:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |         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:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << 10 << endl;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:11:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |         cout << 10 << endl;
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

include<iostream>
using namespace ;
int main(){
  int X,A;
  scanf>>X>>A;
  if(X<A){
    print<<0;
  }
  else{
    print<<10;
  }
  return 0;
}

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'scanf' was not declared in this scope
    5 |   scanf>>X>>A;
      |   ^~~~~
a.cc:7:5: error: 'print' was not declared in this scope; did you mean 'int'?
    7 |     print<<0;
      |     ^~~~~
      |     int
a.cc:10:5: error: 'print' was not declared in this scope; did you mean 'int'?
   10 |     print<<10;
      |     ^~~~~
      |     int
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:6:9: error: expected primary-expression before 'int'
    6 |         int x,a;
      |         ^~~
a.cc:6:9: error: expected '}' before 'int'
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
a.cc:7:5: error: 'cin' does not name a type
    7 |     cin>>x>>a;
      |     ^~~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(x<a)     cout<<0<<endl;
      |     ^~
a.cc:9:5: error: expected unqualified-id before 'else'
    9 |     else        cout<<10<<endl;
      |     ^~~~
a.cc:10:9: error: expected unqualified-id before 'return'
   10 |         return 0;
      |         ^~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>X>>A;
      |   ^~~
a.cc: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

#inclue<stdio.h>

int main() {
 char input[10];
 scanf("%s", input);
 int x = input[0] - '0';
 int a = input[3] - '0';
  if (x < a) {
    printf("%d", 0);
  } else {
    printf("%d", 10);
  }
 return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclue; did you mean #include?
    1 | #inclue<stdio.h>
      |  ^~~~~~
      |  include
main.c: In function 'main':
main.c:5:2: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |  scanf("%s", input);
      |  ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclue<stdio.h>
main.c:5:2: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |  scanf("%s", input);
      |  ^~~~~
main.c:5:2: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:9:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 |     printf("%d", 0);
      |     ^~~~~~
main.c:9:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:9:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:11:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   11 |     printf("%d", 10);
      |     ^~~~~~
main.c:11:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C

#include <stdio.h>

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


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

int main(void) {
	int x,a;
	scanf("%d",&x);
	scanf("%d",&a);
	if(x<a)
	  printf("%d",0);
	else 
	  printf("%d",10);
	// your code goes here
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'scanf' was not declared in this scope
    3 |         scanf("%d",&x);
      |         ^~~~~
a.cc:6:11: error: 'printf' was not declared in this scope
    6 |           printf("%d",0);
      |           ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | int main(void) {
a.cc:8:11: error: 'printf' was not declared in this scope
    8 |           printf("%d",10);
      |           ^~~~~~
a.cc:8:11: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: C

#include<stdio.h>

int f(int x, int a){
   0<=x<=9;
   0<=a<=9;
   if (x<a) 
     return 0;
   else 
     return 10;
}

int main(void)
{
  int X,A;
  printf("Xを入力してください\n");
  scanf("%d", &X);
  printf("Aを入力してください\n")
  scanf("%d", &A);
  printf("f(X,A)=%d \n", f(X,A));
  return 0;
}
  

Compiler output:
main.c: In function 'main':
main.c:17:34: error: expected ';' before 'scanf'
   17 |   printf("Aを入力してください\n")
      |                                  ^
      |                                  ;
   18 |   scanf("%d", &A);
      |   ~~~~~
Language: C++

i#nclude <stdio.h>

int main(void) {
	int x,a;
	scanf("%d",&x);
	scanf("%d",&a);
	if(x<a)
	  printf("%d",0);
	else 
	  printf("%d",10);
	// your code goes here
	return 0;
}

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | i#nclude <stdio.h>
      |  ^
a.cc:1:1: error: 'i' does not name a type
    1 | i#nclude <stdio.h>
      | ^
Language: C++

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

int main() {
  float W;
  float H;
  float x;
  float y;
  float S;
  bool judge = 0;
  cin >> W;
  cin >> H;
  cin >> x;
  cin >> y;
  if(W/2 == x && H/2 == y)
  {judge = 1;}
  S = W*H/2
  cout << S << " "<< judge <<endl;
  
}



Compiler output:
a.cc: In function 'int main()':
a.cc:17:12: error: expected ';' before 'cout'
   17 |   S = W*H/2
      |            ^
      |            ;
   18 |   cout << S << " "<< judge <<endl;
      |   ~~~~
Language: C

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


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

#include <iostream>

using namespace std;

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

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

#include <iostream>
#include <stdio.h>
#include <stdlib.h>
using namespace std;

int main(){
    double w, h, x, y;
    cin >> w >> h >> x >> y;

    printf("%f ",w*h/2);


    if (x == w/2 && y == h/2) cout << "1\n";
    else if ((x == 0 || x == w) && (y == 0 || y == h)) cout << "0\n";
    else if (x == w/2 && (y == 0 || y == h/2)) cout << "0\n";
    else if (y == h/2 && (x == 0 || x == w/2)) cout << "0\n";
    else if (x == w/2 || y == h/2)  cout << "1\n";
    else cout << "1\n";

    return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:20:14: error: expected '}' at end of input
   20 |     return 0;
      |              ^
a.cc:6:11: note: to match this '{'
    6 | int main(){
      |           ^
Language: Java

package app;

import java.util.*;

public class Rounding {

    private static final int _0 = 0;
    private static final int _10 = 10;

    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);
        }

        sc.close();
    }
} 

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

#include<iostream>
#include<vector>

int CountBound(int N,int X,std::vector<int> L);

int main()
{
    int N,X;
    std::cin>> N >>X;
    
    int input;
    int i=0;
    int L[100];
    while(std::cin>>input){
        L[i]==input;
        i++;
    }
    std::cout << CountBound(N,X,L);
    return 0;
}

int CountBound(int N,int X,int *L){
    int boundCount = 0;
    int D = 0;
    while(D<=X){
        D += L[boundCount];
        boundCount++;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:18:33: error: could not convert '(int*)(& L)' from 'int*' to 'std::vector<int>'
   18 |     std::cout << CountBound(N,X,L);
      |                                 ^
      |                                 |
      |                                 int*
a.cc: In function 'int CountBound(int, int, int*)':
a.cc:29:1: warning: no return statement in function returning non-void [-Wreturn-type]
   29 | }
      | ^
Language: C++

// This file is a "Hello, world!" in C++ language by GCC for wandbox.
#include <iostream>
#include <cstdlib>
using namespace std;
int main()
{   
   int a,x;
    cin>>a>>x;
    if(x<a){
    cout<<0<<endl;
    }else if(x>=a){
    cout<<10<<endl;
    }
 }
 
    
    
}

// GCC reference:
//   https://gcc.gnu.org/

// C++ language references:
//   https://cppreference.com/
//   https://isocpp.org/
//   http://www.open-std.org/jtc1/sc22/wg21/

// Boost libraries references:
//   https://www.boost.org/doc/



Compiler output:
a.cc:18:1: error: expected declaration before '}' token
   18 | }
      | ^
Language: C++

include <bits/stdc++.h>
using namespace std;
int main(){
  int a,x;
  cin>>x>>a;
  if(a<x)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:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>x>>a;
      |   ^~~
a.cc:6:10: error: 'cout' was not declared in this scope
    6 |   if(a<x)cout<<"0"<<endl;
      |          ^~~~
a.cc:6:21: error: 'endl' was not declared in this scope
    6 |   if(a<x)cout<<"0"<<endl;
      |                     ^~~~
a.cc:7:8: error: 'cout' was not declared in this scope
    7 |   else cout<<"10"<<endl;
      |        ^~~~
a.cc:7:20: error: 'endl' was not declared in this scope
    7 |   else cout<<"10"<<endl;
      |                    ^~~~
Language: C++

#include<iostream>
#include<vector>

int CountBound(int N,int X,std::vector<int> L);

int main()
{
    int N,X;
    std::cin>> N >>X;
    
    int input;
    int i=0;
    std::vector<int> L(100);
    while(std::cin>>input){
        L[i]==input;
        i++;
    }
    std::cout << CountBound(N,X,L);
    return 0;
}

int CountBound(int N,int X,std::vector<int> L){
    int Dbef = 0;
    int Dnow = 0;
    int count = 1;
    D.push_back(0);
    while(Dnow<=X){
        Dbef = Dnow;
        Dnow += L[count];
        count++;
    }
    return count;
}

Compiler output:
a.cc: In function 'int CountBound(int, int, std::vector<int>)':
a.cc:26:5: error: 'D' was not declared in this scope
   26 |     D.push_back(0);
      |     ^
Language: C++

#include <iostream>
using namespace std;
int main(){
  int n,x,d=0,l;
  cin>>n>>x;
  int i;
  for(i=1;i<=n;++i){
    cin>>l;
    d+=l;
    if (d>x){
      break
    }
  };
  cout<<i;
  return 0;
}

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

#include <iostream>
using namespace std;
int main(){
  int n,x,d=0,l;
  cin>>n>>x;
  for(int i=1;i<=n;++i){
    cin>>l;
    d+=l;
    if (d>x){
      break
    }
  };
  cout<<i;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: expected ';' before '}' token
   10 |       break
      |            ^
      |            ;
   11 |     }
      |     ~       
a.cc:13:9: error: 'i' was not declared in this scope
   13 |   cout<<i;
      |         ^
Language: C++

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

int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    int a,x;
    cin >> x >>a;
    if(a>n)
    cout<<"0"<<endl;
    else
    cout<<"10"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: 'n' was not declared in this scope
   10 |     if(a>n)
      |          ^
Language: C

#include<stdio.h>
#define N 100
 
int main(){
int n,x,l[N],d[N-1];
  int i,j,cnt;
  
  scanf("%d%d",&n,&x);
  for(i=0;i<n;i++){
    scanf("%d",l[i]);
    d[i+1]=d[i]+l[i];
  }
  
  
  for(j=0;j<n;j++){
    if(d[i+1]<=x) cnt++
  }
  
  printf("%d",cnt);
 
 
return 0;
}

Compiler output:
main.c: In function 'main':
main.c:16:24: error: expected ';' before '}' token
   16 |     if(d[i+1]<=x) cnt++
      |                        ^
      |                        ;
   17 |   }
      |   ~
Language: C

#include<stdio.h>
#define N 100
 
int main(){
int n,x,l[N],d[N-1];
  int i,j,cnt;
  
  scanf("%d%d",&n,&x);
  for(i=0;i<n;i++){
    scanf("%d",l[i]);
    d[i+1]=d[i]+l[i];
  }
  
  
  for(j=0;j<n;j++){
    if(d[i+1]<=x) cnt++;
  }
  
  printf("%d",cnt);
 
 
return 0;


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


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


Compiler output:
main.c:2:1: error: expected identifier or '(' before '}' token
    2 | }
      | ^
Language: Java

package concurso;

import java.util.Scanner;

public class Rounding {

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


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

package concurso;

import java.util.Scanner;

public class rounding {

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


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

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

#define f first
#define s second
#define endl "\n"
#define pb push_back
#define  oo 0x3f3f3f3f
#define limit 1000000007
#define two pair<int,int>
#define int long long int
#define mod(x,m) ((x%m+m)%m)
#define all(v) v.begin(),v.end()
#define max3(x,y,z) max(x,max(y,z))
#define min3(x,y,z) min(x,min(y,z))
#define fori(x,n) for(int i = x; i < n; i++)
#define forj(y,m) for(int j = y; j < m; j++)
#define fork(z,p) for(int k = z; k < p; k++)
#define fastio std::ios::sync_with_stdio(false)
#define watch(x) cout << (#x) << " is " << (x) << "\n"
#define input_from_file  freopen("input.txt", "r", stdin);

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

#define f first
#define s second
#define endl "\n"
#define pb push_back
#define  oo 0x3f3f3f3f
#define limit 1000000007
#define two pair<int,int>
#define int long long int
#define mod(x,m) ((x%m+m)%m)
#define all(v) v.begin(),v.end()
#define max3(x,y,z) max(x,max(y,z))
#define min3(x,y,z) min(x,min(y,z))
#define fori(x,n) for(int i = x; i < n; i++)
#define forj(y,m) for(int j = y; j < m; j++)
#define fork(z,p) for(int k = z; k < p; k++)
#define fastio std::ios::sync_with_stdio(false)
#define watch(x) cout << (#x) << " is " << (x) << "\n"
#define input_from_file  freopen("input.txt", "r", stdin);

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


Compiler output:
a.cc:51:8: error: redefinition of 'int main()'
   51 | signed main(){
      |        ^~~~
a.cc:23:8: note: 'int main()' previously defined here
   23 | signed main(){
      |        ^~~~
Language: C++

#/*
	AUTHOR:shivam51
	IIESTS
*/
#include<bits/stdc++.h>
using namespace std;
//
typedef long long ll;
#define add accumulate
// #define ll long long int
#define ff first
#define ss second
// typedef second ss;
#define pb push_back
#define mp make_pair
#define vll vector<ll>
#define lb lower_bound
#define ub upper_bound
#define pll pair<ll,ll>
#define vpll vector<pll>
#define lcm(ll a , ll b) ((a)*(b))/__gcd((a),(b))
#define all(v) v.begin(), v.end()
#define rep(i,k,n) for(int i=k;i<n;i++)
#define hs ios_base::sync_with_stdio(false);cin.tie(NULL);
const ll mod=1e9+7;
const ll MAX=3e6+10;
// using lcm(a,b) (a*b)/__gcd((a),(b)) ;
//
//
// ll lcm(ll a,ll b){
	// return (a*b)/__gcd(a,b);
// }
	void solve(){
		ll n;
		cin>>n;
		ll ans=0;
		for(int i=n;i>=max(1ll,n-10);i--)
		// int i=n;
			for(int j=n;j>=max(1ll,n-10);j--)
				for(int k=n;k>=max(1ll,n-10);k--)
					ans=max(ans,(ll)lcm(i,lcm(j,k)));
		cout<<ans;
	}
	int main(){ 
			 ll t;
			 // cin>>t;
			 t=1;
			 rep(i,1,t+1){
				// cout<<"Case #"<<i<<": ";
				 solve();
			 }
			 return 0;
	} 

Compiler output:
a.cc:21:16: error: expected ',' or ')', found "a"
   21 | #define lcm(ll a , ll b) ((a)*(b))/__gcd((a),(b))
      |                ^
Language: C++

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

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

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

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(){
      | ^~~~
main.c: In function 'main':
main.c:25:6: error: 'theend' undeclared (first use in this function)
   25 |   lp:theend;
      |      ^~~~~~
main.c:25:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:3: error: label 'theend' used but not defined
   16 |   goto theend;
      |   ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:25:6: error: 'theend' undeclared (first use in this function)
   25 |   lp:theend;
      |      ^~~~~~
main.c:25:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:3: error: label 'theend' used but not defined
   16 |   goto theend;
      |   ^~~~
Language: C++

#include <bits/stdc++.h> 
using namespace std;
int main(){
  int i,n,l[102],m,s;
  cin>>n>>m;
  for(i=0;i<n;i++)
    cin>>l[i];
  for(i=0;i<n;i++){
    s+=l[i];
    if(s>m) brek;
  }
  cout<<i+1;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: 'brek' was not declared in this scope; did you mean 'brk'?
   10 |     if(s>m) brek;
      |             ^~~~
      |             brk
Language: C++

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected ';' before 'if'
    7 |   cin >> A
      |           ^
      |           ;
    8 | 
    9 |   if (X < A) {
      |   ~~       
a.cc:12:3: error: 'else' without a previous 'if'
   12 |   else {
      |   ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:5:13: error: invalid operands to binary & (have 'char *' and 'int')
    5 |   scanf("%d"&X);
      |         ~~~~^
      |         |
      |         char *
main.c:6:13: error: invalid operands to binary & (have 'char *' and 'int')
    6 |   scanf("%d"&A);
      |         ~~~~^
      |         |
      |         char *
main.c:25:6: error: 'theend' undeclared (first use in this function)
   25 |   lp:theend;
      |      ^~~~~~
main.c:25:6: note: each undeclared identifier is reported only once for each function it appears in
main.c:16:3: error: label 'theend' used but not defined
   16 |   goto theend;
      |   ^~~~
Language: C++

#include<iostream>
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:9: error: 'B' was not declared in this scope
    6 |   if(a>=B)
      |         ^
Language: C++

#include <iostream>
using namespace std;
int main ()
{
    int X ;
    int 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:9:11: error: expected primary-expression before '>' token
    9 |     if(X => A){
      |           ^
Language: C++

#include<stdio.h>

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


Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main()
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:10: error: 'cin' is not a member of 'std'
    6 |     std::cin>>x>>a;
      |          ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include<stdio.h>
  +++ |+#include <iostream>
    2 | 
a.cc:8:14: error: 'cout' is not a member of 'std'
    8 |         std::cout<<0;
      |              ^~~~
a.cc:8:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:14: error: 'cout' is not a member of 'std'
   10 |         std::cout<<10;
      |              ^~~~
a.cc:10:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'manespace'
    2 | using manespace 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>>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:6:9: error: 'B' was not declared in this scope
    6 |   if(a>=B)
      |         ^
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     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:7:15: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     cout<<10<<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:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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:9:14: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout<<0<<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>
int main(void)
{
  int X,A;
  0<=X<=9;
  0<=A<=9;
  
  scanf("%d%d",&X,&A)__attribute__ ((__warn_unused_result__));
  
  if(X<A)
    printf("%dは%d未満であるので、0を出力してください。\n",X,A);
  
  else
    printf("%dは%d以上であるので、10を出力してください。\n",X,A);
  
  return 0;


Compiler output:
main.c: In function 'main':
main.c:8:22: error: expected ';' before '__attribute__'
    8 |   scanf("%d%d",&X,&A)__attribute__ ((__warn_unused_result__));
      |                      ^~~~~~~~~~~~~
      |                      ;
main.c:16:3: error: expected declaration or statement at end of input
   16 |   return 0;
      |   ^~~~~~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin<<X<<A;
      |   ^~~
a.cc: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 void main()
{
    int x,a;
    std::cin>>x>>a;
    if(x<a){
        std::cout<<0;
    }else{
        std::cout<<10;
    }
}

Compiler output:
a.cc:3:1: error: two or more data types in declaration of 'main'
    3 | int void main()
      | ^~~
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 ;
      |            ^
a.cc:8:11: error: expected primary-expression before '>' token
    8 |     if(X => A){
      |           ^
Language: C++

#include<stdio.h>

int void main(int argc,char argc[])
{
    int x,a;
    std::cin>>x>>a;
    if(x<a){
        std::cout<<0;
    }else{
        std::cout<<10;
    }
}

Compiler output:
a.cc:3:29: error: conflicting declaration 'char* argc'
    3 | int void main(int argc,char argc[])
      |                        ~~~~~^~~~~~
a.cc:3:19: note: previous declaration as 'int argc'
    3 | int void main(int argc,char argc[])
      |               ~~~~^~~~
a.cc:3:1: error: two or more data types in declaration of 'main'
    3 | int void main(int argc,char argc[])
      | ^~~
Language: C

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

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

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

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

int void main(int argc,char argc[])
{
    int x,a;
    std::cin>>x>>a;
    if(x<a){
        std::cout<<0;
    }else{
        std::cout<<10;
    }
}

Compiler output:
a.cc:2:9: fatal error: iostream.h: No such file or directory
    2 | #include<iostream.h>
      |         ^~~~~~~~~~~~
compilation terminated.
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 <stdio.h>
int main{
  int x,a;
  scanf("%d %d", &x, &a);
  if(x<a){
    printf("0");
  } else {
    printf("10");
  }
  return 0;
}


Compiler output:
main.c:2:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    2 | int main{
      |         ^
Language: C++

int64 X,A;
cin>>X>>A;
if(X<A) cout<<0<<endl;
else cout<<10<<endl

Compiler output:
a.cc:1:1: error: 'int64' does not name a type; did you mean 'int'?
    1 | int64 X,A;
      | ^~~~~
      | int
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>>X>>A;
      | ^~~
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if(X<A) cout<<0<<endl;
      | ^~
a.cc:4:1: error: expected unqualified-id before 'else'
    4 | else cout<<10<<endl
      | ^~~~
Language: C

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

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

package concurso;

import java.util.Scanner;

public class rounding {

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

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

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

Compiler output:
main.c: In function 'main':
main.c:5:16: error: 'X' undeclared (first use in this function)
    5 | scanf("%d %d",&X,&A);
      |                ^
main.c:5:16: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:19: error: 'A' undeclared (first use in this function)
    5 | scanf("%d %d",&X,&A);
      |                   ^
main.c:7:9: error: implicit declaration of function 'ptintf'; did you mean 'printf'? [-Wimplicit-function-declaration]
    7 |         ptintf("0");
      |         ^~~~~~
      |         printf
Language: Java

package program_beginner_2.abc130;

import java.io.BufferedReader;
import java.io.InputStreamReader;


public class Main_A {
    public static void main(String[] args) {
        Main_A main = new Main_A();
        main.solve(args);
    }

    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);
        }
        
        // ビジネスロジックここまで

    }

    private class MyScanner {
        String[] s;
        int i;
        BufferedReader br;
        String reg = " ";
        MyScanner () {
            s = new String[0];
            i = 0;
            br = new BufferedReader(new InputStreamReader(System.in));
        }
        public String next() {
            try {
                if (i < s.length) return s[i++];
                String line = br.readLine();
                while (line.equals("")) {line = br.readLine();}
                s = line.split(reg, 0);
                i = 0;return s[i++];
            } catch (Exception e) {e.printStackTrace();}
            return null;
        }
        public int nextInt() {
            try {return Integer.parseInt(next());} catch (Exception e) {e.printStackTrace();}
            return -1;
        }
        public double nextDouble() {
            try {return Double.parseDouble(next());} catch (Exception e) {e.printStackTrace();}
            return -1;
        }
        public long nextLong()  {
            try {return Long.parseLong(next());} catch (Exception e) {e.printStackTrace();}
            return -1;
        }
    }
}


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

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

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