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

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

//#define int long long
#define fi first
#define se second
#define rep(i,n) for(int i=0;i<(int)(n);++i)
#define rep1(i,n) for(int i=1;i<=(int)(n);++i)
#define rep11(i,n) for(int i=1;i<(int)(n);++i)
#define repo(i,o,n) for(int i=o;i<(int)(n);++i)
#define repm(i,n) for(int i=(int)(n)-1;i>=0;--i)
#define all(v) (v).begin(),(v).end()
#define rall(v) (v).rbegin(),(v).rend()
#define pb(n) push_back(n)
#define mp make_pair
#define MOD 1002000007
#define INF LONG_LONG_MAX

int main(){
    int a,b,c;
    cin>>a>>b>>c;
    if ((a+b+c>=22 ? cout<<'bust'<<endl : cout<<'win'<<endl) ;
}


Compiler output:
a.cc:22:28: warning: multi-character character constant [-Wmultichar]
   22 |     if ((a+b+c>=22 ? cout<<'bust'<<endl : cout<<'win'<<endl) ;
      |                            ^~~~~~
a.cc:22:49: warning: multi-character character constant [-Wmultichar]
   22 |     if ((a+b+c>=22 ? cout<<'bust'<<endl : cout<<'win'<<endl) ;
      |                                                 ^~~~~
a.cc: In function 'int main()':
a.cc:23:1: error: expected primary-expression before '}' token
   23 | }
      | ^
a.cc:22:63: error: expected ')' before '}' token
   22 |     if ((a+b+c>=22 ? cout<<'bust'<<endl : cout<<'win'<<endl) ;
      |        ~                                                      ^
      |                                                               )
   23 | }
      | ~                                                              
a.cc:23:1: error: expected primary-expression before '}' token
   23 | }
      | ^
Language: Java

rt java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		// practice contest

		Scanner sc = new Scanner(System.in);
		int a1 = sc.nextInt();
		int a2 = sc.nextInt();
		int a3 = sc.nextInt();

		int add = a1 + a2 + a3;

		if (add >= 22) {
			System.out.println("bust");
		} else {
			System.out.println("win");
		}

	}
}

Compiler output:
Main.java:1: error: class, interface, enum, or record expected
rt java.util.Scanner;
^
1 error
Language: Java

class Main {
	public static void main(String[] args) {
		// practice contest

		Scanner sc = new Scanner(System.in);
		int a1 = sc.nextInt();
		int a2 = sc.nextInt();
		int a3 = sc.nextInt();

		int add = a1 + a2 + a3;

		if (add >= 22) {
			System.out.println("bust");
		} else {
			System.out.println("win");
		}

	}
}

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

public class Main {
	public static void main(String[] args) {
		// practice contest

		Scanner sc = new Scanner(System.in);
		int a1 = sc.nextInt();
		int a2 = sc.nextInt();
		int a3 = sc.nextInt();

		int add = a1 + a2 + a3;

		if (add >= 22) {
			System.out.println("bust");
		} else {
			System.out.println("win");
		}

	}
}

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

#include<bits/stdc++.h>
using namspace std;
typedef long long int ll;
int main(){
	ll a,b,c;
  cin>>a>>b>>c;
  if(a+b+c >= 22 )cout<<"bust\n";
  else
    cout<<"win\n";

}



Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namspace'
    2 | using namspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b>>c;
      |   ^~~
      |   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:19: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if(a+b+c >= 22 )cout<<"bust\n";
      |                   ^~~~
      |                   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     cout<<"win\n";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

include<bits/stdc++.h>
using namspace std;
typedef long long int ll;
int main(){
	ll a,b,c;
  cin>>a>>b>>c;
  if(a+b+c >= 22 )cout<<"bust\n";
  else
    cout<<"win\n";

}



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:6:3: error: 'cin' was not declared in this scope
    6 |   cin>>a>>b>>c;
      |   ^~~
a.cc:7:19: error: 'cout' was not declared in this scope
    7 |   if(a+b+c >= 22 )cout<<"bust\n";
      |                   ^~~~
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"win\n";
      |     ^~~~
Language: C++

include<bits/stdc++.h>
using namspace std;
int main(){
	ll a,b,c;
  cin>>a>>b>>c;
  if(a+b+c >= 22 )cout<<"bust\n";
  else
    cout<<"win\n";

}



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:4:9: error: 'll' was not declared in this scope
    4 |         ll a,b,c;
      |         ^~
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b>>c;
      |   ^~~
a.cc:5:8: error: 'a' was not declared in this scope
    5 |   cin>>a>>b>>c;
      |        ^
a.cc:5:11: error: 'b' was not declared in this scope
    5 |   cin>>a>>b>>c;
      |           ^
a.cc:5:14: error: 'c' was not declared in this scope
    5 |   cin>>a>>b>>c;
      |              ^
a.cc:6:19: error: 'cout' was not declared in this scope
    6 |   if(a+b+c >= 22 )cout<<"bust\n";
      |                   ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope
    8 |     cout<<"win\n";
      |     ^~~~
