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

public class MyClass {
  
  int A1,A2,A3;
  
  public static void main(String[] args) {
    if ((A1 + A2 +A3) >= 22) {
  		System.out.println("bust");
		}
    else
      System.out.println("win");
  }
}

Compiler output:
Main.java:1: error: class MyClass is public, should be declared in a file named MyClass.java
public class MyClass {
       ^
Main.java:6: error: non-static variable A1 cannot be referenced from a static context
    if ((A1 + A2 +A3) >= 22) {
         ^
Main.java:6: error: non-static variable A2 cannot be referenced from a static context
    if ((A1 + A2 +A3) >= 22) {
              ^
Main.java:6: error: non-static variable A3 cannot be referenced from a static context
    if ((A1 + A2 +A3) >= 22) {
                  ^
4 errors
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: expected ';' before ':' token
    9 |     cout<<"bust":
      |                 ^
      |                 ;
Language: C++

#include <iostream>
using namespace std;


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:6:33: error: expected primary-expression before '>' token
    6 |         int a, b, c; cin>>a>>b>>>c;
      |                                 ^
Language: C++

#include <bits/stdc++.h>
using ll = long long int;
using namespace std;

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

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |     ans = a + b + c;
      |     ^~~
      |     abs
Language: C++

#include <iostream>
using namespace std ;

int main ()
{
    int num1 , num2 , num3 , sum = 0 ;

    cin >> num1 >> num2 >> num3 ;

    sum = num1 + num2 + num3 ;

    if (sum >= 22 )
    {
        cout << "bust" << endl ;
    }
    else if (sun < 22 )
    {
        cout << "win" << endl ;
    }

    return 0 ;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:16:14: error: 'sun' was not declared in this scope; did you mean 'sum'?
   16 |     else if (sun < 22 )
      |              ^~~
      |              sum
Language: C++

#include <iostream>
#include <vector>
#include <algorithm>
#include <ctype.h>
#include <math.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:10:15: error: expected unqualified-id before ';' token
   10 |     int a,b,c,;
      |               ^
Language: Java

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

Compiler output:
Main.java:2: error: '{' expected
public class Main(){
                 ^
1 error
Language: C

#include<stdio.h>
int main (void){
  int A,B,C;
  printf(""); scanf("%d",&A);
  printf(""); scanf("%d",&B);
  printf(""); sanf("%d",&C);
  if (("%d",A+B+C)>=22){
  print("bust");
  }
  else{
    printf("win");
  }
  
return 0;  
}


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

#include<stdio.h>
int main(void){
  int A,B,C;
  printf("");scanf("%d",&A);
  printf("");scanf("%d",&B);
  printf("");scanf("%d",&C);
  if (("%d",A+B+C)>=22){
  print("bust");
  }
  else{
    printf("win");
  }
  
return 0;  
}


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

#include<stdio.h>
int main(void){
  int A,B,C;
  printf("");scanf("%d", &A);
  printf("");scanf("%d", &B);
  printf("");scanf("%d", &C);
  if (A+B+C>=22){
  print("bust");
  }
  else{
    printf("win");
  }
  
return 0;  
}


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

#include<stdio.h>
int main(void){
  int A,B,C;
  printf("");scanf("%d",&A);
  printf("");scanf("%d",&B);
  printf("");scanf("%d",&C);
  if (A+B+C>=22){
  print("bust");
  }
  else{
    printf("win");
  }
  
return 0;  
}


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

#include<stdio.h>
int main(void){
  int A,B,C;
  scanf("%d",&A);
  scanf("%d",&B);
  scanf("%d",&C);
  if (A+B+C>=22){
  print("bust");
  }
  else{
    printf("win");
  }
  
return 0;  
}

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

#include<bits/stdc++.h>
using namespace std;
#define ll long long int

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: 'prints' was not declared in this scope; did you mean 'printf'?
    8 |     if(a1+a2+a3>=22){prints("bust");}
      |                      ^~~~~~
      |                      printf
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'print' was not declared in this scope; did you mean 'printf'?
   10 |     print("bust");
      |     ^~~~~
      |     printf
a.cc:12:5: error: 'print' was not declared in this scope; did you mean 'printf'?
   12 |     print("win");
      |     ^~~~~
      |     printf
Language: C++

void main(int argc, char **argv)
{
  int a1 = argv[1];
  int a2 = argv[2];
  int a3 = argv[3];
  
  if (22 <= a1 + a2 + a3) {
    fprintf(stdout, "bust");
  } else {
    fprintf(stdout, "win");
  }
}

Compiler output:
a.cc:1:1: error: '::main' must return 'int'
    1 | void main(int argc, char **argv)
      | ^~~~
a.cc: In function 'int main(int, char**)':
a.cc:3:18: error: invalid conversion from 'char*' to 'int' [-fpermissive]
    3 |   int a1 = argv[1];
      |            ~~~~~~^
      |                  |
      |                  char*
a.cc:4:18: error: invalid conversion from 'char*' to 'int' [-fpermissive]
    4 |   int a2 = argv[2];
      |            ~~~~~~^
      |                  |
      |                  char*
a.cc:5:18: error: invalid conversion from 'char*' to 'int' [-fpermissive]
    5 |   int a3 = argv[3];
      |            ~~~~~~^
      |                  |
      |                  char*
a.cc:8:13: error: 'stdout' was not declared in this scope
    8 |     fprintf(stdout, "bust");
      |             ^~~~~~
a.cc:1:1: note: 'stdout' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | void main(int argc, char **argv)
a.cc:8:5: error: 'fprintf' was not declared in this scope
    8 |     fprintf(stdout, "bust");
      |     ^~~~~~~
a.cc:10:13: error: 'stdout' was not declared in this scope
   10 |     fprintf(stdout, "win");
      |             ^~~~~~
a.cc:10:13: note: 'stdout' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:10:5: error: 'fprintf' was not declared in this scope
   10 |     fprintf(stdout, "win");
      |     ^~~~~~~
Language: C++

#include<stdio.h>

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

Compiler output:
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:9:5: error: 'cout' was not declared in this scope
    9 |     cout << "bust";
      |     ^~~~
a.cc:13:5: error: 'cout' was not declared in this scope
   13 |     cout << "win";
      |     ^~~~
Language: Java

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


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

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

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

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

Compiler output:
main.c: In function 'main':
main.c:4:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2'
    4 |   int a1 a2 a3;
      |          ^~
main.c:4:10: error: unknown type name 'a2'
main.c:5:22: error: 'a1' undeclared (first use in this function); did you mean 'a3'?
    5 |   scanf("%d %d %d", &a1, &a2, &a3);
      |                      ^~
      |                      a3
main.c:5:22: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:27: error: 'a2' undeclared (first use in this function); did you mean 'a3'?
    5 |   scanf("%d %d %d", &a1, &a2, &a3);
      |                           ^~
      |                           a3
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:4:10: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'a2'
    4 |   int a1 a2 a3;
      |          ^~
main.c:4:10: error: unknown type name 'a2'
main.c:5:21: error: 'a1' undeclared (first use in this function); did you mean 'a3'?
    5 |   scanf("%d %d %d", a1, a2, a3);
      |                     ^~
      |                     a3
main.c:5:21: note: each undeclared identifier is reported only once for each function it appears in
main.c:5:25: error: 'a2' undeclared (first use in this function); did you mean 'a3'?
    5 |   scanf("%d %d %d", a1, a2, a3);
      |                         ^~
      |                         a3
Language: C

#include<stdio.h>

int main(void)
{
  int A,B,C;
  
  scanf("%d%d%d,&A,&B,&C,);
  
        if(A+B+C <= 21)
        {
          printf("win");
        }else{
          printf("bust");
        }
        }
        
  

Compiler output:
main.c: In function 'main':
main.c:7:9: warning: missing terminating " character
    7 |   scanf("%d%d%d,&A,&B,&C,);
      |         ^
main.c:7:9: error: missing terminating " character
    7 |   scanf("%d%d%d,&A,&B,&C,);
      |         ^~~~~~~~~~~~~~~~~~~
main.c:9:9: error: expected expression before 'if'
    9 |         if(A+B+C <= 21)
      |         ^~
main.c:14:10: error: expected ';' before '}' token
   14 |         }
      |          ^
      |          ;
   15 |         }
      |         ~
Language: C++

using namespace std;
int main()
{
  int a1,a2,a3;
  cin>>a2>>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:3: error: 'cin' was not declared in this scope
    5 |   cin>>a2>>a2>>a3;
      |   ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | using namespace std;
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"bust";
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:8:8: error: 'cout' was not declared in this scope
    8 |   else cout<<"win";
      |        ^~~~
a.cc:8:8: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <instream>



int main(){
  
 	int A, B, C;
  	std::cin>>A>>B>>C;
  	int sum = A + B + C;
  
  	if (sum >= 22)
      	std::cout<<"bust";
  	esle
      	std::cout<<"win";
  	
  
  
}

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

#include <bits/stdc++.h>
using namespace std;
int main () {
	int a, b, c;
  	scanf("%d%d%d", &a, &b, &c);
  	int d = a + b + c;
  	if (d >= 22) {
		printf("bust");
    else {
      	printf("win");
    }
      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 (d >= 22) {
      |                      ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
using ll = long long;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define repe(i, n) for (int i = 0; i <= (int)(n); i++)
#define YES cout<<"YES"<<endl
#define NO cout<<"NO"<<endl
#define Yes cout<<"Yes"<<endl
#define No cout<<"No"<<endl
#define ANS cout << ans << endl
#define all(a) a.begin(),a.end()
#define SORT(a) sort(all(a))
#define REVERSE(a) reverse(all(a))
#define KOZYUN(a) sort(all(a),greater<int>())
#define int ll
#define FOR(i, m, n) for(int i = m;i < n;i++)
#define FORe(i, m, n) for(int i = m;i <= n;i++)
#define VIin(a) for(int i=0; i<a.size(); i++) cin >> a[i]
#define OUT(a) cout << a << endl
#define IN(a) cin >> a
#define INT(a) int a; cin >> a
typedef vector<int> VI;
typedef vector<VI> VVI;
const int MOD=1e9+7;
const long long INF = 1LL << 60;
/*最大公約数*/int gcd(int x, int y) { return y ? gcd(y,x%y) : x;}
/*最小公倍数*/int lcm(int a, int b) { int g = gcd(a, b); return a / g * b; }
/*素数判定*/int isPrime(int n){if(n<2){return 0;}for(int i=2; i*i<=n; i++){if(n%i==0){return 0;}}return 1;}
/*約数列挙*/vector<int> getDivisor(int n){vector<int> v; for(int i=1; i*i<=n; i++){if(n%i==0){v.push_back(i);if(i!=n/i){v.push_back(n/i);}}}sort(v.begin(),v.end()); return v;}
//----------------------------------------------
signed main(){
    ios::sync_with_stdio(false);
    cin.tie(nullptr);
    
    int a >> b >> c;
    if(a+b+c >= 22) OUT("bust");
    else OUT("win");

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:35:11: error: expected initializer before '>>' token
   35 |     int a >> b >> c;
      |           ^~
a.cc:36:8: error: 'a' was not declared in this scope
   36 |     if(a+b+c >= 22) OUT("bust");
      |        ^
a.cc:36:10: error: 'b' was not declared in this scope
   36 |     if(a+b+c >= 22) OUT("bust");
      |          ^
a.cc:36:12: error: 'c' was not declared in this scope
   36 |     if(a+b+c >= 22) OUT("bust");
      |            ^
Language: C++

// BEGINNING WITH THE NAME OF ALMIGHTY GOD ALLAH
// AUTHOR:: MOHAMMAD FAISAL
#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:3:9: fatal error: bits.stdc++.h: No such file or directory
    3 | #include<bits.stdc++.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";
  else cout << "win";

Compiler output:
a.cc: In function 'int main()':
a.cc:8:22: error: expected '}' at end of input
    8 |   else cout << "win";
      |                      ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

public class ABC_147A {
    public static void main(String[] args) {
        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("no");


    }
}


Compiler output:
Main.java:1: error: class ABC_147A is public, should be declared in a file named ABC_147A.java
public class ABC_147A {
       ^
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
        ^
  symbol:   class Scanner
  location: class ABC_147A
Main.java:3: error: cannot find symbol
        Scanner sc = new Scanner(System.in);
                         ^
  symbol:   class Scanner
  location: class ABC_147A
3 errors
Language: Java

import java.util.*;

public class ABC_147A {
    public static void main(String[] args) {
        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("no");


    }
}


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

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


Compiler output:
a.cc:5:9: error: expected initializer before 'cin'
    5 |         cin>>a>>b>>c;
      |         ^~~
a.cc:6:9: error: 'A' does not name a type
    6 |         A=a+b+c;
      |         ^
a.cc:7:9: error: expected unqualified-id before 'if'
    7 |         if(A>=22)cout<<"bust"<<endl;
      |         ^~
a.cc:8:9: error: expected unqualified-id before 'else'
    8 |         else cout<<"win"<<endl;
      |         ^~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C

#include <iostream>
using namespace std;

int main(void){
  int t,n;
  
  n=0;
  for (int i=0; i<3; i++){
    cin >> t;
    n+=t;
  }
  cout << (n>=22?"bust":"win") << endl;
  return 0;
}
  

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

print('win' if sum(map(int,input().split()))<22 else 'bust')

Compiler output:
a.cc:1:7: warning: multi-character character constant [-Wmultichar]
    1 | print('win' if sum(map(int,input().split()))<22 else 'bust')
      |       ^~~~~
a.cc:1:54: warning: multi-character character constant [-Wmultichar]
    1 | print('win' if sum(map(int,input().split()))<22 else 'bust')
      |                                                      ^~~~~~
a.cc:1:6: error: expected constructor, destructor, or type conversion before '(' token
    1 | print('win' if sum(map(int,input().split()))<22 else 'bust')
      |      ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:9: error: 'in' was not declared in this scope; did you mean 'yn'?
    7 |         in>>a>>b>>c;
      |         ^~
      |         yn
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int i,j,k,a[10];
cin>>i>>j>>k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<
else()
  cout<<"win"<<
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: lvalue required as left operand of assignment
    8 | if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
      |    ~~~~~~~~~^~~~~
a.cc:10:1: error: expected primary-expression before 'else'
   10 | else()
      | ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int i,j,k,a[10];
cin>>i>>j>>k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<
else
  cout<<"win"<<
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: lvalue required as left operand of assignment
    8 | if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
      |    ~~~~~~~~~^~~~~
a.cc:10:1: error: expected primary-expression before 'else'
   10 | else
      | ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int i,j,k;
cin>>i>>j>>k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<
else
  cout<<"win"<<
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: 'a' was not declared in this scope
    7 | cin>>a[i]>>a[j]>>a[k];
      |      ^
a.cc:10:1: error: expected primary-expression before 'else'
   10 | else
      | ^~~~
Language: C++

#include<iostream>
using namespace std;
{
  int i,j,k;
cin>>i>>j>>k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<
else
  cout<<"win"<<
}

Compiler output:
a.cc:3:1: error: expected unqualified-id before '{' token
    3 | {
      | ^
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int i,j,k;
cin>>i,j,k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<;
else
  cout<<"win"<<;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:6: error: 'a' was not declared in this scope
    7 | cin>>a[i]>>a[j]>>a[k];
      |      ^
a.cc:9:17: error: expected primary-expression before ';' token
    9 |   cout<<"bust"<<;
      |                 ^
a.cc:11:16: error: expected primary-expression before ';' token
   11 |   cout<<"win"<<;
      |                ^
Language: C++

#include<iostream>
using namespace std;
{
 int i,j,k;
cin>>i>>j>>k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<;
else
  cout<<"win"<<;
}

Compiler output:
a.cc:3:1: error: expected unqualified-id before '{' token
    3 | {
      | ^
Language: C++

#include<iostream>
using namespace std;
{
  int i,j,k;
cin>>i,j,k;
cin>>a[i]>>a[j]>>a[k];
if(a[i]+a[j]+a[k]=22 || a[i]+a[j]+a[k]<22)
  cout<<"bust"<<;
else
  cout<<"win"<<;
}
   

Compiler output:
a.cc:3:1: error: expected unqualified-id before '{' token
    3 | {
      | ^
Language: C++

import java.util.*;
public class Main {
	public static void main(String[] args) {
		Scanner in = new Scanner(System.in);
		int sum = 0;
		for (int i = 0; i < 3; i++)
			sum += in.nextInt();
		if (sum >= 22)
			System.out.println("bust");
		else
			System.out.println("win");
	}
}


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:2:1: error: expected unqualified-id before 'public'
    2 | public class Main {
      | ^~~~~~
Language: C++

#include <bits/stdc++.h>
#define rep(i, n) for (ll i = 0; i < (ll)(n); i++)
#define all(vec) vec.begin(), vec.end()
#define mp(a, b) make_pair(a, b)
typedef long long ll;
const ll INF = 1LL << 60;
const ll MOD = (1e9 + 7);
using namespace std;
using pii = pair<int, int>;
using pll = pair<ll, ll>;
using vi = vector<int>;
ll dp[100010];
ll gcd(ll x, ll y){
  return y == 0 ? x : gcd(y, x % y);
}
ll lcg(ll x, ll y){
  return x * y / gcd(x, y);
}
ll digits(ll x){
  ll length = 0;
  while (x > 0){
    x /= 10;
    length++;
  }
  return length;
  if (x == 0) return 0;
}
map<ll, ll> factor(ll n){
  map<ll, ll> ans;
  ll a = 2;
  while (n >= a * a){
    if (n % a == 0){
      ans[a]++;
      n /= a;
    }
    else a++;
  }
  ans[n]++;
  return ans;
}
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;
}

int main(){
  cout << fixed << setprecision(15);

  int a, b, c; cin >> a >> b >> c;

  //ll ans = 0;
  string ans;

  if (a + b + c >= 22) ans = "bust"
  else ans = "win";

  cout << ans << endl;
   
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:64:36: error: expected ';' before 'else'
   64 |   if (a + b + c >= 22) ans = "bust"
      |                                    ^
      |                                    ;
   65 |   else ans = "win";
      |   ~~~~
Language: C++

#include <iostream>

int main()
{
  int n = 3;
  std::vector<int> a(n);
  for (int i = 0; i < n; ++i)
    std::cin >> a[i];

  int sum = 0;
  for (auto v : a)
    sum += v;

  if (sum >= 22)
    std::cout << "bust" << std::endl;
  else
    std::cout << "win" << std::endl;

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:8: error: 'vector' is not a member of 'std'
    6 |   std::vector<int> a(n);
      |        ^~~~~~
a.cc:2:1: note: 'std::vector' is defined in header '<vector>'; this is probably fixable by adding '#include <vector>'
    1 | #include <iostream>
  +++ |+#include <vector>
    2 | 
a.cc:6:15: error: expected primary-expression before 'int'
    6 |   std::vector<int> a(n);
      |               ^~~
a.cc:8:17: error: 'a' was not declared in this scope
    8 |     std::cin >> a[i];
      |                 ^
a.cc:11:17: error: 'a' was not declared in this scope
   11 |   for (auto v : a)
      |                 ^
Language: C++

#include <iostream>
#include <algorithm>
#include <vector>
#include <cstdio>
#include <cmath>
#include <set>
#include <map>
#include <queue>
#include <string>
#include <cstring>
#include <cstdlib>
using namespace std;

#define REP(i,n) for(int i = 0; i < (int)(n); i++)
typedef long long ll;
typedef pair<int, int> pint;
template <class T> inline void chmax(T &a, const T b) { a = max(a, b); }
template <class T> inline void chmin(T &a, const T b) { a = min(a, b); }
template <class T> void pp(T v, int n) { REP(i,n) cout<<v[i]<< ' '; cout << endl; }

const ll MOD = 1000 * 1000 *1000 + 7 ;
inline void chadd(ll &a, const ll b) { a = (a + b) % MOD;}
inline ll add(const ll a, const ll b){ return (a + b) %  MOD;}
inline void chsub(ll &a, const ll b) { a = (a - b + MOD) % MOD;}
inline ll sub(const ll a, const ll b){ return (a - b + MOD) % MOD; }
inline void chmul(ll &a, const ll b) { a = (a * b) %  MOD;}
inline ll mul(const ll a, const ll b){ return (a * b) %  MOD;}

void inline TorF(bool tf, const string &trueMessage, const string &falseMessage) { 
  cout << (tf ? trueMessage : falseMessage) << endl;
}
void inline YESNO(bool tf) { TorF(tf, "YES", "NO"); }
void inline YesNo(bool tf) { TorF(tf, "Yes", "No"); }

int main() {
  int N; cin>>N;
  vector<int> cnt(60,0);
  REP(i,N) {
    ll v; cin>>v;
    REP(i,60) {
      cnt[i] += (int)((v>>i)& 1LL);
    }
  }
  //  pp(cnt, 60);
  ll ans = 0;
  REP(i, 60) {
    ll tmp = 1LL << i;
    chmul(tmp, (N - cnt[i]))
    chmul(tmp, cnt[i])
    chadd(ans, tmp);
  }
  cout << ans << endl;
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:48:29: error: expected ';' before 'chmul'
   48 |     chmul(tmp, (N - cnt[i]))
      |                             ^
      |                             ;
   49 |     chmul(tmp, cnt[i])
      |     ~~~~~
Language: C++

program main
  implicit none
  integer i, a1, a2, a3
  read(*, *) a1, a2, a3
  !read(*, *) (L(i), i = 1,N)
  if (a1 + a2 + a3 > 21) then
    write(*, *) 'bust'
  else
    write(*, *) 'win'
  end if
end program main

Compiler output:
a.cc:7:17: warning: multi-character character constant [-Wmultichar]
    7 |     write(*, *) 'bust'
      |                 ^~~~~~
a.cc:9:17: warning: multi-character character constant [-Wmultichar]
    9 |     write(*, *) 'win'
      |                 ^~~~~
a.cc:1:1: error: 'program' does not name a type
    1 | program main
      | ^~~~~~~
Language: C++

let [|a;b;c|] = stdin.ReadLine().Split() |> Array.map int

let n = a + b + c

(if (n <= 21) then "win" else "bust")
|>stdout.WriteLine

Compiler output:
a.cc:1:1: error: 'let' does not name a type
    1 | let [|a;b;c|] = stdin.ReadLine().Split() |> Array.map int
      | ^~~
a.cc:1:9: error: 'b' does not name a type
    1 | let [|a;b;c|] = stdin.ReadLine().Split() |> Array.map int
      |         ^
a.cc:1:11: error: 'c' does not name a type
    1 | let [|a;b;c|] = stdin.ReadLine().Split() |> Array.map int
      |           ^
Language: C++

#include<stdio.h>
using namespace std;
int main()
{
  int a, b, c;
  scanf("%d%d%d", &a, &b, &c);
  if(a + b + c < 22)
    print("win\n");
  else
    print("bust\n");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'print' was not declared in this scope; did you mean 'printf'?
    8 |     print("win\n");
      |     ^~~~~
      |     printf
a.cc:10:5: error: 'print' was not declared in this scope; did you mean 'printf'?
   10 |     print("bust\n");
      |     ^~~~~
      |     printf
Language: C

#include<bits/stdc++.h>
using namespace std;
int main()
{
	int a1,a2,a3,sum;
	cout<<"enter";
	cin>>a1>>a2>>a3;
	sum=a1+a2+a3;
	sum>=22?cout<<"bust":cout<<"win";
}


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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:10:10: error: expected primary-expression before '>' token
   10 |   if(num=>22)  cout << "bust" << endl;
      |          ^
Language: Java

import java.util.*;
public class P1{
  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");
    }
  }
}

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

#include <iostream>
 
int main(){
  std::cin.tie(0);
  std::sync_with_stdio(false);
  int in[2];
  std::cin >> in[0];
  std::cin >> in[1];
  in[0] += in[1];
  std::cin >> in[1];
  in[0] += in[1];
  if(in[0] > 21) std::cout << "bust" << "\n";
  else std::cout << "win" << "\n";
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'sync_with_stdio' is not a member of 'std'
    5 |   std::sync_with_stdio(false);
      |        ^~~~~~~~~~~~~~~
Language: C++

#include <iostream>

int main(){
  std::cin.tie(0);
  std::sync_with_stdio(false);
  int in[2];
  std::cin >> in[0];
  std::cin >> in[1];
  in[0] += in[1];
  std::cin >> in[1];
  in[0] += in[1];
  if(in[0] > 21) std::cout << "bust" << "\n";
  else std::cout << "win" << "\n";

}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'sync_with_stdio' is not a member of 'std'
    5 |   std::sync_with_stdio(false);
      |        ^~~~~~~~~~~~~~~
Language: C++

a,b,c = map(int,input().split())
if (a+b+c >=22):
  print('bust')
else:
  print('win')

Compiler output:
a.cc:3:9: warning: multi-character character constant [-Wmultichar]
    3 |   print('bust')
      |         ^~~~~~
a.cc:5:9: warning: multi-character character constant [-Wmultichar]
    5 |   print('win')
      |         ^~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b,c = map(int,input().split())
      | ^
Language: C++

#include <vector>
#include <algorithm>
#include <math.h>
#include <functional>
#include <iomanip>
using namespace std;
#define rep(i, n) for (int i = 0; i < n; i++)
const long long mod = 1000000007;
typedef long long ll;

int main() {
	
	int a, b, c;
	int sum;

	cin >> a;
	cin >> b;
	cin >> c;

	sum = a + b + c;

	if (sum <= 21) cout << "win" << endl;
	else cout << "bust" << endl;



	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:9: error: 'cin' was not declared in this scope
   16 |         cin >> a;
      |         ^~~
a.cc:6:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    5 | #include <iomanip>
  +++ |+#include <iostream>
    6 | using namespace std;
a.cc:22:24: error: 'cout' was not declared in this scope
   22 |         if (sum <= 21) cout << "win" << endl;
      |                        ^~~~
a.cc:22:24: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:23:14: error: 'cout' was not declared in this scope
   23 |         else cout << "bust" << endl;
      |              ^~~~
a.cc:23:14: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <iostream>

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:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a >> b >> c;
      |   ^~~
      |   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:24: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   if (a + b + c >= 22) cout << "bust "<< endl;
      |                        ^~~~
      |                        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:42: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |   if (a + b + c >= 22) cout << "bust "<< endl;
      |                                          ^~~~
      |                                          std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:8:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   else cout << "win " << endl;
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   else cout << "win " << endl;
      |                          ^~~~
      |                          std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

public class Main {
  
  public static void main(String... args) {
    int i1 = Integer.parseInt(args[0]);
    int i2 = Integer.pzrseInt(args[1]);
    int i3 = Integer.parseInt(args[2]);
    int result = i1 + i2 + i3;
    
    if (result > 21) {
      System.out.println("bust");
    } else {
      System.out.println("win");
    }
  }
  
}


Compiler output:
Main.java:5: error: cannot find symbol
    int i2 = Integer.pzrseInt(args[1]);
                    ^
  symbol:   method pzrseInt(String)
  location: class Integer
1 error
Language: Java

public class Main {
  
  public static void main(String... args) {
    int i1 = args[0];
    int i2 = args[1];
    int i3 = args[2];
    int result = i1 + i2 + i3;
    
    if (result > 21) {
      System.out.println("bust");
    } else {
      System.out.println("win");
    }
  }
  
}


Compiler output:
Main.java:4: error: incompatible types: String cannot be converted to int
    int i1 = args[0];
                 ^
Main.java:5: error: incompatible types: String cannot be converted to int
    int i2 = args[1];
                 ^
Main.java:6: error: incompatible types: String cannot be converted to int
    int i3 = args[2];
                 ^
3 errors
Language: Java


    int i1 = args[0];
    int i2 = args[1];
    int i3 = args[2];
    int result = i1 + i2 + i3;
    
    if (result > 21) {
      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.
    int i1 = args[0];
    ^
  (use --enable-preview to enable unnamed classes)
Main.java:7: error: class, interface, enum, or record expected
    if (result > 21) {
    ^
Main.java:9: error: class, interface, enum, or record expected
    } else {
    ^
Main.java:11: error: class, interface, enum, or record expected
    }
    ^
4 errors
Language: Java

  
  public static void main(String... args) {
    int i1 = args[0];
    int i2 = args[1];
    int i3 = args[2];
    int result = i1 + i2 + i3;
    
    if (result > 21) {
      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)
1 error
Language: Java

public class BlackJack {
  
  public static void main(String... args) {
    int i1 = args[0];
    int i2 = args[1];
    int i3 = args[2];
    int result = i1 + i2 + i3;
    
    if (result > 21) {
      System.out.println("bust");
    } else {
      System.out.println("win");
    }
  }
  
}

Compiler output:
Main.java:1: error: class BlackJack is public, should be declared in a file named BlackJack.java
public class BlackJack {
       ^
Main.java:4: error: incompatible types: String cannot be converted to int
    int i1 = args[0];
                 ^
Main.java:5: error: incompatible types: String cannot be converted to int
    int i2 = args[1];
                 ^
Main.java:6: error: incompatible types: String cannot be converted to int
    int i3 = args[2];
                 ^
4 errors
Language: C++

#include<stdio.h>
int main(){
  int a,b,c;
  scanf("%d%d%d",%a,%b,%c);
  if(a+b+c>=22)puts("bust");
  else puts("win");
}


Compiler output:
a.cc: In function 'int main()':
a.cc:4:18: error: expected primary-expression before '%' token
    4 |   scanf("%d%d%d",%a,%b,%c);
      |                  ^
a.cc:4:21: error: expected primary-expression before '%' token
    4 |   scanf("%d%d%d",%a,%b,%c);
      |                     ^
a.cc:4:24: error: expected primary-expression before '%' token
    4 |   scanf("%d%d%d",%a,%b,%c);
      |                        ^
Language: Java

class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
        int total = 0;
 for(int i = 0; i < 3;i++) {
	   total  = total + Integer.parseInt(sc.next());
 }
if(total <= 21) {
	System.out.println("win");
}else {
	System.out.println("bust");
}
        
        
       
        }
 
     
    }


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

import java.util.Scanner;

class Main{
    public static void main(String[] args) {
        Scanner sc = new Scanner(System.in);
         
        String num[] = new String[3];
        int total;
 for(int i = 0; i < 3;i++) {
	   total  =+ Integer.parseInt(sc.next());
 }
if(total <= 21) {
	System.out.println("win");
}else {
	System.out.println("burst");
}
        
        
       
        }
 
     
    }

Compiler output:
Main.java:12: error: variable total might not have been initialized
if(total <= 21) {
   ^
1 error
Language: C++

#include<iostream>
using namespace std;
int main(void){
    int A = 0, tmp = 0;

    for(int i = 0; i < 3; i++){
        cin >> tmp;
        A += tmp;
    }

    if(A > 21)  cout << "bust" << endl;
    else    cout << "win"   << endl;1

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:38: error: expected ';' before 'return'
   12 |     else    cout << "win"   << endl;1
      |                                      ^
      |                                      ;
   13 | 
   14 |     return 0;
      |     ~~~~~~
Language: C

#include<stdio.h>

int main()
{
    int a[3];
    int sum=0;
    scanf("%d%d%d",&a[0],&a[1],&a[2]);
    for(i=0;i<3;i++){
        sum+=a[i];
    }
    if(sum<=21){
        printf("win\n");
    }else{
        printf("bust\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:9: error: 'i' undeclared (first use in this function)
    8 |     for(i=0;i<3;i++){
      |         ^
main.c:8:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C

#include<stdio.h>

int main()
{
    int a[3];int sum=0;
    scanf("%d%d%d",&a[0],&a[1],&a[2]);
    for(i=0;i<2;i++){
        sum+=a[i];
    }
    if(sum<=21){
        printf("win\n");
    }else{
        printf("bust\n");
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:7:9: error: 'i' undeclared (first use in this function)
    7 |     for(i=0;i<2;i++){
      |         ^
main.c:7:9: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<stadio.h>

int main(int argc, char *argv[])
{
  int sum = 0;
  
  for (int i = 0; i < argc; i++)
  {
    sum += argv[i];
  }
  
  if (sum <= 21) {
    printf("win");
  } else {
    printf("bust");
  }
}

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

#include <iostream>

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:5:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |         cin>>a>>b>>c;
      |         ^~~
      |         std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:24: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |         if (a+b+c>=22) cout<<"bust"<<endl;
      |                        ^~~~
      |                        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:38: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    6 |         if (a+b+c>=22) cout<<"bust"<<endl;
      |                                      ^~~~
      |                                      std::endl
In file included from /usr/include/c++/14/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:7:14: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |         else cout<<"win"<<endl;
      |              ^~~~
      |              std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:27: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |         else cout<<"win"<<endl;
      |                           ^~~~
      |                           std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
  int a1,a2,a3;
  cin>>a1;
  cin>>a2;
  cin>>a3;
  if((a1>=1 && a1<=13) && (a2>=1 && a2<=13) && (a3>=1 << a3<=13)
     {
       if((a1+a2+a3) >= 22)
         cout<<"bust";
        else
          cout<<"win";
      } 
     }

Compiler output:
a.cc: In function 'int main()':
a.cc:9:65: error: expected ')' before '{' token
    9 |   if((a1>=1 && a1<=13) && (a2>=1 && a2<=13) && (a3>=1 << a3<=13)
      |     ~                                                           ^
      |                                                                 )
   10 |      {
      |      ~                                                           
a.cc:16:6: error: expected primary-expression before '}' token
   16 |      }
      |      ^
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 if(a+b+c <= 21){
    printf("win");
  }
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:5:13: error: expected expression before '>' token
    5 |   if(a+b+c => 22){
      |             ^
Language: C++

#include <bits/stdc++.h>
#include <ext/pb_ds/assoc_container.hpp> // Common file
#include <ext/pb_ds/tree_policy.hpp> // Including tree_order_statistics_node_update
 
using namespace std;
using namespace __gnu_pbds;
 
//find_by_order gives kth-largest element
//order_of_key gives the number of items in the set that are strictly smaller!!
 
// OT.find_by_order(k-1)
// 
typedef tree<int, null_type, less<int>, rb_tree_tag, tree_order_statistics_node_update> ordered_set;
 
#define db(x) cerr << #x << "=" << x << endl
#define db2(x, y) cerr << #x << "=" << x << "," << #y << "=" << y << endl
#define db3(x, y, z) cerr << #x << "=" << x << "," << #y << "=" << y << "," << #z << "=" << z << endl
#define db4(x, y, z, w) cerr << #x << "=" << x << "," << #y << "=" << y << "," << #z << "=" << z << "," << #w << "=" << w << endl
#define ll long long
#define pb push_back
#define eb emplace_back
#define all(x) (x).begin(), (x).end()
#define mp make_pair
#define X first
#define Y second
#define sz(x) (int)((x).size())
#define pii pair<int,int>
#define MOD (ll)(1e9 + 7)
#define rep(i, n)    for(int i = 0; i < (n); ++i)
#define repA(i, a, n)  for(int i = a; i <= (n); ++i)
#define repD(i, a, n)  for(int i = a; i >= (n); --i)
#define trav(a, x) for(auto& a : x)
typedef vector<int> vi;
#define inf (ll)(1e18)
#define double long double
#define int long long
 
//////////////////////
const int N = 100005;


int32_t main() {
 
    ios::sync_with_stdio(false);
    cin.tie(0); 
    cout.tie(0);
	
	int tt = 1;
	// cin >> tt;

	while(tt--) {
		// int a[3];
		rep(i,3) {
			int a;
			cin>>a;
			sum += a;
		}
		if(sum>=2) cout << "bust\n";
		else cout << "win\n";
	}
}

		

Compiler output:
a.cc: In function 'int32_t main()':
a.cc:56:25: error: 'sum' was not declared in this scope
   56 |                         sum += a;
      |                         ^~~
a.cc:58:20: error: 'sum' was not declared in this scope
   58 |                 if(sum>=2) cout << "bust\n";
      |                    ^~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:20: error: lvalue required as left operand of assignment
    6 |         if(a+b+c>22||a+b+c=22){
      |            ~~~~~~~~^~~~~~~
a.cc:9:14: error: expected primary-expression before ')' token
    9 |         else(){
      |              ^
Language: C++

a,b,c=map(int,imput().split())
  if a+b+c >=22:
print("bust")
  if a+b+c <=22:
print("win")

Compiler output:
a.cc:1:1: error: 'a' does not name a type
    1 | a,b,c=map(int,imput().split())
      | ^