criyle/codenet-compile-errors huggingface dataset:
Language: Java

import java.util.*;
public exercise{
   public static void main(String[] args){
      int A1,A2,A3;
      
     System.out.println("Enter the value of A1: ");
     System.out.println("Enter the value of A2: ");
     System.out.println("Enter the value of A3: ");
     if(A1+A2+A3<=22){
      System.out.println("bust");
     }
     else
     {
      System.out.println("win");
     }
   }
}


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

import java.io.*;

public class Main {
	public static void main(String[] args) {
try (BufferedReader in =
 new BufferedReader(new InputStreamReader(System.in))) {
String line = in.readLine();
String[] params = line.split(" ");
int a1 = Integer.parseInt(params[0]);
int a2 = Integer.parseInt(params[1]);
int a3 = Integer.parseInt(params[2]);

int sum = a1 + a2 + a3;
if (sum >= 22) {
	System.out.println("bust");
} else {
	System.out.println("win");
}
}
	}
}


Compiler output:
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
try (BufferedReader in =
                    ^
  exception thrown from implicit call to close() on resource variable 'in'
Main.java:7: error: unreported exception IOException; must be caught or declared to be thrown
String line = in.readLine();
                         ^
2 errors
Language: C++

#include<bitsstdc++.h>
using namespace std;
int main(){
	int n,m,k;
  cin>>n>>m>>k;
  if(n+m+k==22)puts("bust");
  else puts("win");
  return 0;
}

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

#include<bits\stdc++.h>
using namespace std;
int main()
{
    int A1,A2,A3,s;
    cin>>A1>>A2>>A3;
    s=A1+A2+A3;
    if(s>=22)
        cout<<"bust"<<endl;
    else
        cout<<"win"<<endl;
}


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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:14: error: expected primary-expression before '>=' token
    8 |     if(a+b+c)>=22{cout << "bust"<<endl;}
      |              ^~
a.cc:9:14: error: expected primary-expression before '<=' token
    9 |     if(a+b+c)<=21{cout << "win"<<endl;}
      |              ^~
Language: Java

//package atCoder;

import java.util.Scanner;

public class BlackJack {

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

}


Compiler output:
Main.java:5: error: class BlackJack is public, should be declared in a file named BlackJack.java
public class BlackJack {
       ^
1 error
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";
  else cout<<"win";
  return 0;
}

Compiler output:
a.cc:2:20: error: expected ';' before 'int'
    2 | using namespace std
      |                    ^
      |                    ;
    3 |   int main()
      |   ~~~
Language: C

#include<stdio.h>
#include<conio.h>
main(){
  int A1;
  int A2;
  int A3;
  int result;
printf("Enter A1, A2, A3:");
  scanf("%d",&A1);
  scanf("%d",&A2);
  scanf("%d",&A3);
  result = A1+A2+A3;
  if(result>=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: Java

import java.util.*;
public exercise{
   public static void main(String[] args){
      int A1,A2,A3;
      
     System.out.println("Enter the value of A1: ");
     System.out.println("Enter the value of A2: ");
     System.out.println("Enter the value of A3: ");
     if(A1+A2+A3==22){
      System.out.println("bust");
     }
     else
     {
      System.out.println("win");
     }
   }
}

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

#include<stdio.h>
#include<conio.h>
main(){
  int A1;
  int A2;
  int A3;
  int result;
printf("Enter A1, A2, A3:");
  scanf("%d",&A1);
  scanf("%d",&A2);
  scanf("%d",&A3);
  result = A1+A2+A3;
  if(result>=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<bits/stdc++.h>
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:4:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |   cin>>A1>>A2>>A3;
      |   ^~~
      |   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:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     cout<<"bust";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout<<"win";
      |     ^~~~
      |     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<stdio.h>
int main(void){
  int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  if(a+b+c>=22)
    printf("bust\n");
  else
    printf("win");
  return0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:3: error: 'return0' was not declared in this scope
    9 |   return0;
      |   ^~~~~~~
Language: C++


#include <bits/stdc++.h>
using namespace std;
namespace skentagon::util{}
using namespace skentagon::util;

typedef long long ll;
#define rep(i,n) for( ll (i)=0; (i)<(n); ++(i) )
#define rpi(i,n) for( int (i)=0; (i)<(n); ++(i) )
#define rpv(d) for(auto& v:d)
#if __cplusplus < 201703L
  std::ostream& co_(){ return std::cout << std::endl; }
  std::istream& cn_(){ return std::cin; }
  template<class Head, class... Args>
  std::ostream& co_( Head&& head, Args&&... args ){ std::cout << head; return co_(std::forward<Args>(args)...); }
  template<class Head, class... Args>
  std::istream& cn_( Head&& head, Args&&... args ){ std::cin >> head; return cn_(std::forward<Args>(args)...); }
#else
  template<class... Args>
  std::ostream& co_( Args... args ){ return std::cout << ... << args << std::endl; }
  template<class... Args>
  std::istream& cn_( Args... args ){ return std::cin >> ... >> args; }
#endif
#define co(...) co_(__VA_ARGS__);
#define cn(...) cn_(__VA_ARGS__);
#define all(x) (x).begin(), (x).end()
#define rgt(x,i) (x).begin(), (x).begin()+(i)

int main(){
  int a,b,c;cn(a,b,c)
  if (a+b+c<22){
    puts("win");
  }else{
    puts("bust");
  }
}

Compiler output:
a.cc: In function 'std::ostream& co_(Args ...)':
a.cc:20:54: error: expected ';' before '<<' token
   20 |   std::ostream& co_( Args... args ){ return std::cout << ... << args << std::endl; }
      |                                                      ^~~
      |                                                      ;
a.cc:20:55: error: expected primary-expression before '<<' token
   20 |   std::ostream& co_( Args... args ){ return std::cout << ... << args << std::endl; }
      |                                                       ^~
a.cc: In function 'std::istream& cn_(Args ...)':
a.cc:22:53: error: expected ';' before '>>' token
   22 |   std::istream& cn_( Args... args ){ return std::cin >> ... >> args; }
      |                                                     ^~~
      |                                                     ;
a.cc:22:54: error: expected primary-expression before '>>' token
   22 |   std::istream& cn_( Args... args ){ return std::cin >> ... >> args; }
      |                                                      ^~
Language: Java

public class Main {
	public static void main(String[] args) {
try (BufferedReader in =
 new BufferedReader(new InputStreamReader(System.in))) {
String line = in.readLine();
String[] params = line.split(" ");
int a1 = Integer.parseInt(params[0]);
int a2 = Integer.parseInt(params[1]);
int a3 = Integer.parseInt(params[2]);

int sum = a1 + a2 + a3;
if (sum >= 22) {
	System.out.println("bust");
} else {
	System.out.println("win");
}
}
	}
}



Compiler output:
Main.java:3: error: cannot find symbol
try (BufferedReader in =
     ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
 new BufferedReader(new InputStreamReader(System.in))) {
     ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
 new BufferedReader(new InputStreamReader(System.in))) {
                        ^
  symbol:   class InputStreamReader
  location: class Main
3 errors
Language: C++

#include<iostream>
 
void main(void){
  int i = 0;
  int n;
  for (int j = 0; j < 3; j++){
      scanf("%d", &n);
      i += n;
  }
  if (i >= 22) printf("bust");
  else printf("win");
  
  return;
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void){
      | ^~~~
a.cc: In function 'int main()':
a.cc:13:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   13 |   return;
      |   ^~~~~~
Language: C++

#include"bits/stdc++.h"
#include<boost/multi_array.hpp>
#include<boost/optional.hpp>
#include<boost/range/irange.hpp>
#include<boost/range/algorithm.hpp>
#include<boost/range/adaptors.hpp>
using namespace std;
namespace adaptor = boost::adaptors;

#define rep(i,n) for(int (i)=0;(i)<(n);(i)++)
#define rep3(i,m,n) for(int (i)=m;(i)<=(n);(i)++)
#define rep3rev(i,m,n) for(int (i)=m;(i)>=(n);(i)--)
#define cy cout << "Yes" << endl
#define cn cout << "No" << endl
typedef long long ll;

void Main()
{
	int a1, a2, a3;
  	cin a1 >> a2 >> a3;
  	if(a1+a2+a3>=21){puts("bust");}
	else{puts("win");}
  return;
}

int main()
{
	cin.tie(nullptr);
	ios_base::sync_with_stdio(false);
	cout << fixed << setprecision(15);
	Main();
	return 0;
}

Compiler output:
a.cc:2:9: fatal error: boost/multi_array.hpp: No such file or directory
    2 | #include<boost/multi_array.hpp>
      |         ^~~~~~~~~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

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


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

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


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

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

#define Mset(s, n)      memset(s, n, sizeof(s))
#define All(a)          (a).begin(), (a).end()
#define Lwb             lower_bound
#define Upb             upper_bound
#define Sz(a)           int((a).size())
#define Exist(a, b)     (find(All(a), (b)) != (a).end())
#define Sort(x)         sort(All(x))
#define Gsort(x)        sort(All(x), greater<typeof(*((x).begin()))>())
#define Unique(v)       Sort(v); (v).resize(unique(ALL(v)) - (v).begin())

#define fi              first
#define se              second
#define pb              push_back
#define pf              push_front
#define is              insert
#define ooi             INT_MAX
#define ool             LLONG_MAX
#define ll              long long
#define ull             unsigned ll
#define ld              long double
#define pii             pair<int, int>
#define vi              vector<int>
#define vpii            vector<pii>

const ll MOD = (ll) 1e9 + 7;
const ld PI = acos((ld) -1);
inline int Get_bit(int x, int k){return (x >> (k - 1)) & 1;}
inline ll Gcd(ll a, ll b) {ll r; while(b){ r = a % b; a = b; b = r;} return a;}
inline ll Lcm(ll a, ll b) {return a / Gcd(a, b) * b;}
inline ll Pow(ll n, ll k) {ll r = 1; for(; k; k >>= 1, n = n * n % MOD){if(k & 1) r = r * n % MOD;} return r;}
const int base = 311;


const int N = 1e5 + 5;


ll n, m, k, q;


void Solve(){
	int a, b, c;
	cin >> a >> b >> c;
	if(a + b + c > 22){
		cout << "win";
	} else cout << "bust";

int main(){
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    cout.tie(0);
    cout << fixed << setprecision(10);
    Solve();
}

Compiler output:
a.cc: In function 'void Solve()':
a.cc:50:9: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
   50 | int main(){
      |         ^~
a.cc:50:9: note: remove parentheses to default-initialize a variable
   50 | int main(){
      |         ^~
      |         --
a.cc:50:9: note: or replace parentheses with braces to value-initialize a variable
a.cc:50:11: error: a function-definition is not allowed here before '{' token
   50 | int main(){
      |           ^
a.cc:56:2: error: expected '}' at end of input
   56 | }
      |  ^
a.cc:43:13: note: to match this '{'
   43 | void Solve(){
      |             ^
Language: Java

public class Main {
	public static void main(String[] args) {
try (var in =
 new BufferedReader(new InputStreamReader(System.in))) {
String line = in.readLine();
String[] params = line.split(" ");
int a1 = Integer.parseInt(params[0]);
int a2 = Integer.parseInt(params[1]);
int a3 = Integer.parseInt(params[2]);

int sum = a1 + a2 + a3;
if (sum >= 22) {
	System.out.println("bust");
} else {
	System.out.println("win");
}
}
	}
}



Compiler output:
Main.java:4: error: cannot find symbol
 new BufferedReader(new InputStreamReader(System.in))) {
     ^
  symbol:   class BufferedReader
  location: class Main
Main.java:4: error: cannot find symbol
 new BufferedReader(new InputStreamReader(System.in))) {
                        ^
  symbol:   class InputStreamReader
  location: class Main
2 errors
Language: Java

Scanner sc = new Scanner(System.in);
int a = sc.nextInt();
int b = sc.nextInt();
int c = sc.nextInt();
if(a + b + c > 21){
 System.out.print("bust")
} else {
   System.out.print("win")
}

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
Scanner sc = new Scanner(System.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
if(a + b + c > 21){
^
2 errors
Language: C++

#include <iostream>
using namespace std;

int main(){
  	int x, y, z;
  	cin >> x>> y>> z;
  	if(x+y+z>=22){
    	cout << "bust\n";
    else
      	cout << "win\n";
    }
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: expected '}' before 'else'
    9 |     else
      |     ^~~~
a.cc:7:22: note: to match this '{'
    7 |         if(x+y+z>=22){
      |                      ^
a.cc: At global scope:
a.cc:12:9: error: expected unqualified-id before 'return'
   12 |         return 0;
      |         ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include <iostream>
using namespace std;
int main(int argc, char* argv[])
{
	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: In function 'int main(int, char**)':
a.cc:10:21: error: expected ';' before string constant
   10 |                 cout"win"<<endl;
      |                     ^~~~~
      |                     ;
Language: C++

#include<iostream>

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:9:17: error: 'bust' was not declared in this scope
    9 |         cout << bust;
      |                 ^~~~
a.cc:12:17: error: 'win' was not declared in this scope
   12 |         cout << win;
      |                 ^~~
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;

    return 0;
}


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

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

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

#include <stdio.h>
 
int 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: In function 'main':
main.c:8:14: error: 'B' undeclared (first use in this function)
    8 |         if(a+B+C=>22)
      |              ^
main.c:8:14: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:16: error: 'C' undeclared (first use in this function)
    8 |         if(a+B+C=>22)
      |                ^
main.c:8:18: error: expected expression before '>' token
    8 |         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";
  else cout<<"win";


}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:4: error: expected initializer before '>>' token
    7 | cin>>a>>b>>c;
      |    ^~
Language: C++

#include<iostream>
 
void main(void){
  int i = 0;
  int n;
  for (int j = 0; j < 3; j++{
      scanf("%d", &n);
      i += n;
  }
  if (i >= 22) printf("bust");
  else printf("win");
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(void){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:29: error: expected ')' before '{' token
    6 |   for (int j = 0; j < 3; j++{
      |       ~                     ^
      |                             )
Language: C++

#include<iostream>

using 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:3:7: error: expected nested-name-specifier before 'std'
    3 | using std;
      |       ^~~
a.cc: In function 'int main()':
a.cc:7:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     cin >> a1 >> a2 >> a3;
      |     ^~~
      |     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 << bust;
      |         ^~~~
      |         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:17: error: 'bust' was not declared in this scope
    9 |         cout << bust;
      |                 ^~~~
a.cc:12:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |         cout << win;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:12:17: error: 'win' was not declared in this scope
   12 |         cout << win;
      |                 ^~~
Language: Java

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

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
public void Main{
       ^
Main.java:10: error: unclosed string literal
      System.out.println("burst);
                         ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  public static void main (String args[]){
                ^
  (use --enable-preview to enable unnamed classes)
Main.java:16: error: class, interface, enum, or record expected
}
^
4 errors
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <string.h>
#include <iomanip>
#include <map>
#include <cstdlib>
#include <cctype>
#include <ctype.h>
#define ll long long
char toupper(char c);
char toupper(char c)
{
    return (c - 0x20);
}

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

Compiler output:
a.cc: In function 'int main()':
a.cc:26:27: error: 'ensl' was not declared in this scope
   26 |         cout << "bust" << ensl;
      |                           ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:5: error: 'cin' was not declared in this scope
    6 |     cin >> a >> b >> c
      |     ^~~
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 | using namespace std;
a.cc:9:14: error: expected primary-expression before '<=' token
    9 |     if(a+b+c)<=21
      |              ^~
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:1:9: fatal error: bits.stdc++.h: No such file or directory
    1 | #include<bits.stdc++.h>
      |         ^~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>

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:5:5: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |     cin >> a1 >> a2 >> a3;
      |     ^~~
      |     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         cout << bust;
      |         ^~~~
      |         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:17: error: 'bust' was not declared in this scope
    7 |         cout << bust;
      |                 ^~~~
a.cc:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         cout << win;
      |         ^~~~
      |         std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:10:17: error: 'win' was not declared in this scope
   10 |         cout << win;
      |                 ^~~
Language: C

#include<stdio.h>
int main()
{
	int A1,A2,A3;
	int Sum=A1+A2+A3;
	if (Sum>=22)
	{
		print("bust");
	}
	else
	{
		print("win");
	}
}

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

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

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

#pragma GCC optimize("Ofast")
#include <bits/stdc++.h>
#define rep(i,n) for(int i=0;i<n;i++)
#define max0(a,b,c) max(max(a,b),c)
#define min0(a,b,c) min(min(a,b),c)
#define ft first
#define sc second
#define pb push_back
#define mp make_pair
#define mt make_tuple
#define all(v) (v).begin(),(v).end()
#define mod 1000000007
using namespace std;
using Graph = vector<vector<int>>;
typedef long long lint;
typedef long long ll;
typedef unsigned long long ull;
typedef long double ldouble;
typedef vector<int> vec;
typedef vector<ll> lvec;
typedef vector<ull> ulvec;
typedef vector<double> dvec;
typedef vector<pair<int,int>> pvec;
typedef vector<pair<ll,ll>> plvec;
typedef vector<tuple<ll,ll,ll>> tvec;
typedef vector<string> svec;

int main(){
    vec a(3);
    int sum=0;
    rep(i,n){
        cin>>a[i];
        sum+=a[i];
    }
    if(sum>=22) cout<<"bust";
    else cout<<"win";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:31:11: error: 'n' was not declared in this scope
   31 |     rep(i,n){
      |           ^
a.cc:3:32: note: in definition of macro 'rep'
    3 | #define rep(i,n) for(int i=0;i<n;i++)
      |                                ^
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";
  }
  else
  {
    cout<<"win";
  }
}
#include<bits/stdcc++.h>
using namespace std;
int main()
{
  int a,b,c;
  cin>>a>>b>>c;
  if(a+b+c>=22)
  {
    cout<<"bust";
  }
  else
  {
    cout<<"win";
  }

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

import java.util.*;

public class Main {
    public static void main(String[] args) throws Exception {
        Scanner sc = new Scanner(System.in);
        int a1 = sc.nextInt();
        int a2 = sc.nextInt();
        int a3 = sc.nextInt();

        if (a1 + a2 + a3 <= 21) {
            System.out.println("win");
        } else {
            System.out.println("bust");
        }
    }
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.util.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: expected unqualified-id before 'public'
    3 | public class Main {
      | ^~~~~~
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <string.h>
#include <iomanip>
#include <map>
#include <cstdlib>
#include <cctype>
#include <ctype.h>
#define ll long long
char toupper(char c);
char toupper(char c)
{
    return (c - 0x20);
}

using namespace std;
int main()
{
    int a, b, c;
    if(a+b+c<=21){
        cout << "win" << endl;
    }
    else{
        cout << "bust" << ensl;
    }
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:25:27: error: 'ensl' was not declared in this scope
   25 |         cout << "bust" << ensl;
      |                           ^~~~
Language: Java

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


Compiler output:
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[]args){
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: illegal start of expression
public class Main(){
^
Main.java:3: error: '{' expected
public class Main(){
                 ^
Main.java:9: error: illegal start of type
 if(A1+A2+A3>=22){
 ^
Main.java:9: error: <identifier> expected
 if(A1+A2+A3>=22){
      ^
Main.java:9: error: <identifier> expected
 if(A1+A2+A3>=22){
         ^
Main.java:9: error: <identifier> expected
 if(A1+A2+A3>=22){
            ^
Main.java:11: error: illegal start of type
}else{
 ^
Main.java:15: error: class, interface, enum, or record expected
}
^
9 errors
Language: C++

A1, A2, A3 = map(int, input().split())
if A1+A2+A3>=22:
    print("bust")
else:
    print("win")

Compiler output:
a.cc:1:1: error: 'A1' does not name a type
    1 | A1, A2, A3 = map(int, input().split())
      | ^~
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:6:6: error: expected ';' before 'A'
    6 |   cin A>B>C;
      |      ^~
      |      ;
Language: Java

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

Compiler output:
Main.java:2: error: class, interface, enum, or record expected
public void Main{
       ^
Main.java:10: error: unclosed string literal
      System.out.print("burst);
                       ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  public static void main (String args[]){
                ^
  (use --enable-preview to enable unnamed classes)
Main.java:16: error: class, interface, enum, or record expected
}
^
4 errors
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";
    else cout<<"win";
    return 0;
}a

Compiler output:
a.cc:9:2: error: 'a' does not name a type
    9 | }a
      |  ^
Language: C++

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

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

// #define STOPIT
#include <bits/stdc++.h>
#define loop(n) for (int ngtkana_is_a_genius = 0; ngtkana_is_a_genius < int(n); ngtkana_is_a_genius++)
#define rep(i, begin, end) for (int i = int(begin); (i) < int(end); i++)
#define all(v) v.begin(), v.end()
#define rand(l, r) std::uniform_int_distribution<>(l, r)(mt)
using lint = long long;
auto mt = std::mt19937_64(std::random_device{}());
auto cmn = [](auto& a, auto b){ if (a > b) {a = b; return true;} return false; };
auto cmx = [](auto& a, auto b){ if (a < b) {a = b; return true;} return false; };
void debug_impl() { std::cerr << std::endl; }
template <typename Head, typename... Tail>
void debug_impl(Head head, Tail... tail) { std::cerr << " " << head; debug_impl(tail...); }
#ifndef STOPIT
#define debug(...)\
  do {\
    std::cerr << std::boolalpha << "[" << #__VA_ARGS__ << "]:";\
    debug_impl(__VA_ARGS__);\
    std::cerr << std::noboolalpha;\
  } while (false)
#else
#define debug(...) {}
#endif

int main() {
  std::cin.tie(0); std::cin.sync_with_stdio(false);
  int x, y, z;
  std::cin >> x >> y >> z;
  int ans = x+y+x >=22;
  std::cout << (ans ? "bust" : "win") << std::endl;
  return 0;
}`

Compiler output:
a.cc:32:2: error: stray '`' in program
   32 | }`
      |  ^
Language: Java

import java.util.Scanner;

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

Compiler output:
Main.java:12: error: cannot find symbol
        System.out.println(bust);
                           ^
  symbol:   variable bust
  location: class Main
Main.java:14: error: cannot find symbol
        System.out.println(win);
                           ^
  symbol:   variable win
  location: class Main
2 errors
Language: C++

#include<iostream>

int i = 0, n;
for (int j = 0; j < 3; j++{
	scanf("%d", &n);
	i += n;
}
if (i >= 22) printf("bust");
else printf("win");

Compiler output:
a.cc:4:1: error: expected unqualified-id before 'for'
    4 | for (int j = 0; j < 3; j++{
      | ^~~
a.cc:4:17: error: 'j' does not name a type
    4 | for (int j = 0; j < 3; j++{
      |                 ^
a.cc:4:24: error: 'j' does not name a type
    4 | for (int j = 0; j < 3; j++{
      |                        ^
a.cc:8:1: error: expected unqualified-id before 'if'
    8 | if (i >= 22) printf("bust");
      | ^~
a.cc:9:1: error: expected unqualified-id before 'else'
    9 | else printf("win");
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()`
int a;
int sum=0;
for(int i=0;i<3;i++){
  cin >> a;
  sum+=a;
}
if(sum<=22) cout << "bust" << endl;
else cout << "win" << endl;
return 0;
}


Compiler output:
a.cc:3:11: error: stray '`' in program
    3 | int main()`
      |           ^
a.cc:4:1: error: expected initializer before 'int'
    4 | int a;
      | ^~~
a.cc:6:1: error: expected unqualified-id before 'for'
    6 | for(int i=0;i<3;i++){
      | ^~~
a.cc:6:13: error: 'i' does not name a type
    6 | for(int i=0;i<3;i++){
      |             ^
a.cc:6:17: error: 'i' does not name a type
    6 | for(int i=0;i<3;i++){
      |                 ^
a.cc:10:1: error: expected unqualified-id before 'if'
   10 | if(sum<=22) cout << "bust" << endl;
      | ^~
a.cc:11:1: error: expected unqualified-id before 'else'
   11 | else cout << "win" << endl;
      | ^~~~
a.cc:12:1: error: expected unqualified-id before 'return'
   12 | return 0;
      | ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C

#include<stdio.h>

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

return 0;
}

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

import math
import sys

m=10**9 + 7 
sys.setrecursionlimit(1000010)
A = list(map(int,input().split()))

if A[0] + A[1] + A[2] > 21:
    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 math
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
Language: Java

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

int total = a1 + a2 + a3;

if (total >= 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.
Scanner in = new Scanner(system.in);
^
  (use --enable-preview to enable unnamed classes)
Main.java:8: error: class, interface, enum, or record expected
if (total >= 22)
^
Main.java:10: error: class, interface, enum, or record expected
else
^
Main.java:11: error: unclosed string literal
  System.out.println("win);
                     ^
4 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
 
#define fori(i,a,b) for (long int i = a; i <= b ; ++i)
#define ford(i,a,b) for(long int i = a;i >= b ; --i)
#define mk make_pair
#define mod 1000000007
#define MAXN 1000000
#define pb push_back
#define vec vector<long long int>
#define ll long long
#define rnd mt19937_64 rng(chrono::high_resolution_clock::now().time_since_epoch().count())
#define pi pair<long long int,long long int>
#define sc second
#define fs first
ll maxu = INT_MAX;



int main()
{
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
 
    ll a1,a2,a3;
    cin>>a1>>a2>>a3;
    if(a1+a2+a3>=22)
    cout<<"bust";
    else
    {
        cout<<"win"
    }
    cout<<endl;
    return 0;
}

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

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define sint(a) scanf("%d", &a)
#define sint2(a, b) scanf("%d %d", &a, &b)
#define sll(a) scanf("%lld", &a)
#define sll2(a, b) scanf("%lld %lld", &a, &b)
#define mem(a, i) memset(a, i, sizeof(a))
const double pi = acos(-1);
const int maxn = 1e6 + 10;
const int mod = 1e4;

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


Compiler output:
a.cc:17:13: error: macro "sint" passed 2 arguments, but takes just 1
   17 |     sint(b,c);
      |             ^
a.cc:4:9: note: macro "sint" defined here
    4 | #define sint(a) scanf("%d", &a)
      |         ^~~~
a.cc: In function 'int main()':
a.cc:17:5: error: 'sint' was not declared in this scope
   17 |     sint(b,c);
      |     ^~~~
Language: C++

a1, a2, a3= [int(i) for i in input().split()]
sum = a1+ a2+ a3
if sum >21:
    print('bust')
else:
    print('win')

Compiler output:
a.cc:4:11: warning: multi-character character constant [-Wmultichar]
    4 |     print('bust')
      |           ^~~~~~
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('win')
      |           ^~~~~
a.cc:1:1: error: 'a1' does not name a type
    1 | a1, a2, a3= [int(i) for i in input().split()]
      | ^~
Language: C++

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

int main() {

    int a1, a2, a3; cin >> a1, a2, a3;
    int sum = a1+a2+a3;
    if (sum>21) {
        std::cout << "bust" << '\n';
    }else{
        std::cout << "win" << '\n';
    }

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:21: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |     int a1, a2, a3; cin >> a1, a2, a3;
      |                     ^~~
      |                     std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
Language: C++

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

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

#include <stdio.h>
int main(void){
    int a1,a2,a3;
    scanf("%d", &a1);
    scanf("%d", &a2);
    scanf("%d", &a3);
    if(a1 + a2 + a3 <= 21){
        printf("win\n");
    }
    else{
        printf("bust\n")
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:11:25: error: expected ';' before '}' token
   11 |         printf("bust\n")
      |                         ^
      |                         ;
   12 |     }
      |     ~
Language: Java

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


Compiler output:
Main.java:1: error: ';' expected
import java.util.*
                  ^
Main.java:2: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[]args){
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:3: error: illegal start of expression
public class Main(){
^
Main.java:3: error: '{' expected
public class Main(){
                 ^
Main.java:9: error: illegal start of type
 if(A1+A2+A3>=22){
 ^
Main.java:9: error: <identifier> expected
 if(A1+A2+A3>=22){
      ^
Main.java:9: error: <identifier> expected
 if(A1+A2+A3>=22){
         ^
Main.java:9: error: <identifier> expected
 if(A1+A2+A3>=22){
            ^
Main.java:11: error: illegal start of type
}else{
 ^
Main.java:15: error: class, interface, enum, or record expected
}
^
10 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()`
int a;
int sum=0;
for(int i=0;i<3;i++){
  cin >> a;
  sum+-a;
}
if(sum<=22) cout << "bust" << endl;
else cout << "win" << endl;
return 0;
}

Compiler output:
a.cc:3:11: error: stray '`' in program
    3 | int main()`
      |           ^
a.cc:4:1: error: expected initializer before 'int'
    4 | int a;
      | ^~~
a.cc:6:1: error: expected unqualified-id before 'for'
    6 | for(int i=0;i<3;i++){
      | ^~~
a.cc:6:13: error: 'i' does not name a type
    6 | for(int i=0;i<3;i++){
      |             ^
a.cc:6:17: error: 'i' does not name a type
    6 | for(int i=0;i<3;i++){
      |                 ^
a.cc:10:1: error: expected unqualified-id before 'if'
   10 | if(sum<=22) cout << "bust" << endl;
      | ^~
a.cc:11:1: error: expected unqualified-id before 'else'
   11 | else cout << "win" << endl;
      | ^~~~
a.cc:12:1: error: expected unqualified-id before 'return'
   12 | return 0;
      | ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include <algorithm>
#include <cstring>
#include <iostream>
#include <vector>
#include <cmath>
#include <math.h>
using namespace std;

typedef long long int ll; 
typedef pair<int,int> Pii;

int main(){
    int a;
    int ans = 0;
    cin>>a;
    ans += a;
    cin>>a;
    ans += a;
    cin>>a;
    ans += a;

    if (ans>=22)
    {
        cout<<"bust";
    }else{
        cout<<"win"
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:26:20: error: expected ';' before '}' token
   26 |         cout<<"win"
      |                    ^
      |                    ;
   27 |     }
      |     ~
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;
  return 0;
}

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

#include <stdio.h>

int main(void){
    int A,B,C;
    scanf("%d%d%d",&A,&B,&C);

    if(A + B + C => 22){
        printf("bust");
    }

    else{
        printf("No");
    }
}

Compiler output:
main.c: In function 'main':
main.c:7:19: error: expected expression before '>' token
    7 |     if(A + B + C => 22){
      |                   ^
Language: C++

A = [int(i) for i in input().split()]

sum_ = sum(A)

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


Compiler output:
a.cc:6:11: warning: multi-character character constant [-Wmultichar]
    6 |     print('bust')
      |           ^~~~~~
a.cc:8:11: warning: multi-character character constant [-Wmultichar]
    8 |     print('win')
      |           ^~~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A = [int(i) for i in input().split()]
      | ^
Language: C++

#include <stdio.h>
#include <iostream>
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;
  return 0;

Compiler output:
a.cc: In function 'int main()':
a.cc:10:12: error: expected '}' at end of input
   10 |   return 0;
      |            ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

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

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

#include<stdio.h>

int main(){
  int a,b,c;
  
  scanf("%d %d %d", &a, %b,%c);
  
  if(a+b+c >= 21){
printf("bust\n");
  }else{
 	printf("win\n");
  }
  
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:6:25: error: expected expression before '%' token
    6 |   scanf("%d %d %d", &a, %b,%c);
      |                         ^
Language: C++

#include <iostream>
using namespace std;
int main(){
    int a;
    long b;
    long x;
    cin >> a >> b >> x;
    if (a + b+ c >= 22){
        cout << 'bust' << endl;
    }else{
        cout << 'win' << endl;
    }

}

Compiler output:
a.cc:9:17: warning: multi-character character constant [-Wmultichar]
    9 |         cout << 'bust' << endl;
      |                 ^~~~~~
a.cc:11:17: warning: multi-character character constant [-Wmultichar]
   11 |         cout << 'win' << endl;
      |                 ^~~~~
a.cc: In function 'int main()':
a.cc:8:16: error: 'c' was not declared in this scope
    8 |     if (a + b+ c >= 22){
      |                ^
Language: C++

//#include <bits/stdc++.h>
#include <iostream>
#include <string>
#include <vector>

using namespace std;
#define rep(i,n) for(int i=1;i<=n;i++)
typedef long long ll;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: 'a' was not declared in this scope
   13 |   int ans = a + b + c;
      |             ^
a.cc:13:17: error: 'b' was not declared in this scope
   13 |   int ans = a + b + c;
      |                 ^
a.cc:13:21: error: 'c' was not declared in this scope
   13 |   int ans = a + b + c;
      |                     ^