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

class practice1{
  static void main(){
   int x,y,z,v;
   if(x==0||x>=14){
     return;
   }
   if(1<=x<=13){
    v=x+y+z;
     if(v<=21){
       System.out.print("win")
     }
     else{
       System.out.print("bust")
   }
   }
  }
  }
    

Compiler output:
Main.java:10: error: ';' expected
       System.out.print("win")
                              ^
Main.java:13: error: ';' expected
       System.out.print("bust")
                               ^
2 errors
Language: C++

#include<bits/stdc++.h>
using namespace std;
/*******  All Required define Pre-Processors and typedef Constants *******/
#define SCD(t) scanf("%d",&t)
#define SCLD(t) scanf("%ld",&t)
#define SCLLD(t) scanf("%lld",&t)
#define SCC(t) scanf("%c",&t)
#define SCS(t) scanf("%s",t)
#define SCF(t) scanf("%f",&t)
#define SCLF(t) scanf("%lf",&t)
#define mem(a, b) memset(a, (b), sizeof(a))
#define rep(i, j, k) for (int i = j ; i < k ; ++i)
#define rrep(i, j, k) for (int i = j; i > k; --i)
#define all(cont) cont.begin(), cont.end()
#define rall(cont) cont.end(), cont.begin()
#define foreach(i, a) for(auto i: a)
#define forEach(it, l) for (auto it = l.begin(); it != l.end(); it++)
#define in(A, B, C) assert( B <= A && A <= C)
#define mp make_pair
#define pb push_back
#define end "\n"
#define endl "\n"
#define inf (int) (1e9 + 7)
#define epsi 1e-9
#define PI 3.1415926535897932384626433832795
#define mod 1000000007
#define read(type) readInt<type>()
#define io ios::sync_with_stdio(false); cin.tie(0); cout.tie(0);
#define ll long long int
#define left tuyiuoi
#define right fgjhk
#define ss second
#define ff first
#define debug(a) cout << #a << ": " << a << endl
#define debuga1(a, l, r) rep(i, l, r) cout << a[i] << " "; cout << endl
#define Flag(n) cout << "here " << n << endl
const double pi=acos(-1.0);
typedef pair<int, int> pii;
typedef vector<int> vi;
typedef vector<ll> vl;
typedef vector<vl> vll;
typedef pair<ll, ll> pll;
typedef vector<string> vs;
typedef vector<pii> vii;
typedef vector<pll> vpll;
typedef vector<vi> vvi;
typedef map<int,int> MPII;
typedef set<int> SETI;
typedef multiset<int> MSETI;
typedef long int int32;
typedef unsigned long int uint32;
typedef long long int int64;
typedef unsigned long long int  uint64;
 
 
int main() {
    io;
    
    int a,b,c;
    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:61:21: error: expected primary-expression before ':' token
   61 |     if (a+b+c == 22):
      |                     ^
Language: C++

#include <iostream>

int main(){
    int a1, a2, a3;
    std::cin >> a1 >> a2 >> a3;

    std::string ans = "";
    if(a1 + a2 + a3 < 22){
        ans = "win";
    }else{
        ans = "bust";
    }

    std::cout << ans << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     std::cout << ans << endl;
      |                         ^~~~
      |                         std::endl
In file included from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

#include <iostream>

int main(){
    int a1, a2, a3;
    std::cin >> a1 >> a2 >> a3;

    std::string ans = "";
    if(a1 + a2 + a3 < 22){
        ans = "win";
    }else{
        ans = "bust";
    }

    cout << ans << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     cout << ans << endl;
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:14:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     cout << ans << 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)
      |     ^~~~
Language: C++

#include <iostream>
#include <string>

int main(){
    int a1, a2, a3;
    std::cin >> a1 >> a2 >> a3;

    string ans = "";
    if(a1 + a2 + a3 < 22){
        ans = "win";
    }else{
        ans = "bust";
    }

    cout << ans << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'string' was not declared in this scope
    8 |     string ans = "";
      |     ^~~~~~
a.cc:8:5: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:10:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   10 |         ans = "win";
      |         ^~~
      |         abs
a.cc:12:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   12 |         ans = "bust";
      |         ^~~
      |         abs
a.cc:15:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   15 |     cout << ans << 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:15:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
   15 |     cout << ans << endl;
      |             ^~~
      |             abs
a.cc:15:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   15 |     cout << ans << 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>

int main(){
    int a1, a2, a3;
    std::cin >> a1 >> a2 >> a3;

    string ans = "";
    if(a1 + a2 + a3 < 22){
        ans = "win";
    }else{
        ans = "bust";
    }

    cout << ans << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:5: error: 'string' was not declared in this scope
    7 |     string ans = "";
      |     ^~~~~~
a.cc:7:5: note: suggested alternatives:
In file included from /usr/include/c++/14/iosfwd:41,
                 from /usr/include/c++/14/ios:40,
                 from /usr/include/c++/14/ostream:40,
                 from /usr/include/c++/14/iostream:41,
                 from a.cc:1:
/usr/include/c++/14/bits/stringfwd.h:77:33: note:   'std::string'
   77 |   typedef basic_string<char>    string;
      |                                 ^~~~~~
In file included from /usr/include/c++/14/bits/locale_classes.h:40,
                 from /usr/include/c++/14/bits/ios_base.h:41,
                 from /usr/include/c++/14/ios:44:
/usr/include/c++/14/string:76:11: note:   'std::pmr::string'
   76 |     using string    = basic_string<char>;
      |           ^~~~~~
a.cc:9:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
    9 |         ans = "win";
      |         ^~~
      |         abs
a.cc:11:9: error: 'ans' was not declared in this scope; did you mean 'abs'?
   11 |         ans = "bust";
      |         ^~~
      |         abs
a.cc:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     cout << ans << 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:14:13: error: 'ans' was not declared in this scope; did you mean 'abs'?
   14 |     cout << ans << endl;
      |             ^~~
      |             abs
a.cc:14:20: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     cout << ans << 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 std;
int main(){
  int a=0,b=0,c=0;
  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:11:2: error: expected '}' at end of input
   11 | }
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:28: error: 'bust' was not declared in this scope
    7 |   if(A1+A2+A3<=22) cout << bust;
      |                            ^~~~
a.cc:8:28: error: 'win' was not declared in this scope; did you mean 'sin'?
    8 |   else             cout << win;
      |                            ^~~
      |                            sin
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:27: error: 'bust' was not declared in this scope
    7 |   if(A1+A2+A3<=22) cout = bust;
      |                           ^~~~
a.cc:8:27: error: 'win' was not declared in this scope; did you mean 'sin'?
    8 |   else             cout = win;
      |                           ^~~
      |                           sin
Language: C++

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

const int N = 3e5 + 5, md = 1e9 + 7;

inline int add(int x, int y) {
    x += y;
    if(x >= md) x -= md;
    return x;
}

inline int mul(int x, int y) { return 1ll * x * y % md; }


ll a[N];
int n, ans;

int main() {
   
  
  cin>>n;
for(register int i = 1; i <= n; i++)
	cin>>a[i];

 
 for(register int j = 0; j < 60; j++) {
	 int cnt = 0;
        for(register int i = 1; i <= n; i++)
		cnt += ((a[i]>>j)&1);
	//ll temp = 1LL<<j;
	//ans= (ans + ((temp % mod) * (cnt*(n-cnt)) ) % mod);
	ans = add (ans , mul((1LL << j) %md , mul(cnt,n-cnt)));
}

cout<<ans;
    return 0;
}


Compiler output:
a.cc:15:1: error: 'll' does not name a type
   15 | ll a[N];
      | ^~
a.cc: In function 'int main()':
a.cc:22:18: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   22 | for(register int i = 1; i <= n; i++)
      |                  ^
a.cc:23:14: error: 'a' was not declared in this scope
   23 |         cin>>a[i];
      |              ^
a.cc:26:19: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   26 |  for(register int j = 0; j < 60; j++) {
      |                   ^
a.cc:28:26: warning: ISO C++17 does not allow 'register' storage class specifier [-Wregister]
   28 |         for(register int i = 1; i <= n; i++)
      |                          ^
a.cc:29:26: error: 'a' was not declared in this scope
   29 |                 cnt += ((a[i]>>j)&1);
      |                          ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'use' does not name a type
    2 | use namespace std;
      | ^~~
a.cc: In function 'int main()':
a.cc:5:4: 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:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |      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:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |      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:6: error: expected '}' before 'else'
    8 |      else if(a+b+c<=22){
      |      ^~~~
a.cc:6:17: note: to match this '{'
    6 |    if(a+b+c>=22){
      |                 ^
a.cc:9:6: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    9 |      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:9:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    9 |      cout << "win" << endl;
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:10:7: error: expected '}' at end of input
   10 |      }
      |       ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

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

Compiler output:
a.cc:2:1: error: 'use' does not name a type
    2 | use namespace std;
      | ^~~
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:7:7: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |       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:25: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |       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:10:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |         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:10:26: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |         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>
use namespasestd;
 int main(){
   int a,b,c;
   cim >> a >> b >>c;
   if(a+b+c>22){
    cout << "bust" << endl;
   }
   else if(a+b+c<22){
     cout << "wont" << endl;
   }
 }
   
  

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include<iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:4: error: 'cim' was not declared in this scope
    5 |    cim >> a >> b >>c;
      |    ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout << "bust" << endl;
      |     ^~~~
a.cc:7:23: error: 'endl' was not declared in this scope
    7 |     cout << "bust" << endl;
      |                       ^~~~
a.cc:10:6: error: 'cout' was not declared in this scope
   10 |      cout << "wont" << endl;
      |      ^~~~
a.cc:10:24: error: 'endl' was not declared in this scope
   10 |      cout << "wont" << endl;
      |                        ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:21: error: expected ';' before 'if'
    5 |   cin >> a >> b >> c
      |                     ^
      |                     ;
    6 |   if(a+b+c>=22){
      |   ~~                 
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else if(a+b+c<22){
      |   ^~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:21: error: expected ';' before 'if'
    5 |   cin >> a >> b >> c
      |                     ^
      |                     ;
    6 |   if(a+b+c>=22){
      |   ~~                 
a.cc:9:3: error: 'else' without a previous 'if'
    9 |   else if(a+b+c<22){
      |   ^~~~
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected ')' before '{' token
    9 |   else fi (a+b+c < 219{
      |           ~           ^
      |                       )
Language: C++

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

Compiler output:
a.cc:2:17: error: expected identifier before 'int'
    2 | using namespace int;
      |                 ^~~
a.cc:2:16: error: expected ';' before 'int'
    2 | using namespace int;
      |                ^~~~
      |                ;
a.cc:2:17: error: declaration does not declare anything [-fpermissive]
    2 | using namespace int;
      |                 ^~~
a.cc: In function 'int main()':
a.cc:5:3: error: expected initializer before 'cin'
    5 |   cin >> a >> b >> c;
      |   ^~~
a.cc:6:10: error: 'c' was not declared in this scope
    6 |   if(a+b+c>=22){
      |          ^
a.cc:7:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |     cout << "bust" << endl;
      |     ^~~~
      |     std::cout
In file included from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    7 |     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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:10:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     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 a,b,c,sum;
  cin >> a >> b >> c;
    sum=a+b+c;
  if(sum >= 22){
    cout << bust << endl;
  }
  else if(sum <= 21){
  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:11: error: 'win' was not declared in this scope
   11 |   cout << win << endl;
      |           ^~~
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b,c,sum;
  cin >> a,b,c;
    sum=a+b+c;
  if(sum >= 22){
    cout << bust << endl;
  }
  else if(sum <= 21){
  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:11: error: 'win' was not declared in this scope
   11 |   cout << win << endl;
      |           ^~~
Language: C++

#include <iostream>
using namespace std;
int main(){
  int a,b,c,sum;
  cin >> a,b,c;
    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:13: error: 'bust' was not declared in this scope
    8 |     cout << bust << endl;
      |             ^~~~
a.cc:11:11: error: 'win' was not declared in this scope
   11 |   cout << win << endl;
      |           ^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: lvalue required as left operand of assignment
    5 |   cin >> a,b,c >>
      |              ~~^~
    6 |     sum=a+b+c;
      |     ~~~         
a.cc:8:13: error: 'bust' was not declared in this scope
    8 |     cout << bust << endl;
      |             ^~~~
a.cc:11:11: error: 'win' was not declared in this scope
   11 |   cout << win << endl;
      |           ^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: lvalue required as left operand of assignment
    5 |   cin >> a,b,c >>
      |              ~~^~
    6 |     sum=a+b+c;
      |     ~~~         
a.cc:8:13: error: 'bust' was not declared in this scope
    8 |     cout << bust << endl;
      |             ^~~~
a.cc:10:11: error: 'win' was not declared in this scope
   10 |   cout << win << endl;
      |           ^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:16: error: lvalue required as left operand of assignment
    5 |   cin >> a,b,c >>
      |              ~~^~
    6 |     sum=a+b+c;
      |     ~~~         
a.cc:8:13: error: 'bust' was not declared in this scope
    8 |     cout << bust << endl;
      |             ^~~~
a.cc:10:11: error: 'win' was not declared in this scope
   10 |   cout << win << endl;
      |           ^~~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:11: error: expected ';' before 'b'
    5 |   cin >> a b c >>
      |           ^~
      |           ;
a.cc:8:13: error: 'bust' was not declared in this scope
    8 |     cout << bust << endl;
      |             ^~~~
a.cc:10:11: error: 'win' was not declared in this scope
   10 |   cout << win << endl;
      |           ^~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{int a[3];int c;
 cin>>a[0]>>a[1]>>a[2];
 c=accumulate(a,a+3,0)

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



return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:23: error: expected ';' before 'if'
    6 |  c=accumulate(a,a+3,0)
      |                       ^
      |                       ;
    7 | 
    8 | if(c>=22)
      | ~~                     
a.cc:10:2: error: 'else' without a previous 'if'
   10 |  else
      |  ^~~~
Language: C++

#include<iostream>
using namesapce 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:2:7: error: expected nested-name-specifier before 'namesapce'
    2 | using namesapce std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    7 |   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:9:9: 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:27: 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/iostream:41:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:11:9: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   11 |         cout << "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:26: 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 std
 
 
int main(){
  int a, b, c;
  cin>>a>>b>>c;
  if((a+b+c)>=22)
    cout<<"bust";
  else
    cout<<"win";
  return 0;
}

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

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a1 = scan.nextInt();
        int a2 = scan.nextInt();
        int a3 = scan.nextInt();
      	String label = (a1 + a2 + a3 >= 22) ? "bust" : "win";
      	System.out.printlf(label);
    }
 
}

Compiler output:
Main.java:9: error: cannot find symbol
      	System.out.printlf(label);
      	          ^
  symbol:   method printlf(String)
  location: variable out of type PrintStream
1 error
Language: Java

import java.util.Scanner;
public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a1 = scan.nextInt();
        int a2 = scan.nextInt();
        int a3 = scan.nextInt();
      
      	System.out.printlf((a1 + a2 + a3 >= 22) ? "bust" : "win");
    }
 
}

Compiler output:
Main.java:9: error: cannot find symbol
      	System.out.printlf((a1 + a2 + a3 >= 22) ? "bust" : "win");
      	          ^
  symbol:   method printlf((a1 + a2 +[...]"win")
  location: variable out of type PrintStream
1 error
Language: Java

public class Main {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int a1 = scan.nextInt();
        int a2 = scan.nextInt();
        int a3 = scan.nextInt();
      
      	System.out.printlf((a1 + a2 + a3 >= 22) ? "bust" : "win");
    }
 
}

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
Main.java:8: error: cannot find symbol
      	System.out.printlf((a1 + a2 + a3 >= 22) ? "bust" : "win");
      	          ^
  symbol:   method printlf((a1 + a2 +[...]"win")
  location: variable out of type PrintStream
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 >= 22){
        cout << "bust" << endl;
    }
    else{
        cout << "win" << endl; 7
    }
}

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

#include<bits/stdc++.h>

using namespace std;

int main(){
 int count=0;
 string s;
 
 cin>>s;
 
 for(int i=0,j=s.size-1;i<s.size/2 && j>=s.size()/2; i++,j--){
    
    if(s[i]!=s[j]){
      s[i]=s[j];
      count++;
    
    }
 
 
  }

 cout<<count;


return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:18: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
   11 |  for(int i=0,j=s.size-1;i<s.size/2 && j>=s.size()/2; i++,j--){
      |                ~~^~~~
      |                      ()
a.cc:11:29: error: invalid use of member function 'std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size_type std::__cxx11::basic_string<_CharT, _Traits, _Alloc>::size() const [with _CharT = char; _Traits = std::char_traits<char>; _Alloc = std::allocator<char>; size_type = long unsigned int]' (did you forget the '()' ?)
   11 |  for(int i=0,j=s.size-1;i<s.size/2 && j>=s.size()/2; i++,j--){
      |                           ~~^~~~
      |                                 ()
Language: C++

#include <stdio.h>

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before '}' token
    9 | printf("bust")
      |               ^
      |               ;
   10 | }
      | ~
Language: C++

#include <iostream>

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:8:19: error: expected primary-expression before '>=' token
    8 |     if(a + b + c) >= 22
      |                   ^~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 's3' was not declared in this scope; did you mean 'a3'?
    7 |     if((a1+a2+s3)>22)
      |               ^~
      |               a3
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:15: error: 's3' was not declared in this scope; did you mean 'a3'?
    7 |     if((a1+a2+s3)>22)
      |               ^~
      |               a3
Language: C++

#include<iostream>
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: In function 'int main()':
a.cc:5:8: error: expected initializer before '.' token
    5 | int a,b.c;
      |        ^
a.cc:6:9: error: 'b' was not declared in this scope
    6 | cin>>a>>b>>c;
      |         ^
a.cc:6:12: error: 'c' was not declared in this scope
    6 | cin>>a>>b>>c;
      |            ^
Language: C++

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

int main() {
  vector<int> BJ(3);
  
  for ( int i=0; i < 3; i++) {
		cin >> BJ.at(i);
        }
        
	int sum = 0;
    for ( int l=0; l<3; l++) {
    	sum += BJ.at(i);
        }

	for ( int j=0; j < 3; j++) {
    	if ( sum > 21) {
        cout << "bust" << endl;
        }
        else {
        cout << "win" << endl;
        }
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:22: error: 'i' was not declared in this scope
   13 |         sum += BJ.at(i);
      |                      ^
Language: C++

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

int main() {
  vector<int> BJ(3);
  
  for ( int i=0; i < 3; i++) {
		cin >> BJ.at(i);
        }
        
	int sum = 0
    for ( int i=0; i<3; i++) {
    	sum += BJ.at(i);
        }

	for ( int j=0; j < 3; j++) {
    	if ( sum > 21) {
        cout << "bust" << endl;
        }
        else {
        cout << "win" << endl;
        }
	}
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:5: error: expected ',' or ';' before 'for'
   12 |     for ( int i=0; i<3; i++) {
      |     ^~~
a.cc:12:20: error: 'i' was not declared in this scope
   12 |     for ( int i=0; i<3; i++) {
      |                    ^
Language: C

#include
int main(void){
	int a,b,c
    
    scanf("%d",&a);
    scanf("%d",&b);
    scanf("%d",&c);
    
    if(a+b+c>=22)
    printf("bust");
    
    if(a+b+c<=21)
    printf("win");
    
    return 0;
    }

Compiler output:
main.c:1:9: error: #include expects "FILENAME" or <FILENAME>
    1 | #include
      |         ^
main.c: In function 'main':
main.c:5:5: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'scanf'
    5 |     scanf("%d",&a);
      |     ^~~~~
main.c:6:5: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |     scanf("%d",&b);
      |     ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #include
main.c:6:5: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |     scanf("%d",&b);
      |     ^~~~~
main.c:6:5: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:7:17: error: 'c' undeclared (first use in this function)
    7 |     scanf("%d",&c);
      |                 ^
main.c:7:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:10:5: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |     printf("bust");
      |     ^~~~~~
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:13:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   13 |     printf("win");
      |     ^~~~~~
main.c:13:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#include<iostream.h>
int main()
{
  int A1,A2,A3;
   cin>>A1>>A2>>A3;
   if((A1+A2+A3)>=22)
    cout<<"bust";
   else
    cout<<"win";
   return 0;

}

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

#include<bits/stdc++.h>
#define pii pair<int,int>
#define ff first
#define ss second
#define pb push_back
#define int return 0;
//#define int long long
#define mid(l,r) ((l+r)/2)                                                                                                                                                                                                                                  
#define time timer
using namespace std;

const int N=1e5+5;

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

Compiler output:
a.cc:6:13: error: expected unqualified-id before 'return'
    6 | #define int return 0;
      |             ^~~~~~
a.cc:12:7: note: in expansion of macro 'int'
   12 | const int N=1e5+5;
      |       ^~~
a.cc:12:11: error: 'N' does not name a type
   12 | const int N=1e5+5;
      |           ^
a.cc: In function 'int32_t main()':
a.cc:15:13: error: 'a' was not declared in this scope
   15 |         int a,b,c;
      |             ^
a.cc:15:15: error: 'b' was not declared in this scope; did you mean 'pb'?
   15 |         int a,b,c;
      |               ^
      |               pb
a.cc:15:17: error: 'c' was not declared in this scope
   15 |         int a,b,c;
      |                 ^
Language: C++

#include <bits/stdc++.h>
#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 << "bust";
  else cou << "win";
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:8: error: 'cou' was not declared in this scope; did you mean 'cos'?
   10 |   else cou << "win";
      |        ^~~
      |        cos
Language: C

import java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		int a,b,c;
		Scanner sc=new Scanner(System.in);
		a=sc.nextInt();
		b=sc.nextInt();
		c=sc.nextInt();

		if(a+b+c>21){
			System.out.println("bust");
		}else{
			System.out.println("win");
		}
	}
}


Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:3:1: error: unknown type name 'public'
    3 | public class Main {
      | ^~~~~~
main.c:3:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'Main'
    3 | public class Main {
      |              ^~~~
Language: C++

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

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


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

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

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

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

import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.StringTokenizer;
import java.util.stream.Collectors;
import java.util.stream.Stream;


class TestCase {

    public static void main(String[] args) throws Exception {
        Scanner scanner = new Scanner(System.in);
        String NString = scanner.next();
        String[] arr = NString.split(" ");
        StringBuilder sb = new StringBuilder();
        int  a = Integer.valueOf(arr[0]);
        int  b = Integer.valueOf(arr[1]);
        int  c = Integer.valueOf(arr[2]);

        sb.append((a + b + c) < 22 ? "win" : "bust");
        System.out.println(sb);
    }
}


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

import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.StringTokenizer;
import java.util.stream.Collectors;
import java.util.stream.Stream;


class TestCase {

    public static void main(String[] args) throws Exception {
        new Thread(null, null, "Vivek K", 99999999) {
            public void run() {
                try {
                    solve();
                } catch (Exception e) {
                    e.printStackTrace();
                    System.exit(1);
                }
            }
        }.start();
    }


    public static void solve() throws Exception {
        // solve the problem here
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String NString = br.nextLine();
        String[] arr = NString.split(" ");
        StringBuilder sb = new StringBuilder();
        int  a = Integer.valueOf(arr[0]);
        int  b = Integer.valueOf(arr[1]);
        int  c = Integer.valueOf(arr[2]);

        sb.append((a + b + c) < 22 ? "win" : "bust");
        System.out.println(sb);
        
    }
}


Compiler output:
Main.java:37: error: cannot find symbol
        String NString = br.nextLine();
                           ^
  symbol:   method nextLine()
  location: variable br of type BufferedReader
1 error
Language: Java

import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.StringTokenizer;
import java.util.stream.Collectors;
import java.util.stream.Stream;


public class TestCase {

    public static void main(String[] args) throws Exception {
        new Thread(null, null, "Vivek K", 99999999) {
            public void run() {
                try {
                    solve();
                } catch (Exception e) {
                    e.printStackTrace();
                    System.exit(1);
                }
            }
        }.start();
    }


    public static void solve() throws Exception {
        // solve the problem here
        BufferedReader br = new BufferedReader(new InputStreamReader(System.in));
        String NString = br.nextLine();
        String[] arr = NString.split(" ");
        StringBuilder sb = new StringBuilder();
        int  a = Integer.valueOf(arr[0]);
        int  b = Integer.valueOf(arr[1]);
        int  c = Integer.valueOf(arr[2]);

        sb.append((a + b + c) < 22 ? "win" : "bust");
        out.println(sb);
        
    }
}


Compiler output:
Main.java:18: error: class TestCase is public, should be declared in a file named TestCase.java
public class TestCase {
       ^
Main.java:37: error: cannot find symbol
        String NString = br.nextLine();
                           ^
  symbol:   method nextLine()
  location: variable br of type BufferedReader
Main.java:45: error: cannot find symbol
        out.println(sb);
        ^
  symbol:   variable out
  location: class TestCase
3 errors
Language: Java

import java.io.BufferedOutputStream;
import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStreamReader;
import java.io.PrintWriter;

import java.util.HashMap;
import java.util.LinkedHashMap;
import java.util.LinkedList;
import java.util.List;
import java.util.Map;
import java.util.Map.Entry;
import java.util.StringTokenizer;
import java.util.stream.Collectors;
import java.util.stream.Stream;


public class TestCase {

    public static void main(String[] args) throws Exception {
        new Thread(null, null, "Vivek K", 99999999) {
            public void run() {
                try {
                    solve();
                } catch (Exception e) {
                    e.printStackTrace();
                    System.exit(1);
                }
            }
        }.start();
    }


    public static void solve() throws Exception {
        // solve the problem here
        MyScanner s = new MyScanner();
        out = new PrintWriter(new BufferedOutputStream(System.out), true);
        String NString = s.nextLine();
        String[] arr = NString.split(" ");

        int  a = Integer.valueOf(arr[0]);
        int  b = Integer.valueOf(arr[1]);
        int  c = Integer.valueOf(arr[2]);

        sb.append((a + b + c) < 22 ? "win" : "bust");
        out.println(sb);
        
    }


    //-----------PrintWriter for faster output---------------------------------
    public static PrintWriter out;


    //-----------MyScanner class for faster input----------

    public static class MyScanner {
        BufferedReader br;
        StringTokenizer st;

        public MyScanner() {
            br = new BufferedReader(new InputStreamReader(System.in));
        }

        String next() {
            while (st == null || !st.hasMoreElements()) {
                try {
                    st = new StringTokenizer(br.readLine());
                } catch (IOException e) {
                    e.printStackTrace();
                }
            }
            return st.nextToken();
        }

        int nextInt() {
            return Integer.parseInt(next());
        }

        long nextLong() {
            return Long.parseLong(next());
        }

        double nextDouble() {
            return Double.parseDouble(next());
        }

        String nextLine() {
            String str = "";
            try {
                str = br.readLine();
            } catch (IOException e) {
                e.printStackTrace();
            }
            return str;
        }
    }
    //--------------------------------------------------------
}


Compiler output:
Main.java:18: error: class TestCase is public, should be declared in a file named TestCase.java
public class TestCase {
       ^
Main.java:45: error: cannot find symbol
        sb.append((a + b + c) < 22 ? "win" : "bust");
        ^
  symbol:   variable sb
  location: class TestCase
Main.java:46: error: cannot find symbol
        out.println(sb);
                    ^
  symbol:   variable sb
  location: class TestCase
3 errors
Language: C++

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

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