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

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

Compiler output:
Main.java:4: error: variable s is already defined in method main(String[])
    Scanner s = new Scanner(System.in);
            ^
Main.java:5: error: cannot find symbol
    int a =sc.nextInt()+sc.nextInt()+sc.nextInt()-21;
           ^
  symbol:   variable sc
  location: class Main
Main.java:5: error: cannot find symbol
    int a =sc.nextInt()+sc.nextInt()+sc.nextInt()-21;
                        ^
  symbol:   variable sc
  location: class Main
Main.java:5: error: cannot find symbol
    int a =sc.nextInt()+sc.nextInt()+sc.nextInt()-21;
                                     ^
  symbol:   variable sc
  location: class Main
4 errors
Language: C

#include <stdio.h>
int main(void){
  int a,b,c;
  scanf("%d%d%d",&a,&b,&c);
  int sum=a+b+c;
  if(sum<=21) printf("win");
  else print("bust");
}

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

#include <stdio.h>

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

        scanf("%d %d %d",&a,&b,&c);

        sum = a + b + c;

        if (sum >= 22){
                printf("bust\n");
        }
        else{
                printf("win\n");
        }
}

~                                                                            ~                              

Compiler output:
main.c:19:1: error: expected identifier or '(' before '~' token
   19 | ~                                                                            ~
      | ^
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\n");
                }
        return 0;
}

~                            

Compiler output:
main.c:16:1: error: expected identifier or '(' before '~' token
   16 | ~
      | ^
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 if ( a + b + c <= 21){
                printf("win\n");
                }
        return 0;
}

~                   

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

#include<stdio.h>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   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:11:5: error: 'cout' was not declared in this scope
   11 |     cout<<"bust"<<'\n';
      |     ^~~~
a.cc:11:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:5: error: 'cout' was not declared in this scope
   14 |     cout<<"win"<<'\n';
      |     ^~~~
a.cc:14:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C

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

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

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:12:20: error: expected ';' before '}' token
   12 |     printf("win\n")
      |                    ^
      |                    ;
   13 |   }
      |   ~
Language: C++

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

int main() {
  int A1 , A2 , A3 ; 
  
  if (A1 + A2 + A3 >= 22){
    cout << bust << endl  ;
  }
  else {
    cout << win << endl ; 
  }
  
  
  
  
  
  
  
  
  
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:13: error: 'bust' was not declared in this scope
    8 |     cout << bust << endl  ;
      |             ^~~~
a.cc:11:13: error: 'win' was not declared in this scope; did you mean 'sin'?
   11 |     cout << win << endl ;
      |             ^~~
      |             sin
Language: C++

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

int main() {
  int A1 , A2 , A3 ; 
  
  if (A1 + A2 + A3 >= 22){
    cout << bust << endl  ;
  }
  else {
    cout << win << endl ; 
  }
  
  
  
  
  
  
  
  
  
}

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: 'cuot' was not declared in this scope
   12 |     cuot << "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" << enld;
  } else {
    cout << "win" <<endl;
  }
}

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

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

int main(){
  ios::sync_with_stdio(false);
  cin.tie(0);
  int a,b,c;
  string s,t="bust";
  cin >>a>.b>>c;
  if(a+b+c<22)t="win";
  cout <<t;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: expected primary-expression before '.' token
   13 |   cin >>a>.b>>c;
      |           ^
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 << "bust" NN endl;
  }
  else{
    cout << "win" << endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: expected ';' before 'NN'
    8 |     cout << "bust" NN endl;
      |                   ^~~
      |                   ;
Language: C++

#include <iostream>
#include <vector>
#include <cmath>
#include <iomanip>
#include <algorithm>
#include <queue>
using namespace std;
#define rep(i,n) for(int i=0; i<(n); i++)
#define all(x) (x).begin(), (x).end()

int main() {
    int n,m.l;
    cin>>n>>m>>l;
    if(n+m+l>21)cout<<"bust";
    else cout<<"win";
    
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:12: error: expected initializer before '.' token
   12 |     int n,m.l;
      |            ^
a.cc:13:13: error: 'm' was not declared in this scope
   13 |     cin>>n>>m>>l;
      |             ^
a.cc:13:16: error: 'l' was not declared in this scope
   13 |     cin>>n>>m>>l;
      |                ^
Language: Java

import java.util.*;
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 <=13){
      	if(a+b+c>=22){
			System.out.println("bust");
     	 }else if(a+b+c<21){
       		System.out.println("win");
      	}
      }
	}
}