Language: Java

public class Main
{
  public static void main(String args[])
  {
    java.util.Scanner sc=new java.util.Scanner(System.in);
    int a=sc.nextInt();
    int b=sc.nextInt();
    int c=sc.nextInt();
  if((a+b+c)>=22)
    printf("bust");
  else
    printf("win");

  }
}

Compiler output:
Main.java:10: error: cannot find symbol
    printf("bust");
    ^
  symbol:   method printf(String)
  location: class Main
Main.java:12: error: cannot find symbol
    printf("win");
    ^
  symbol:   method printf(String)
  location: class Main
2 errors
Language: C

#include<stdio.h>
#include<conio.h>

void main()
{
  int a,b,c;
  scanf("%d %d %d",&a,&b,&c);
  if((a+b+c)>=22)
    printf("bust");
  else
    printf("win");
}

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


#include<Stdio.h>
int main()
{
    int A,B,C;


  while(scanf("%d %d %d",&A,&B,&C)==3)
    if(A+B+C>=22)
    {
        printf("bust");
    }
    else
        printf("win");
}


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

#include <iostream>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if(a+b+c=22)
    cout<<"bust";
  if(a+b+c<22)
    cout<<"bust";
  if(a+b+c>22)
    cout<<"win";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: lvalue required as left operand of assignment
    6 |   if(a+b+c=22)
      |      ~~~^~
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b,c;
  cin>>a>>b>>c;
  if(a+b+c=<22)
    cout<<"bust";
  if(a+b+c>22)
    cout<<"win";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: expected primary-expression before '<' token
    6 |   if(a+b+c=<22)
      |            ^
Language: C++

#include <iostream>
#include <string>
#include <stdio.h>
#include <cmath>
#include <algorithm>
#include <vector>
#include <stdlib.h>

using namespace std;

int main() {
    int a1,a2,a3;
    cin >> a1 >> a2 >> a3;
    if(a1+a2+a3 >= 22) {
        cout << "bust";
    }else {
        cout << "win"
    }
    return 0;
}


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

//defalt
#include<bits/stdc++.h>
using namespace std;
#define int long long
#define double long double
typedef pair<int, int> P_i;
typedef pair<double,double> P_d;
#define rep(i,n) for(int i=0;i<(n);++i)
#define alrep(i,j,n) for(int i=0;i<(n);++i)for(int j=i+1;j<(n);++j)
template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; }
const int MOD=1e9+7;
const long long INF = 1LL << 60


signed main(){
 int a,b,c;
 cin >> a >> b >> c;
 if(a+b+c>=22) cout << "bust" << endl;
 else cout << "win" << endl;

  return 0;
}


Compiler output:
a.cc:16:1: error: expected ',' or ';' before 'signed'
   16 | signed main(){
      | ^~~~~~
Language: C++

#include <iostream>
using namespace std;

int main(){
cin >> a >> b >> c;
  if(a+b+c > 21){
  cout << "bust" << endl;
  }
  else{
  cout << "win" << endl;
  }
}

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

#include <stdio.h>

int main()
{
    int a,b,c,d;
    scanf("%d%d%d",&a,&b,&c);
    d=a+b+c;
    if(d>21){
        printf("win\n%d+%d+%d=%d, so print win.\n")
    }

    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:52: error: expected ';' before '}' token
    9 |         printf("win\n%d+%d+%d=%d, so print win.\n")
      |                                                    ^
      |                                                    ;
   10 |     }
      |     ~
Language: C++

#include<bits/stdc++.h>

using namespace std;

const int N = 1e6+6,M=1e9+7,OO=0x3f3f3f3f;

int n,m,k,dots;
string s;

int main(){
    scanf("%d%d%d",&n,&m,&k);
    if(n+m+k<22)
        printf("win.");
    else
        printf("bust.")
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:24: error: expected ';' before 'return'
   15 |         printf("bust.")
      |                        ^
      |                        ;
   16 |     return 0;
      |     ~~~~~~
Language: C++

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

int main(){
    int A[3];
    for(int i=0;i<3;i++) cin >> A[i];
    if(a[0] + A[1] + A[2] >=22) cout << "bust" << endl;
    else cout << "win" << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: 'a' was not declared in this scope
    7 |     if(a[0] + A[1] + A[2] >=22) cout << "bust" << endl;
      |        ^
Language: C++

#include <bits/stdc++.h>
//#include <boost/multiprecision/cpp_int.hpp>
#define rep(X,N) for(ll X = 0; X < (N); X++)
#define PI (acos(-1.0))
#define pback push_back
#define mpair make_pair
#define MODN 100000
0007
#define ALL(V) (V).begin(),(V).end()

typedef long long ll;

using namespace std;
//using namespace boost::multiprecision;


int main(){

    int v[3];

    cin >> v[0] >> v[1] >> v[2];

    if(v[0] + v[1] + v[2] >= 22){
        cout << "bust" << endl;
    }else{
        cout << "win" << endl;
    }

    return 0;
}

Compiler output:
a.cc:8:1: error: expected unqualified-id before numeric constant
    8 | 0007
      | ^~~~
Language: C++

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

int main(){
	int a,b,c;
  	cin >> a >> b >> c;
  	
  	if(a+b+c >= 22){
    	cout << 'bust' << endl;	
    }else{
    	cout << 'win' << endl;
    }
}

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

#include <stdio.h>
#include <stdlib.h>

int main()
{
int A1,A2,A3;
int result;
scanf("%d%d%d",&A1&A2&A3);
result=A1+A2+A3;
if(x>=22){
    printf("bust");
    
}
else {
    printf("win");
}


    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:19: error: invalid operands to binary & (have 'int *' and 'int')
    8 | scanf("%d%d%d",&A1&A2&A3);
      |                ~~~^
      |                |
      |                int *
main.c:10:4: error: 'x' undeclared (first use in this function)
   10 | if(x>=22){
      |    ^
main.c:10:4: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include <stdio.h>
#include <stdlib.h>

int main()
{
    int A1,A2,A3;
    scanf("%d%d%d",&A1,&A2,&A3);
    if(A1>=1&&A2>=1&&A3>=1&&A1=<13&&A2=<13&&A3=<13){
    if(A1+A2+A3>=22)
    {
        printf("bust");
    }
    else
        printf("win");
    }
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:32: error: expected expression before '<' token
    8 |     if(A1>=1&&A2>=1&&A3>=1&&A1=<13&&A2=<13&&A3=<13){
      |                                ^
Language: C

#include <stdio.h>
#include <stdlib.h>

int main()
{   int a1,a2,a3;
    printf("enter the three number btween 13 and 1");
    scanf("%d%d%d",&a1,&a2,&a3);
    if(){
        if(a1+a2+a3>=22)
            printf("bust");
        else printf("win");

    }else
        printf("enter value btween 1 and 13");
    return 0;
}


Compiler output:
main.c: In function 'main':
main.c:8:8: error: expected expression before ')' token
    8 |     if(){
      |        ^
Language: C

# include<stdio.h>
Main(void){
int A1,A2,A3;
scanf("%d",&A1);
scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }
return 0;}


Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | Main(void){
      | ^~~~
Language: C

# include<stdio.h>
Main(){
int A1,A2,A3;
scanf("%d",&A1);
scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }
return 0;}


Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | Main(){
      | ^~~~
Language: C

# include<stdio.h>
Main(){
int A1,A2,A3;
scanf("%d",&A1);
scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }}


Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | Main(){
      | ^~~~
Language: C

# include<stdio.h>
Main(0){
int A1,A2,A3;
scanf("%d",&A1);
scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }}


Compiler output:
main.c:2:6: error: expected declaration specifiers or '...' before numeric constant
    2 | Main(0){
      |      ^
Language: C

# include<stdio.h>
Main(void){
int A1,A2,A3;
scanf("%d",&A1);
scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | Main(void){
      | ^~~~
Language: C

# include<stdio.h>
Main(void){
int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }}

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | Main(void){
      | ^~~~
main.c: In function 'Main':
main.c:4:1: error: implicit declaration of function 'Scanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | Scanf("%d",&A1);
      | ^~~~~
      | scanf
Language: C

# include<stdio.h>
int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22){
printf("bust");
}else{
printf("win"); }

Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | Scanf("%d",&A1);
      |       ^~~~
main.c:3:12: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d",&A1);
      |            ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | Scanf("%d%d",&A2,&A3);
      |       ^~~~~~
main.c:4:14: error: expected declaration specifiers or '...' before '&' token
    4 | Scanf("%d%d",&A2,&A3);
      |              ^
main.c:4:18: error: expected declaration specifiers or '...' before '&' token
    4 | Scanf("%d%d",&A2,&A3);
      |                  ^
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(A1+A2+A3>=22){
      | ^~
main.c:7:2: error: expected identifier or '(' before 'else'
    7 | }else{
      |  ^~~~
Language: C

#include<stdio.h>
int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); 

Compiler output:
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | Scanf("%d",&A1);
      |       ^~~~
main.c:3:12: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d",&A1);
      |            ^
main.c:4:7: error: expected declaration specifiers or '...' before string constant
    4 | Scanf("%d%d",&A2,&A3);
      |       ^~~~~~
main.c:4:14: error: expected declaration specifiers or '...' before '&' token
    4 | Scanf("%d%d",&A2,&A3);
      |              ^
main.c:4:18: error: expected declaration specifiers or '...' before '&' token
    4 | Scanf("%d%d",&A2,&A3);
      |                  ^
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(A1+A2+A3>=22)
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else
      | ^~~~
Language: C

#include<stdio.h>
#include<stdio.h>
main()
{
int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); 
}

Compiler output:
main.c:3:1: error: return type defaults to 'int' [-Wimplicit-int]
    3 | main()
      | ^~~~
main.c: In function 'main':
main.c:6:1: error: implicit declaration of function 'Scanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    6 | Scanf("%d",&A1);
      | ^~~~~
      | scanf
Language: C++

#include<iostream>
using namespace std;
intmain(){
int a;
int b;
int c;
cin>>a;
cin>>b;
cin>>c;
if(a+b+c>=22)
cout<<"bust";
else
cout<<"win";
return 0;}

Compiler output:
a.cc:3:1: error: ISO C++ forbids declaration of 'intmain' with no type [-fpermissive]
    3 | intmain(){
      | ^~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main(){
int a;
int b;
int c;
cin>>a;
cin>>b;
cin>>c;
if(a+b+c>=22)
cout<<"bust";
else
cout<<"win";
return 0}

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

#include<stdio.h>
main;
{int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); }


Compiler output:
main.c:2:1: warning: data definition has no type or storage class
    2 | main;
      | ^~~~
main.c:2:1: error: type defaults to 'int' in declaration of 'main' [-Wimplicit-int]
main.c:3:1: error: expected identifier or '(' before '{' token
    3 | {int A1,A2,A3;
      | ^
Language: C

#include<stdio.h>
main
{int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); }

Compiler output:
main.c:3:1: error: expected '=', ',', ';', 'asm' or '__attribute__' before '{' token
    3 | {int A1,A2,A3;
      | ^
Language: C

#include<stdio.h>
main(void)
{int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); }

Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main(void)
      | ^~~~
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'Scanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | Scanf("%d",&A1);
      | ^~~~~
      | scanf
Language: Java

String fun(int a,int b, int c)
{
if(a+b+c>=22)
return "bust";
else
return "win";
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
String fun(int a,int b, int c)
^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

#include<stdio.h>
main()
{int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); }


Compiler output:
main.c:2:1: error: return type defaults to 'int' [-Wimplicit-int]
    2 | main()
      | ^~~~
main.c: In function 'main':
main.c:4:1: error: implicit declaration of function 'Scanf'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    4 | Scanf("%d",&A1);
      | ^~~~~
      | scanf
Language: C

#include<stdio.h>
main{int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); }

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

int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22):
printf("bust");
else:
printf("win"); 

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | Scanf("%d",&A1);
      |       ^~~~
main.c:2:12: error: expected declaration specifiers or '...' before '&' token
    2 | Scanf("%d",&A1);
      |            ^
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | Scanf("%d%d",&A2,&A3);
      |       ^~~~~~
main.c:3:14: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d%d",&A2,&A3);
      |              ^
main.c:3:18: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d%d",&A2,&A3);
      |                  ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if(A1+A2+A3>=22):
      | ^~
main.c:6:1: error: expected identifier or '(' before 'else'
    6 | else:
      | ^~~~
Language: Java

public class Main {
    public static void main(String[] args) {
        Scanner scanner = new Scanner(System.in);
        int A1 = scanner.nextInt();
        int A2 = scanner.nextInt();
        int A3 = scanner.nextInt();
        Black(A1,A2,A3);

    }
    public static void Black(int A1, int A2, int A3){
        if(A1 + A2 + A3 >= 22)
            System.out.println("bust");
        else System.out.println("win");
    }
}

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

int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("bust");
else
printf("win"); 

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | Scanf("%d",&A1);
      |       ^~~~
main.c:2:12: error: expected declaration specifiers or '...' before '&' token
    2 | Scanf("%d",&A1);
      |            ^
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | Scanf("%d%d",&A2,&A3);
      |       ^~~~~~
main.c:3:14: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d%d",&A2,&A3);
      |              ^
main.c:3:18: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d%d",&A2,&A3);
      |                  ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if(A1+A2+A3>=22)
      | ^~
main.c:6:1: error: expected identifier or '(' before 'else'
    6 | else
      | ^~~~
Language: C

int A1,A2,A3;
Scanf("%d",&A1);
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("Bust");
else
printf("Win"); 

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | Scanf("%d",&A1);
      |       ^~~~
main.c:2:12: error: expected declaration specifiers or '...' before '&' token
    2 | Scanf("%d",&A1);
      |            ^
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | Scanf("%d%d",&A2,&A3);
      |       ^~~~~~
main.c:3:14: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d%d",&A2,&A3);
      |              ^
main.c:3:18: error: expected declaration specifiers or '...' before '&' token
    3 | Scanf("%d%d",&A2,&A3);
      |                  ^
main.c:4:1: error: expected identifier or '(' before 'if'
    4 | if(A1+A2+A3>=22)
      | ^~
main.c:6:1: error: expected identifier or '(' before 'else'
    6 | else
      | ^~~~
Language: Java

public static void Black(int A1, int A2, int A3){
        if(A1 + A2 + A3 >= 22)
            System.out.println("bust");
        else System.out.println("win");
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void Black(int A1, int A2, int A3){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C++

#include <iostream>

using namespace std;

int main()
{
    int i,n,j,sum;
    cin>>i>>n>>j;
    sum = i + n+j;
    if(sum =< 22)
        cout<<"bust";
    else
        cout<<"win";
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:13: error: expected primary-expression before '<' token
   10 |     if(sum =< 22)
      |             ^
Language: C++

#include <iostream>

using namespace std;

int main()
{
    int i,n,j;
    cin>>i>>n>>j;
    sum = i + n+j;
    if(sum == 21)
        cout<<"win";
    else
        cout<<"bust";
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'sum' was not declared in this scope
    9 |     sum = i + n+j;
      |     ^~~
Language: C

int A1,A2,A3;
Scanf("%d",&A1);
if(1<=A1<=13)
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("Bust");
else
printf("Win"); 

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | Scanf("%d",&A1);
      |       ^~~~
main.c:2:12: error: expected declaration specifiers or '...' before '&' token
    2 | Scanf("%d",&A1);
      |            ^
main.c:3:1: error: expected identifier or '(' before 'if'
    3 | if(1<=A1<=13)
      | ^~
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(A1+A2+A3>=22)
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else
      | ^~~~
Language: C

int A1,A2,A3;
Scanf("%d",&A1);
if(1<A=1<=13)
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("Bust");
else
printf("Win"); 

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | Scanf("%d",&A1);
      |       ^~~~
main.c:2:12: error: expected declaration specifiers or '...' before '&' token
    2 | Scanf("%d",&A1);
      |            ^
main.c:3:1: error: expected identifier or '(' before 'if'
    3 | if(1<A=1<=13)
      | ^~
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(A1+A2+A3>=22)
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else
      | ^~~~
Language: C

int A1,A2,A3;
Scanf("%d",&A1);
if(1<A1<13)
Scanf("%d%d",&A2,&A3);
if(A1+A2+A3>=22)
printf("Bust");
else
printf("Win"); 

Compiler output:
main.c:2:7: error: expected declaration specifiers or '...' before string constant
    2 | Scanf("%d",&A1);
      |       ^~~~
main.c:2:12: error: expected declaration specifiers or '...' before '&' token
    2 | Scanf("%d",&A1);
      |            ^
main.c:3:1: error: expected identifier or '(' before 'if'
    3 | if(1<A1<13)
      | ^~
main.c:5:1: error: expected identifier or '(' before 'if'
    5 | if(A1+A2+A3>=22)
      | ^~
main.c:7:1: error: expected identifier or '(' before 'else'
    7 | else
      | ^~~~
Language: C

int x,y,z;
printf("enter the frist digit\n");
scanf("%d",&x);
printf("enter the second digit\n");
scanf("%d",&y);
printf("enter the third digit\n");
scanf("%d",&z);
if(x+y+z >=22)
printf("bust");
else
printf("win");



Compiler output:
main.c:2:8: error: expected declaration specifiers or '...' before string constant
    2 | printf("enter the frist digit\n");
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:3:7: error: expected declaration specifiers or '...' before string constant
    3 | scanf("%d",&x);
      |       ^~~~
main.c:3:12: error: expected declaration specifiers or '...' before '&' token
    3 | scanf("%d",&x);
      |            ^
main.c:4:8: error: expected declaration specifiers or '...' before string constant
    4 | printf("enter the second digit\n");
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~~
main.c:5:7: error: expected declaration specifiers or '...' before string constant
    5 | scanf("%d",&y);
      |       ^~~~
main.c:5:12: error: expected declaration specifiers or '...' before '&' token
    5 | scanf("%d",&y);
      |            ^
main.c:6:8: error: expected declaration specifiers or '...' before string constant
    6 | printf("enter the third digit\n");
      |        ^~~~~~~~~~~~~~~~~~~~~~~~~
main.c:7:7: error: expected declaration specifiers or '...' before string constant
    7 | scanf("%d",&z);
      |       ^~~~
main.c:7:12: error: expected declaration specifiers or '...' before '&' token
    7 | scanf("%d",&z);
      |            ^
main.c:8:1: error: expected identifier or '(' before 'if'
    8 | if(x+y+z >=22)
      | ^~
main.c:10:1: error: expected identifier or '(' before 'else'
   10 | else
      | ^~~~
Language: Java

import java.util.*;
public class Main {
	public static void main(String[] args){
    	Sccanner sc = new Sccanner();
      	int A1 = sc.nextInt();
      	int A2 = sc.nextInt();
      	int A3 = sc.nextInt();
		if((A1 + A2 + A3) <= 21) {
        	System.out.print("win");
        }else{
        	System.out.print("bust");
        }
    }
}

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

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

int main() {
	int a1,a2,a3;
	cin >> a1 >> a2 >> a3;
	string k = 'win'	;
	if(a1 + a2 + a3	 >= 22)
	{
		k = 'bust';
	}
    cout << k << endl;
}


Compiler output:
a.cc:7:20: warning: multi-character character constant [-Wmultichar]
    7 |         string k = 'win'        ;
      |                    ^~~~~
a.cc:10:21: warning: multi-character character constant [-Wmultichar]
   10 |                 k = 'bust';
      |                     ^~~~~~
a.cc: In function 'int main()':
a.cc:7:20: error: conversion from 'int' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    7 |         string k = 'win'        ;
      |                    ^~~~~
a.cc:10:21: warning: overflow in conversion from 'int' to 'char' changes value from '1651864436' to '116' [-Woverflow]
   10 |                 k = 'bust';
      |                     ^~~~~~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int mod = 1e9 + 7;
const int inf = (1 << 30) - 1;
const ll infll = (1LL << 61) - 1;

int main()
{
    int a, b, c;
    cin >> a >> b >> c;
    if (a + b + c >= 22)
        cout << "bust\n";
    else
        cout << "win\n"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:24: error: expected ';' before '}' token
   15 |         cout << "win\n"
      |                        ^
      |                        ;
   16 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
using ll = long long;
const int mod = 1e9 + 7;
@ const int inf = (1 << 30) - 1;
const ll infll = (1LL << 61) - 1;

int main()
{
    int a, b, c;
    cin >> a >> b >> c;
    if (a + b + c >= 22)
        cout << "bust\n";
    else
        cout << "win\n"
}

Compiler output:
a.cc:5:1: error: stray '@' in program
    5 | @ const int inf = (1 << 30) - 1;
      | ^
a.cc: In function 'int main()':
a.cc:15:24: error: expected ';' before '}' token
   15 |         cout << "win\n"
      |                        ^
      |                        ;
   16 | }
      | ~
Language: C++

#include <bits/stdc++.h>

using namespace std;

#ifdef DGC
#include "debug.h"
#else
#define debug(...) 9715
#endif
typedef long long ll;
typedef long double ld;
typedef complex<double> point;
#define F first
#define S second



int main()
{
	#ifdef DGC
		//freopen("a.in", "r", stdin);
		//freopen("b.out", "w", stdout);
	#endif

	ios_base::sync_with_stdio(0), cin.tie(0);

	vector<int> a(3);
	for (auto &i : a) cin >> i;
	if (accumulate(a.begin(), a.end()) >= 22)
		cout << "bust\n";
	else
		cout << "win\n";

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:29:23: error: no matching function for call to 'accumulate(std::vector<int>::iterator, std::vector<int>::iterator)'
   29 |         if (accumulate(a.begin(), a.end()) >= 22)
      |             ~~~~~~~~~~^~~~~~~~~~~~~~~~~~~~
In file included from /usr/include/c++/14/numeric:62,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:58,
                 from a.cc:1:
/usr/include/c++/14/bits/stl_numeric.h:134:5: note: candidate: 'template<class _InputIterator, class _Tp> _Tp std::accumulate(_InputIterator, _InputIterator, _Tp)'
  134 |     accumulate(_InputIterator __first, _InputIterator __last, _Tp __init)
      |     ^~~~~~~~~~
/usr/include/c++/14/bits/stl_numeric.h:134:5: note:   candidate expects 3 arguments, 2 provided
/usr/include/c++/14/bits/stl_numeric.h:161:5: note: candidate: 'template<class _InputIterator, class _Tp, class _BinaryOperation> _Tp std::accumulate(_InputIterator, _InputIterator, _Tp, _BinaryOperation)'
  161 |     accumulate(_InputIterator __first, _InputIterator __last, _Tp __init,
      |     ^~~~~~~~~~
/usr/include/c++/14/bits/stl_numeric.h:161:5: note:   candidate expects 4 arguments, 2 provided
Language: C++

int main() {
	int A,  B, C;
	cin >> a1 >> a2 >> a3;
	
	if (a1+a2+a3 <= 21){
		cout << "win" << endl;
	}
	else {
		cout << "bust" << endl;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:3:9: error: 'cin' was not declared in this scope
    3 |         cin >> a1 >> a2 >> a3;
      |         ^~~
a.cc:3:16: error: 'a1' was not declared in this scope
    3 |         cin >> a1 >> a2 >> a3;
      |                ^~
a.cc:3:22: error: 'a2' was not declared in this scope
    3 |         cin >> a1 >> a2 >> a3;
      |                      ^~
a.cc:3:28: error: 'a3' was not declared in this scope
    3 |         cin >> a1 >> a2 >> a3;
      |                            ^~
a.cc:6:17: error: 'cout' was not declared in this scope
    6 |                 cout << "win" << endl;
      |                 ^~~~
a.cc:6:34: error: 'endl' was not declared in this scope
    6 |                 cout << "win" << endl;
      |                                  ^~~~
a.cc:9:17: error: 'cout' was not declared in this scope
    9 |                 cout << "bust" << endl;
      |                 ^~~~
a.cc:9:35: error: 'endl' was not declared in this scope
    9 |                 cout << "bust" << endl;
      |                                   ^~~~
Language: C++

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

int main(){
  int a, b, c;
  cin>>a>>b>>c;
  int ans=a+b+c;
  
  if(ans<22) cout<<"win";
  else cout<<"bust";
  
  return 0; 
}

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

#include<bits/stdc++.h>
using namespace std;
constexpr int64_t mod=1e9+7;

int main()
{
  int a,b,c;
  cin>>a>.b>>c;
  cout<<((a+b+c>21)?"bust":"win")<<endl; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected primary-expression before '.' token
    8 |   cin>>a>.b>>c;
      |          ^
Language: Java

import java.util.*;
import java.util.function.*;
public class Main {
  public static void main(String[] args) {
    long mod = 10*9 + 7;
    Scanner sc = new Scanner(System.in);
    int N = sc.nextInt();
    long[] A = new long[N];
    for (int i = 0; i < N; i++) {
      A[i] = sc.nextLong();
    }
    long ans = 0;
    for (int i = 0; i < 60; i++) {
        long c = 0;
        for (int j = 0; j < N; j++){
            if (((A[j] >>> i) & 1) == 1){
                c++; // 1の物をカウント
            }
        }
        long a = (c * (N - c)) % m; //0の数*1の数=合計カウント数
        for (int j = 0; j < i; j++){
          　a = (a << 1) % m; //桁を繰り上げて元に戻す
        }
        ans += a;
        ans %= m;
    }
    System.out.println(ans);
  }
}

Compiler output:
Main.java:22: error: illegal character: '\u3000'
          ?a = (a << 1) % m; //???????????
          ^
1 error
Language: C++

#include <stdio.h>

int main(void)
{
	int a1,a2,a3;
	
	scanf("%d %d %d",&a1,&a2,&a3);
	if(a1+a2+a3=<21){
		printf("win");
	}else{
		printf("bust");
	}
	
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected primary-expression before '<' token
    8 |         if(a1+a2+a3=<21){
      |                     ^
Language: Java

import java.util.Scanner;

public class Main1 {
	

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A1 = sc.nextInt();
		int A2 = sc.nextInt();
		int A3 = sc.nextInt();
		System.out.println(A1+A2+A3>21 ? "bust":"win");
	}	
}


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

public class Main{

public static void main(String[] args){

		int A1;
  	int A2;
  int A3;
  
  Scanner sc=new Scanner(System.in);
  
  A1=sc.nextInt();
  A2=sc.nextInt();
  A3=sc.nextInt();
  
  if(A1+A2+A3 >= 22)
    System.out.println("bust");
  else
    System.out.println("win");
  		
	}
}

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

#include <iostream)>

int main() {
  	int a,b,c;
  	std::cin >> a >> b >> c;
  
  	if(a + b + c >= 22) {
		std::cout << "bust";
    } else {
      	std::cout << "win";
    }
	return 0;
}

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

#include <iostream)>

int main() {
  	int a,b,c;
  	std::cin >> a >> b >> c;
  	if(a + b + c >= 22) {
		std::cout << "bust" << std::endl;
    } else {
      	std::cout << "win" << std::endl;
    }
	return 0;
}

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

#include <iostream)>

int main() {
  	int a,b,c;
  	std::cin >> a >> b >> c;
  	if(a + b + c >= 22) {
		std::cout << "bust" << std::endl;
    } else {
      	std:: cout << "win" << std::endl;
    }
	return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b,c;
  cin >> a >> b >> c;
  if (a+b+C>=22){
    cout<<"bust"<<endl;
  }
  else{
    cout<<"win"<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: 'C' was not declared in this scope
    7 |   if (a+b+C>=22){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  int sum=a+b+c;
  if(sum>=22)
  {
    cout<<"bust\n';
  }
  else
  {
    cout<<"win\n";
  }
  return 0;
}

Compiler output:
a.cc:10:11: warning: missing terminating " character
   10 |     cout<<"bust\n';
      |           ^
a.cc:10:11: error: missing terminating " character
   10 |     cout<<"bust\n';
      |           ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:11:3: error: expected primary-expression before '}' token
   11 |   }
      |   ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int a1;
    cin >> a1;
  	int a2;
    cin >> a2;
    int a3;
    cin >> a3;
  
    if((a1+a2+a3) <= 21) 
      cout << "win" << endl;
    else
      cout << "bust" << endl;
 
    return 0
}

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

#include<iostream>
//using namespace std;
int main()
{
    int a1;
    std：：cin >> a1;
  	int a2;
    std::cin >> a2;
    int a3;
    std::cin >> a3;
  
    if((a1+a2+a3) <= 22) 
      std::cout << "win" << std::endl;
    else
      std::cout << "bust" << std::endl;
 
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'std\U0000ff1a\U0000ff1acin' was not declared in this scope
    6 |     std：：cin >> a1;
      |     ^~~~~~~~~~
Language: C++

#include<iostream>
//using namespace std;
int main()
{
    int a1;
    std：：cin >> a1;
  	int a2:
    std::cin >> a2;
    int a3;
    std::cin >> a3;
  
    if(a1+a2+a3 <= 22) 
      std::cout << "win" << std::endl;
    else
      std::cout << "bust" << std::endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'std\U0000ff1a\U0000ff1acin' was not declared in this scope
    6 |     std：：cin >> a1;
      |     ^~~~~~~~~~
a.cc:7:15: error: found ':' in nested-name-specifier, expected '::'
    7 |         int a2:
      |               ^
      |               ::
a.cc:7:13: error: 'a2' has not been declared
    7 |         int a2:
      |             ^~
a.cc:8:14: error: qualified-id in declaration before '>>' token
    8 |     std::cin >> a2;
      |              ^~
a.cc:12:11: error: 'a2' was not declared in this scope; did you mean 'a3'?
   12 |     if(a1+a2+a3 <= 22)
      |           ^~
      |           a3
Language: C

#include<stdio.h>
#include<stdlib.h>
#include <string.h>

int main() {
	int a[101];
scanf("%s",a);

int len=strlen(s);

int count =0;

if (len % 2 == 0) {
        for (int i = 0; i < len / 2; i++) {
            if (s[i] != s[len - 1 - i]){
                count++;}
        }
    } else {
        for (int i = 0; i < (len - 1) / 2; i++) {
            if (s[i] != s[len - 1 - i]) {
                count++;
            }
        }
    }
    printf("%d", count);
	return 0;}

Compiler output:
main.c: In function 'main':
main.c:9:16: error: 's' undeclared (first use in this function)
    9 | int len=strlen(s);
      |                ^
main.c:9:16: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

import sys
input = sys.stdin.readline
sys.setrecursionlimit(10 ** 7)

a1, a2, a3 = map(int, input().split())
s = a1 + a2 + a3

if s >= 22:
    print('bust')
else:
    print('win')

Compiler output:
a.cc:9:11: warning: multi-character character constant [-Wmultichar]
    9 |     print('bust')
      |           ^~~~~~
a.cc:11:11: warning: multi-character character constant [-Wmultichar]
   11 |     print('win')
      |           ^~~~~
a.cc:1:1: error: 'import' does not name a type
    1 | import sys
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(ll i=0; i<n; i++)
typedef long long ll;
typedef long long unsigned int llu;
ll MOD = 1000000007;
ll INF = 1000000009;

void solve(){

    int a,b,c;
    cin >> a >> b >> c;
    string s="win";
    if(a+b+c>=22) s = "bust";
    print(s);

}

int main(){
  cin.tie(0);
  ios::sync_with_stdio(false);
  solve();
  return 0;
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:15:5: error: 'print' was not declared in this scope; did you mean 'rint'?
   15 |     print(s);
      |     ^~~~~
      |     rint
Language: C

#include<stdio.h>
int main()
{
  int a[3]
  scanf("%d",&a[0]);
  scanf("%d",&a[1]);
  scanf("%d",&a[2]);
  if((a[0]+a[1]+a[2])>=22)
  {
    printf("bust");
  }
  else
  {
    printf("win");
  }
  return 0;
}


Compiler output:
main.c: In function 'main':
main.c:5:3: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    5 |   scanf("%d",&a[0]);
      |   ^~~~~
main.c:5:15: error: 'a' undeclared (first use in this function)
    5 |   scanf("%d",&a[0]);
      |               ^
main.c:5:15: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include <bits/stdsc++.h>

using namespace std;

int main()
{
  int a1,a2,a3;
  cin>>a1>>a2>>a3;
  if(a1+a2+a3>=22)cout<<"bust"<<endl;
  else cout<<"win"<<endl;
  
  return 0;
  
}

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b,c;
  cin >> a >> b >> c; 
  if(a+b+c > =  22)
    cout << "bust" << endl;
else
    cout << "win" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:14: error: expected primary-expression before '=' token
    7 |   if(a+b+c > =  22)
      |              ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int a,b,c;
  cin >> a >> b >> c; 
  if(a+b+c => 22)
    cout << "bust" << endl;
else
    cout << "win" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: expected primary-expression before '>' token
    7 |   if(a+b+c => 22)
      |             ^
Language: Java

import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    
    int a =new.nextInt();
     int b = new.nextInt();
     int c = new.nextInt();
    if(a+b+c>21){
      System.out.println("bust");
    }else{
      System.out.println("win");
    }
  }
}

Compiler output:
Main.java:6: error: <identifier> expected
    int a =new.nextInt();
              ^
Main.java:7: error: <identifier> expected
     int b = new.nextInt();
                ^
Main.java:8: error: <identifier> expected
     int c = new.nextInt();
                ^
3 errors
Language: C++

#include<iostream>
using namespace std;

int main(){
  
  long long int a,b,c;
  cin>>a>>b>>c;
  if(a+b+c>=22)
  	cout<<"bust"<<endl;
  else
    cout<<"win"<<endl;

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

#include<iostream>
using namespace std;
int main()
{
  int a,b,c
    cin>>a;
  cin>>b;
  cin>>c;
  if(a+b+c>=22)
  cout<<"bust";
  else
    cout<<"win";
  return 0;
}

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

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


Compiler output:
a.cc:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
Language: C++

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

int main() {

  int A,B,C;
  string result;
  cin>>A>>B>>C;
	if(A+B+C>22){result = "bust";}
  else{result = "win"}
	cout<<result<<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected ';' before '}' token
   10 |   else{result = "win"}
      |                      ^
      |                      ;