Compiler output:
Main.java:10: error: ')' expected
      if(a,b,c <=13){
          ^
Main.java:10: error: not a statement
      if(a,b,c <=13){
           ^
Main.java:10: error: ';' expected
      if(a,b,c <=13){
            ^
Main.java:10: error: not a statement
      if(a,b,c <=13){
               ^
Main.java:10: error: ';' expected
      if(a,b,c <=13){
                   ^
5 errors
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:46: error: 'ednl' was not declared in this scope
    9 |     cout << ((a+b+c)>=22? "bust" : "win") << ednl;
      |                                              ^~~~
Language: C++

#include <map>
#include <set>
#include <list>
#include <cmath>
#include <deque>
#include <stack>
#include <queue>
#include <bitset>
#include <cstdio>
#include <string>
#include <vector>
#include <random>
#include <chrono>
#include <utility>
#include <numeric>
#include <cstdlib>
#include <cstring>
#include <climits>
#include <sstream>
#include <assert.h>
#include <iostream>
#include <iomanip>
#include <algorithm>
#include <unordered_map>
using namespace std;

void __print(int x) {cerr << x;}
void __print(long x) {cerr << x;}
void __print(float x) {cerr << x;}
void __print(double x) {cerr << x;}
void __print(unsigned x) {cerr << x;}
void __print(long long x) {cerr << x;}
void __print(long double x) {cerr << x;}
void __print(unsigned long x) {cerr << x;}
void __print(unsigned long long x) {cerr << x;}
void __print(char x) {cerr << '\'' << x << '\'';}
void __print(bool x) {cerr << (x ? "true" : "false");}
void __print(const char *x) {cerr << '\"' << x << '\"';}
void __print(const string &x) {cerr << '\"' << x << '\"';}

template<typename T, typename V> void __print(const pair<T, V> &x) {cerr << '{'; __print(x.first); cerr << ','; __print(x.second); cerr << '}';}
template<typename T>void __print(const T &x) {int f = 0; cerr << '{'; for (auto &i : x) cerr << (f++ ? "," : ""), __print(i); cerr << "}";} void _print() {cerr << "]\n";}
template <typename T, typename... V>void _print(T t, V... v) {__print(t); if (sizeof...(v)) cerr << ", "; _print(v...);}
#ifdef HOME
#warning CHECK int:ll::INT_MAX:LLONG_MAX
#define maxn 20
#define debug(x...) cerr << "[" << #x << "] = ["; _print(x)
#else
#define maxn 2000006
#define gcd __gcd
#define debug(x...)
#endif

#define ff first
#define endl '\n'
#define ss second
#define inf 0x3f3f3f3f
#define MOD 1000000007
#define PI 3.14159265358979323846264338327950L
#define f(i,x,n) for(int i=x;i<=n;i++)
#define fr(i,x,n) for(int i=x;i>=n;i--)
struct _ { ios_base::Init i; _() { ios_base::sync_with_stdio(false), cin.tie(NULL), cout.tie(NULL); } } _;

int dx[] = { -1, 0, 1, 0, -1, -1, 1, 1};
int dy[] = {0, 1, 0, -1, -1, 1, 1, -1};


int main() {

	vector<int> a(3); for (int i = 0; i <= 2; i++) cin>>a[i], s+=a[i];

	if(s>=22) cout<<"bust";
	else cout<<"win";

	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:70:67: error: 's' was not declared in this scope
   70 |         vector<int> a(3); for (int i = 0; i <= 2; i++) cin>>a[i], s+=a[i];
      |                                                                   ^
a.cc:72:12: error: 's' was not declared in this scope
   72 |         if(s>=22) cout<<"bust";
      |            ^
Language: C++

#include<iiostream>
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: iiostream: No such file or directory
    1 | #include<iiostream>
      |         ^~~~~~~~~~~
compilation terminated.
Language: C++

#include <iostream>
#include <string>
using namespace std;
 
int main() {
	int A, B, C;
	cin>>A>>B>>C;
	if(A+B+C>=22){
		cout<<"bus"';
	}else
		cout<<"win"
}

Compiler output:
a.cc:9:28: warning: missing terminating ' character
    9 |                 cout<<"bus"';
      |                            ^
a.cc:9:28: error: missing terminating ' character
    9 |                 cout<<"bus"';
      |                            ^~
a.cc: In function 'int main()':
a.cc:9:28: error: expected ';' before '}' token
    9 |                 cout<<"bus"';
      |                            ^
      |                            ;
   10 |         }else
      |         ~                   
a.cc:11:28: error: expected ';' before '}' token
   11 |                 cout<<"win"
      |                            ^
      |                            ;
   12 | }
      | ~
Language: C

#include<stdio.h>

int main()

{
 int a,b,c;
 
scanf("%d %d %d",&a,&b,c);
 
sum=a+b+c;

if(sum>=22){
 printf("bust\n");
}

else{
printf("win\n");
}

return 0;
}

Compiler output:
main.c: In function 'main':
main.c:10:1: error: 'sum' undeclared (first use in this function)
   10 | sum=a+b+c;
      | ^~~
main.c:10:1: note: each undeclared identifier is reported only once for each function it appears in
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main(){
  int H,W;
  cin>>H>>W;
  vector<vector<int>>A(H,vector<int>(W));
  vector<vector<int>>B(H,vector<int>(W));
  for(int i=0;i<H;i++)
    for(int j=0;j<W;j++)
      cin>>A[i][j];
  for(int i=0;i<H;i++)
    for(int j=0;j<W;j++)
      cin>>B[i][j];
  vector<vector<int>>C(H,vector<int>(W));
  for(int i=0;i<H;i++)
    for(int j=0;j<W;j++)
      C[i][j]=A[i][j]-B[i][j];
  vector<vector<set<int>>>dp(H,vector<set<int>>(W));
  dp[0][0].insert(C[0][0]);
  for(int i=0;i<H;i++)
    for(int j=0;j<W;j++){
    if(0<=i-1)
      for(auto x:dp[i-1][j]){
        if(abs(x+C[i][j]<=6400)dp[i][j].insert(abs(x+C[i][j]));
        if(abs(x-C[i][j]<=6400)dp[i][j].insert(abs(x-C[i][j]));
      }
      if(0<=j-1)
        for(auto x:dp[i][j-1]){
          if(abs(x+C[i][j]<=6400)dp[i][j].insert(abs(x+C[i][j]));
          if(abs(x-C[i][j]<=6400)dp[i][j].insert(abs(x-C[i][j]));
        }
      }int ans=100000;
  for(auto x:dp[H-1][W-1])
    if(abs(x)<ans)ans=abs(x);
  cout<<ans<<endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:24:32: error: expected ';' before 'dp'
   24 |         if(abs(x+C[i][j]<=6400)dp[i][j].insert(abs(x+C[i][j]));
      |                                ^~
      |                                ;
a.cc:25:9: error: expected primary-expression before 'if'
   25 |         if(abs(x-C[i][j]<=6400)dp[i][j].insert(abs(x-C[i][j]));
      |         ^~
a.cc:24:64: error: expected ')' before 'if'
   24 |         if(abs(x+C[i][j]<=6400)dp[i][j].insert(abs(x+C[i][j]));
      |           ~                                                    ^
      |                                                                )
   25 |         if(abs(x-C[i][j]<=6400)dp[i][j].insert(abs(x-C[i][j]));
      |         ~~                                                      
a.cc:29:34: error: expected ';' before 'dp'
   29 |           if(abs(x+C[i][j]<=6400)dp[i][j].insert(abs(x+C[i][j]));
      |                                  ^~
      |                                  ;
a.cc:30:11: error: expected primary-expression before 'if'
   30 |           if(abs(x-C[i][j]<=6400)dp[i][j].insert(abs(x-C[i][j]));
      |           ^~
a.cc:29:66: error: expected ')' before 'if'
   29 |           if(abs(x+C[i][j]<=6400)dp[i][j].insert(abs(x+C[i][j]));
      |             ~                                                    ^
      |                                                                  )
   30 |           if(abs(x-C[i][j]<=6400)dp[i][j].insert(abs(x-C[i][j]));
      |           ~~
Language: C++

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

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

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

#include<iostream>
using namespace std;
int main() {
    vector<int> arr;
    for(int i=0;i<3;++i) {
    int temp=0;
    cin>>temp;
    arr.emplace_back(temp);
    } 
    if(arr.accumulate(arr.begin(),arr.end())>=22)
    cout<<"bust\n";
    else
    {
        cout<<"win\n";
    }
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:5: error: 'vector' was not declared in this scope
    4 |     vector<int> arr;
      |     ^~~~~~
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 | using namespace std;
a.cc:4:12: error: expected primary-expression before 'int'
    4 |     vector<int> arr;
      |            ^~~
a.cc:8:5: error: 'arr' was not declared in this scope
    8 |     arr.emplace_back(temp);
      |     ^~~
a.cc:10:8: error: 'arr' was not declared in this scope
   10 |     if(arr.accumulate(arr.begin(),arr.end())>=22)
      |        ^~~
Language: C++

#include<bits.stdc++.h>
using namespace std;
int main() {
    vector<int> arr;
    for(int i=0;i<3;++i) {
    int temp=0;
    cin>>temp;
    arr.emplace_back(temp);
    } 
    if(arr.accumulate(arr.begin(),arr.end())>=22)
    cout<<"bust\n";
    else
    {
        cout<<"win\n";
    }
    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: Java

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

Compiler output:
Main.java:3: error: cannot find symbol
		Scanner s = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:3: error: cannot find symbol
		Scanner s = new Scanner(System.in);
		                ^
  symbol:   class Scanner
  location: class Main
2 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"<<"\n";
else{
cout<<"win"<<"\n";}
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: expected '}' before 'else'
    8 | else{
      | ^~~~
a.cc:6:16: note: to match this '{'
    6 | 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"<<"\n";
else{
cout<<"win"<<"\n";
return 0;}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: expected '}' before 'else'
    8 | else{
      | ^~~~
a.cc:6:16: note: to match this '{'
    6 | if((a+b+c)>=22){
      |                ^
a.cc:10:11: error: expected '}' at end of input
   10 | return 0;}
      |           ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
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"<<"\n";
else{
cout<<"win"<<"\n";
return;}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:1: error: expected '}' before 'else'
    8 | else{
      | ^~~~
a.cc:6:16: note: to match this '{'
    6 | if((a+b+c)>=22){
      |                ^
a.cc:10:1: error: return-statement with no value, in function returning 'int' [-fpermissive]
   10 | return;}
      | ^~~~~~
a.cc:10:9: error: expected '}' at end of input
   10 | return;}
      |         ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
typedef long long ll;
void solve(int x,int a,int b)
{
    if(x+a+b>=22)
        cout<<"bust";
    else:
        cout<<"win";
}
int main()
{
    int x,a,b;
    cin>>a>>b>>x;
    solve(a,b,x);
    return 0;
}

Compiler output:
a.cc: In function 'void solve(int, int, int)':
a.cc:8:9: error: expected primary-expression before ':' token
    8 |     else:
      |         ^
Language: C++

#include <bits/stdc++.h>
#include <math.h>
#define _GLIBCXX_DEBUG
using namespace std;
int main() {

  int x,y,z;cin>>x>>y>>z;
  
  int sum=x+y+z;
  
  if(sum<22){
    cout<<"win"<<endl;
  }
  else{
    cout<<"bust"<<endl;
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:16:4: error: expected '}' at end of input
   16 |   }
      |    ^
a.cc:5:12: note: to match this '{'
    5 | int main() {
      |            ^
Language: Java

public class Main {
    public static void main(String[] args) throws Exception {
        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("win");
        }
        
        else {
           System.out.println("bust");
    } 
    }
}

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

public class test{
public static void main(string[] args){
  if(args[0]+args[1]+args[2]>=22) system.out.println("bust");
    else system.out.println("win");
    }
}

Compiler output:
Main.java:1: error: class test is public, should be declared in a file named test.java
public class test{
       ^
Main.java:2: error: cannot find symbol
public static void main(string[] args){
                        ^
  symbol:   class string
  location: class test
Main.java:3: error: package system does not exist
  if(args[0]+args[1]+args[2]>=22) system.out.println("bust");
                                        ^
Main.java:4: error: package system does not exist
    else system.out.println("win");
               ^
4 errors
Language: Java

public class test{
public static void main(string[] args){
  if(args[0]+args[1]+args[2]>=22) system.out.println("bust")
    else system.out.println("win")
    }
}

Compiler output:
Main.java:3: error: ';' expected
  if(args[0]+args[1]+args[2]>=22) system.out.println("bust")
                                                            ^
Main.java:4: error: ';' expected
    else system.out.println("win")
                                  ^
2 errors
Language: Java

public static void main(string[] args){
  if(args[0]+args[1]+args[2]>=22) system.out.println("bust")
    else system.out.println("win")
    }

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(string[] args){
              ^
  (use --enable-preview to enable unnamed classes)
Main.java:2: error: ';' expected
  if(args[0]+args[1]+args[2]>=22) system.out.println("bust")
                                                            ^
Main.java:3: error: ';' expected
    else system.out.println("win")
                                  ^
3 errors
Language: C++

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

int main(){
	int a, b, c;
	cin >> a >> b >> c;

	if(a+b+c <= 21) cout << "win" << endl;
	else cout << bust << endl;

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: 'bust' was not declared in this scope
   10 |         else cout << bust << endl;
      |                      ^~~~
Language: Java

	
import java.util.Scanner;
	publicclassMain{
	publicstaticvoid main(String[] args){
	Scanner sc =newScanner(System.in);
	int a = sc.nextInt();
	int b =sc.nextInt();
	int c =sc.nextInt();
	if(a+b+c>=22){
	System.out.println("bust");
	}elseif(a+b+c<=21){
	System.out.println("win");
	}
	}
	}





Compiler output:
Main.java:3: error: class, interface, enum, or record expected
	publicclassMain{
	^
Main.java:6: error: unnamed classes are a preview feature and are disabled by default.
	int a = sc.nextInt();
	^
  (use --enable-preview to enable unnamed classes)
Main.java:9: error: class, interface, enum, or record expected
	if(a+b+c>=22){
	^
Main.java:11: error: class, interface, enum, or record expected
	}elseif(a+b+c<=21){
	^
Main.java:13: error: class, interface, enum, or record expected
	}
	^
5 errors
Language: C++

#include <bits/stdc++.h>
#define rep(i,n1) for(int i=0;i<n1;++i)
#define rrep(i,n) for(int i=n-1;i>=0;--i)
#define REP(i,a,b) for(int i=a;i<b;i++)
#define yesno(flg) if(flg){cout<<'YES'<<endl;}else{cout<<'NO'<<endl;}
#define vi vector<int>
#define pb push_back
#define i197 1000000007
#define MAX_N 200002
#define PI 3.141592653589793
using namespace std;

typedef long long ll;
typedef pair<int,int> Pii;
typedef pair<Pii,int> Piii;
typedef pair<int,ll> Pil;
typedef pair<ll,ll> Pll;
typedef pair<string,int> Psi;
typedef pair<Psi,int> Psii;

const ll inf=1000000007;
struct edge{
	int myc,to,c,cost;
};
struct pos{
	int to,cost,color;
};
int dy[]={0, 0, 1, -1};
int dx[]={1, -1, 0, 0};

vector<Pii> v[100001];
int dp[100001]={};
int dp2[100001]={};

int main() {
	int a1,a2,a3;
	cin>>a1>>a2>>a3;
	if(a1+a2+a3>21){
		printf("bust");
	}else{
		printf("win"):

	}

	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:41:30: error: expected ';' before ':' token
   41 |                 printf("win"):
      |                              ^
      |                              ;
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:32: error: expected ';' before ':' token
   13 |                 cout << "win\n":
      |                                ^
      |                                ;
Language: Java

import com.sun.deploy.panel.ITreeNode;
import java.nio.file.*;
import java.nio.charset.*;
import java.util.*;
import java.io.*;

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();
        System.out.println(a+b+c>=22?"bust":"win");




    }
    }



Compiler output:
Main.java:1: error: package com.sun.deploy.panel does not exist
import com.sun.deploy.panel.ITreeNode;
                           ^
1 error
Language: C

#include <STDIO.H>

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

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

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

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:2:17: error: 'syd' is not a namespace-name
    2 | using namespace syd;
      |                 ^~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:9:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |     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:9:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |     cout << "bust" << endl;
      |                       ^~~~
      |                       std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |     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:11:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   11 |     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 <bits.stdc++.h>
using namespace syd;

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

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

#include<iostream>
#include<vector>
#include<algorithm>
#include<string>
#define ll long long
using namespace std;

const ll mod = 1e9 + 7;

ll C[2005][2005];
ll dp[100005][13];


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


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

#include<iostream>
#include<cmath>
#include<string>

using namespace std;


int main(){
    int A1,A2,A3;
    stirng answer;
    for(int i=0;i<3;i++){
        cin >> A1 >> A2 >> A3;
    }
    if(A1+A2+A3>21) answer="bust";
    else answer="win";
    cout <<answer<< endl;
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'stirng' was not declared in this scope
   10 |     stirng answer;
      |     ^~~~~~
a.cc:14:21: error: 'answer' was not declared in this scope
   14 |     if(A1+A2+A3>21) answer="bust";
      |                     ^~~~~~
a.cc:15:10: error: 'answer' was not declared in this scope
   15 |     else answer="win";
      |          ^~~~~~
a.cc:16:12: error: 'answer' was not declared in this scope
   16 |     cout <<answer<< endl;
      |            ^~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before 'cout'
    8 |   cin >> a >> b >> c
      |                     ^
      |                     ;
    9 |   cout << (a+b+c<22?"win":"bust") >> endl;
      |   ~~~~
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:8:4: error: 'eise' undeclared (first use in this function)
    8 |   }eise{
      |    ^~~~
main.c:8:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:8: error: expected ';' before '{' token
    8 |   }eise{
      |        ^
      |        ;
Language: C

#include <stdio.h>

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


Compiler output:
main.c: In function 'main':
main.c:8:4: error: 'eise' undeclared (first use in this function)
    8 |   }eise{
      |    ^~~~
main.c:8:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:8: error: expected ';' before '{' token
    8 |   }eise{
      |        ^
      |        ;
main.c:11:3: error: expected declaration or statement at end of input
   11 |   }
      |   ^
Language: C

#include <stdio.h>

int main (void){
  int A1,A2,A3;
  scanf("%d,%d,%d", A1,A2,A3);
  if(A1+A2+A3>=22){
    printf("bust");
  }eise{
    printf("win");
    return 0;
  }

Compiler output:
main.c: In function 'main':
main.c:8:4: error: 'eise' undeclared (first use in this function)
    8 |   }eise{
      |    ^~~~
main.c:8:4: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:8: error: expected ';' before '{' token
    8 |   }eise{
      |        ^
      |        ;
main.c:11:3: error: expected declaration or statement at end of input
   11 |   }
      |   ^
Language: C

　int main (void)
  {
  	int A1, A2, A3;
  	if (A1+A2+A3 > 21){
  		printf("bust");
    		}else{
    	printf("win");
    	}
    	return 0;
    }
    

Compiler output:
main.c:1:1: error: stray '\343' in program
    1 | <U+3000>int main (void)
      | ^~~~~~~~
main.c: In function 'main':
main.c:5:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    5 |                 printf("bust");
      |                 ^~~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'printf'
  +++ |+#include <stdio.h>
    1 | 　int main (void)
main.c:5:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    5 |                 printf("bust");
      |                 ^~~~~~
main.c:5:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:7:9: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
    7 |         printf("win");
      |         ^~~~~~
main.c:7:9: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

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

int main()
{
  ios_base::sync_with_stdio(0);
  cin.tie(0);
  cout.tie(0);
  cin>>a>>b>>c;
  if(a+b+c >= 22 )
  	cout<<"bust";
  else
  	cout<<"win";


  return 0;
}

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

import sys, math
from pprint import pprint
input = sys.stdin.readline
rs = lambda: input().strip()
ri = lambda: int(input())
rl = lambda: list(map(int, input().split()))
mod = 10**9 + 7

A = rl()

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


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

#include<stdio.h>

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

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

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

int main(){
  int k=0;
  for(int i=0;i<3;i++){
    int a;
    cin >> a;
    k+=a;
  }
  if(a>=22)
    cout << "bust" << endl;
  else
    cout << "win" << endl;
}

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected ')' before '{' token
   10 |   for(int i=0;i<3;i++{
      |      ~               ^
      |                      )
Language: Java

import java.util.Scanner;

public class Main{
  public satatic void main(String[] args){
    
    Scanner scanner = new Scanner(System.in);
      
    int A = scanner.nextInt();
    int B = scanner.nextInt();
    int C = scanner.nextInt();
    
    int sum = A + B + C;
    
    if(sum >= 22){
      System.out.println("bust");
    }else{
      System.out.println("win");
    }
  
  }
  
}

    
    


Compiler output:
Main.java:4: error: <identifier> expected
  public satatic void main(String[] args){
                ^
1 error
Language: Java

import java.util.Scanner;

class Main{
  public satatic void(String[] args){
    
    Scanner scanner = new Scanner(System.in)
      
    int A = scanner.nextInt();
    int B = scanner.nextInt();
    int C = scanner.nextInt();
    
    int sum = A + B + C;
    
    if(sum >= 22){
      System.out.println("bust");
    }else{
      System.out.println("win");
    }
  
  }
  
}

    
    

Compiler output:
Main.java:4: error: <identifier> expected
  public satatic void(String[] args){
                ^
Main.java:4: error: <identifier> expected
  public satatic void(String[] args){
                     ^
Main.java:6: error: ';' expected
    Scanner scanner = new Scanner(System.in)
                                            ^
3 errors
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 << "bust";
  else cout >> "win";
}


Compiler output:
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main {
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a,b,c;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b >> c;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if(a+b+c>21) cout << "bust";
      |   ^~
a.cc:8:3: error: expected unqualified-id before 'else'
    8 |   else cout >> "win";
      |   ^~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
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 << "bust";
  else cout >> "win";
}

Compiler output:
a.cc:1:25: warning: extra tokens at end of #include directive
    1 | #include <bits/stdc++.h>;
      |                         ^
a.cc:4:5: error: cannot declare '::main' to be a global variable
    4 | int main {
      |     ^~~~
a.cc:5:3: error: expected primary-expression before 'int'
    5 |   int a,b,c;
      |   ^~~
a.cc:5:3: error: expected '}' before 'int'
a.cc:4:10: note: to match this '{'
    4 | int main {
      |          ^
a.cc:6:3: error: 'cin' does not name a type
    6 |   cin >> a >> b >> c;
      |   ^~~
a.cc:7:3: error: expected unqualified-id before 'if'
    7 |   if(a+b+c>21) cout << "bust";
      |   ^~
a.cc:8:3: error: expected unqualified-id before 'else'
    8 |   else cout >> "win";
      |   ^~~~
a.cc:9:1: error: expected declaration before '}' token
    9 | }
      | ^
Language: C++

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inckude; did you mean #include?
    1 | #inckude<bits/stdc++.h>
      |  ^~~~~~~
      |  include
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:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #inckude<bits/stdc++.h>
a.cc:9:6: error: 'cout' was not declared in this scope
    9 |      cout<<"bust"<<endl;
      |      ^~~~
a.cc:9:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:20: error: 'endl' was not declared in this scope
    9 |      cout<<"bust"<<endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #inckude<bits/stdc++.h>
a.cc:12:6: error: 'cout' was not declared in this scope
   12 |      cout<<"win"<<endl;
      |      ^~~~
a.cc:12:6: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:12:19: error: 'endl' was not declared in this scope
   12 |      cout<<"win"<<endl;
      |                   ^~~~
a.cc:12:19: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

#include <bits/stdc++.h>
#define pb push_back
#include<ext/pb_ds/assoc_container.hpp>
#include<ext/pb_ds/tree_policy.hpp>
#define db(x) (cerr << #x << ": " << (x) << '\n')
#define cps CLOCKS_PER_SEC
#define tests(t) int t; cin >> t; while(t--)
#define iceil(n, x) (((n) + (x) - 1) / (x))
#define ll long long
#define ld double
#define eb emplace_back
#define pb push_back
#define pf push_front
#define pob pop_back
#define pof pop_front
#define sz size()
#define all(v) (v).begin(), (v).end()
#define uni(v) sort(all(v)), (v).erase(unique(all(v)), (v).end())
#define fi first
#define se second
#define bitcount(x) __builtin_popcount(x)
#define PI acos(-1.0)
#define EPS 1e-9
#define mod 1000000007

#define par pair<int, int>
#define maxn 200005

using namespace std;
///All indexing is 0-based
using namespace __gnu_pbds;
template<class key, class cmp = std::less<key>>
using ordered_set = tree<key, null_type, cmp, rb_tree_tag, tree_order_statistics_node_update>;
///methods: find_by_order(k); & order_of_key(k);
///To make it an ordered_multiset, use pairs of (value, time_of_insertion)
///to distinguish values which are similar

int a,b,c;


int main()
{
    #ifdef acm
    freopen("a.in","r",stdin);
    #endif // acm
    ios_base::sync_with_stdio(0);
    cin.tie(0);
    
    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:53:24: error: expected ';' before '}' token
   53 |         cout << "win\n"
      |                        ^
      |                        ;
......
   57 | }
      | ~
Language: C++

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

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


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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:7: error: 'i' was not declared in this scope
    6 |   for(i = 0; i < 3; i++){
      |       ^
a.cc:14:2: error: expected '}' at end of input
   14 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:13: error: expected '(' before 'cout'
   11 |     else if cout<<"win"<<endl;
      |             ^~~~
      |             (
Language: C++

#include<iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:6: error: '\U000000e5' was not declared in this scope
    9 |     }å
      |      ^
Language: C++

using System;
using System.Collections.Generic;
using System.Linq;

namespace AtCoderCs
{

    class Program
    {

        const int Mod = 1000000007;

        static void Main()
        {

            Console.WriteLine((Console.ReadLine().Split(' ').Select(x => int.Parse(x)).Sum() < 22 ? "win" : "bust"));

        }


    }
}


Compiler output:
a.cc:1:7: error: expected nested-name-specifier before 'System'
    1 | using System;
      |       ^~~~~~
a.cc:2:7: error: expected nested-name-specifier before 'System'
    2 | using System.Collections.Generic;
      |       ^~~~~~
a.cc:3:7: error: expected nested-name-specifier before 'System'
    3 | using System.Linq;
      |       ^~~~~~
a.cc:21:6: error: expected ';' after class definition
   21 |     }
      |      ^
      |      ;
a.cc: In static member function 'static void AtCoderCs::Program::Main()':
a.cc:16:13: error: 'Console' was not declared in this scope
   16 |             Console.WriteLine((Console.ReadLine().Split(' ').Select(x => int.Parse(x)).Sum() < 22 ? "win" : "bust"));
      |             ^~~~~~~
a.cc:16:69: error: 'x' was not declared in this scope
   16 |             Console.WriteLine((Console.ReadLine().Split(' ').Select(x => int.Parse(x)).Sum() < 22 ? "win" : "bust"));
      |                                                                     ^
a.cc:16:72: error: expected primary-expression before '>' token
   16 |             Console.WriteLine((Console.ReadLine().Split(' ').Select(x => int.Parse(x)).Sum() < 22 ? "win" : "bust"));
      |                                                                        ^
a.cc:16:74: error: expected primary-expression before 'int'
   16 |             Console.WriteLine((Console.ReadLine().Split(' ').Select(x => int.Parse(x)).Sum() < 22 ? "win" : "bust"));
      |                                                                          ^~~
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 << "win" << endl;
  }else{
    
    cout << "bust" << endl;
  }
  
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:20: error: 'c' was not declared in this scope
    8 |   cin >> A >> B >> c;
      |                    ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:10: error: expected initializer before '+=' token
    8 |   int sum+=a+b+c;
      |          ^~
a.cc:10:6: error: 'sum' was not declared in this scope
   10 |   if(sum>=22)
      |      ^~~
Language: Java

import java.util.*;

public class Main {
  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.print("bust");
    } else {
      System.out.print("win");
  }
}

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