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

#include <bits/stdc++.h>
using namespace std;
int main (){
  int A1,A2,A3;
  cin >> A1 >> A2 >> A3;
  string s1 = "bust";
  string s2 = "win";
  
 string A = (A1+A2+A3) > 21 : s1 : s2;
  cout << A;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: conversion from 'bool' to non-scalar type 'std::string' {aka 'std::__cxx11::basic_string<char>'} requested
    9 |  string A = (A1+A2+A3) > 21 : s1 : s2;
      |             ~~~~~~~~~~~^~~~
a.cc:9:29: error: expected ',' or ';' before ':' token
    9 |  string A = (A1+A2+A3) > 21 : s1 : s2;
      |                             ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main (){
  int A1,A2,A3;
  cin >> A1 >> A2 >> A3;
  
  if(A1 + A2 + A3 > 21) {
    cout << "burst" <<"\n";
  
  }else {
    cout << "win" <<　"\n";
  }
  return 0;
}

Compiler output:
a.cc:11:21: error: extended character 　 is not valid in an identifier
   11 |     cout << "win" <<　"\n";
      |                     ^
a.cc: In function 'int main()':
a.cc:11:21: error: '\U00003000' was not declared in this scope
   11 |     cout << "win" <<　"\n";
      |                     ^~
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main (){
  int A1,A2,A3;
  cin >> A1 >> A2 >> A3;
  
  if(A1 + A2 + A3 > 21) cout << "burst" <<"\n";
  
  else cout << "win" <<　"\n";
  
  return 0;
}

Compiler output:
a.cc:9:24: error: extended character 　 is not valid in an identifier
    9 |   else cout << "win" <<　"\n";
      |                        ^
a.cc: In function 'int main()':
a.cc:9:24: error: '\U00003000' was not declared in this scope
    9 |   else cout << "win" <<　"\n";
      |                        ^~
Language: C++

/* Don't try to hack it :|
 
            _/﹋\_
            (҂`_´)
            <,︻╦╤─҉- - - - - - - - - - - - - - -
            _/﹋\_
*/

#include <bits/stdc++.h>
#define ll long long 
#define all(v) v.begin() , v.end()
#define pb push_back
#define F first
#define S second
#define mp make_pair
#define tr(con) for(auto it = con.begin(); it!= con.end() ; it++)
#define INF 1e9+7   // 1 * 10^9+ 7
#define rep(i,l,r) for(ll i=l;i<=r;i++)
#define fo(i,n) for(ll i=0;i<n;i++)
using namespace std;

int main(){

	ios_base::sync_with_stdio(false);
	cin.tie(NULL);
	int a[3];
	int sum = 0;
	for(int i=0;i<3;i++){
		cin >> a[i] ;
		sum += a[i];
	}
	if(sum>=22) cout << "bust";
	else cout << "win"
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:33:27: error: expected ';' before 'return'
   33 |         else cout << "win"
      |                           ^
      |                           ;
   34 |         return 0;
      |         ~~~~~~
Language: C++

#include <bits/stdc++.h>
#define ALL(a) (a).begin(),(a).end()
using namespace std;

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:30: error: invalid operands of types 'const char [4]' and '<unresolved overloaded function type>' to binary 'operator<<'
   13 |                 cout < "win" << endl;
      |                        ~~~~~~^~~~~~~
Language: C

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

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

Compiler output:
a.cc:2:1: error: 'unsing' does not name a type; did you mean 'unsigned'?
    2 | unsing namespace std;
      | ^~~~~~
      | unsigned
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:7:5: 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:19: 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: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: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 std;
 int main 
 {
	long long int a1,a2,a3;
    cin>>a1>>a2>>a3;
    if(a1+a2+a3>=22)
    {
		cout<<"bust";
    }
    else
    	cout<<"win";
       
  return 0;
  }


Compiler output:
a.cc:4:6: error: cannot declare '::main' to be a global variable
    4 |  int main
      |      ^~~~
a.cc:6:9: error: expected primary-expression before 'long'
    6 |         long long int a1,a2,a3;
      |         ^~~~
a.cc:6:9: error: expected '}' before 'long'
a.cc:5:2: note: to match this '{'
    5 |  {
      |  ^
a.cc:7:5: error: 'cin' does not name a type
    7 |     cin>>a1>>a2>>a3;
      |     ^~~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(a1+a2+a3>=22)
      |     ^~
a.cc:12:5: error: expected unqualified-id before 'else'
   12 |     else
      |     ^~~~
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
a.cc:16:3: error: expected declaration before '}' token
   16 |   }
      |   ^
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";
       
  return 0;
  }


Compiler output:
a.cc:4:6: error: cannot declare '::main' to be a global variable
    4 |  int main
      |      ^~~~
a.cc:6:9: error: expected primary-expression before 'int'
    6 |         int a1,a2,a3;
      |         ^~~
a.cc:6:9: error: expected '}' before 'int'
a.cc:5:2: note: to match this '{'
    5 |  {
      |  ^
a.cc:7:5: error: 'cin' does not name a type
    7 |     cin>>a1>>a2>>a3;
      |     ^~~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(a1+a2+a3>=22)
      |     ^~
a.cc:12:5: error: expected unqualified-id before 'else'
   12 |     else
      |     ^~~~
a.cc:15:3: error: expected unqualified-id before 'return'
   15 |   return 0;
      |   ^~~~~~
a.cc:16:3: error: expected declaration before '}' token
   16 |   }
      |   ^
Language: C++

clude<bits/stdc++.h>
using namespace std;
#define X first
#define Y second
#define ll long long 
#define mp make_pair
#define pb push_back
#define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
const long double PI = acos(-1.0);
const ll Mod=1000000007;
const ll Maxi=1e18;
const ll Mini=-1e18;
 
int main()
{
   IOS;
   //#ifndef ONLINE_JUDGE
  //freopen("input.txt","r",stdin);
   //#endif
  ll ti;
  //cin>>ti;
  ti=1;
  
  while(ti>0)
  {
   ll a,b,c;
   cin>>a>>b>>c;
   if(a+b+c>=22)
   {
    cout<<"bust";
   }
   else
    cout<<"win";
   ti--;
  }
  
}

Compiler output:
a.cc:1:1: error: 'clude' does not name a type
    1 | clude<bits/stdc++.h>
      | ^~~~~
a.cc:9:24: error: 'acos' was not declared in this scope
    9 | const long double PI = acos(-1.0);
      |                        ^~~~
a.cc: In function 'int main()':
a.cc:8:13: error: 'ios_base' has not been declared
    8 | #define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
      |             ^~~~~~~~
a.cc:16:4: note: in expansion of macro 'IOS'
   16 |    IOS;
      |    ^~~
a.cc:8:43: error: 'cin' was not declared in this scope
    8 | #define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
      |                                           ^~~
a.cc:16:4: note: in expansion of macro 'IOS'
   16 |    IOS;
      |    ^~~
a.cc:8:55: error: 'cout' was not declared in this scope
    8 | #define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0)
      |                                                       ^~~~
a.cc:16:4: note: in expansion of macro 'IOS'
   16 |    IOS;
      |    ^~~
Language: Java

import java.util.Scannerimport java.util.Scanner;

public class Main {
	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		int A=sc.nextInt();
		int B=sc.nextInt();
		int C=sc.nextInt();
		if (A+B+C<=21)
		System.out.println("win");
		else System.out.println("bust");
		
	}

}


Compiler output:
Main.java:1: error: ';' expected
import java.util.Scannerimport java.util.Scanner;
                              ^
1 error
Language: Java

import java.util.Scanner;

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<=21
		System.out.println("win");
		if A1+A2+A3>21
		System.out.println("bust");
	}

}

Compiler output:
Main.java:9: error: '(' expected
		if A1+A2+A3<=21
		  ^
Main.java:9: error: ')' expected
		if A1+A2+A3<=21
		               ^
Main.java:11: error: '(' expected
		if A1+A2+A3>21
		  ^
Main.java:11: error: ')' expected
		if A1+A2+A3>21
		              ^
4 errors
Language: C++

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:8:19: error: expected ';' before 'else'
    8 |     cout << "bust"
      |                   ^
      |                   ;
    9 |   else
      |   ~~~~
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: In function 'int main()':
a.cc:8:19: error: expected ';' before ')' token
    8 |   else cout<<"win");
      |                   ^
      |                   ;
Language: C++

#include<bits/stdcJ++.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:1:9: fatal error: bits/stdcJ++.h: No such file or directory
    1 | #include<bits/stdcJ++.h>
      |         ^~~~~~~~~~~~~~~~
compilation terminated.
Language: C++

#include<iostream>
using namespace std;
int main()
 {
  long long i,j,a1,a2,a3,b,n,m;
  cin>>a1>>a2>>a3;
  if((a1+a2+a3)>=22)
    cout<<bust;
  else
    cout<<win;
    
  return 0;
 }

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

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

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

#include<bits/stdc++.h>
#define sc(a) scanf("%d",&a)
#define scc(a,b) scanf("%d %d",&a,&b)
#define sccc(a,b,c) scanf("%d %d %d",&a,&b,&c)
#define pf(a) printf("%d",a)
#define pff(a,b) printf("%d %d",a,b)
#define pfff(a,b,c) printf("%d %d %d",a,b,c)
#define pb(a) push_back(a)
#define em empty()
#define fr front()
#define cl clear()
#define sz size()
#define mp(a,b) make_pair(a,b)
#define fri(b) freopen(b,"r",stdin)
#define fro(b) freopen(b,"w",stdout)
 

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



Compiler output:
a.cc: In function 'int main()':
a.cc:22:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   22 |                 cout<<"bust";
      |                 ^~~~
      |                 std::cout
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:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:25:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   25 |                 cout<<"win";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<bits/stdc++.h>
#define sc(a) scanf("%d",&a)
#define scc(a,b) scanf("%d %d",&a,&b)
#define sccc(a,b,c) scanf("%d %d %d",&a,&b,&c)
#define pf(a) printf("%d",a)
#define pff(a,b) printf("%d %d",a,b)
#define pfff(a,b,c) printf("%d %d %d",a,b,c)
#define pb(a) push_back(a)
#define em empty()
#define fr front()
#define cl clear()
#define sz size()
#define mp(a,b) make_pair(a,b)
#define fri(b) freopen(b,"r",stdin)
#define fro(b) freopen(b,"w",stdout)
 

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



Compiler output:
a.cc: In function 'int main()':
a.cc:20:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
   20 |         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:22:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   22 |                 cout<<"bust";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:25:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   25 |                 cout<<"win";
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include<cstdio>
#include<vector>
#include<unordered_map>
#include<algorithm>
#include<bitset>
using namespace std;

typedef long long ll;	

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:9: error: 'cin' was not declared in this scope
   12 |         cin>>a>>b>>c;
      |         ^~~
a.cc:6:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    5 | #include<bitset>
  +++ |+#include <iostream>
    6 | using namespace std;
a.cc:14:17: error: 'cout' was not declared in this scope
   14 |                 cout<<"bust"<<endl;
      |                 ^~~~
a.cc:14:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:14:31: error: 'endl' was not declared in this scope
   14 |                 cout<<"bust"<<endl;
      |                               ^~~~
a.cc:6:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
    5 | #include<bitset>
  +++ |+#include <ostream>
    6 | using namespace std;
a.cc:16:17: error: 'cout' was not declared in this scope
   16 |                 cout<<"win"<<endl;
      |                 ^~~~
a.cc:16:17: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:16:30: error: 'endl' was not declared in this scope
   16 |                 cout<<"win"<<endl;
      |                              ^~~~
a.cc:16:30: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C++

// By Mohit Gupta
#include <bits/stdc++.h>
using namespace std;
#define printint(v) copy(begin(v), end(v), ostream_iterator<int>(cout," "))
#define printintv(s,e) copy(s,e, ostream_iterator<int>(cout," "))
#define forstl(i,v) for(auto &i: v)
#define forn(i,e) for(int i = 0; i < e; i++)
#define forsn(i,s,e) for(int i = s; i < e; i++)
#define rforn(i,s) for(int i = s; i >= 0; i--)
#define rforsn(i,s,e) for(int i = s; i >= e; i--)
#define clz(a) __builtin_clz(a) // count leading zeroes
#define ctz(a) __builtin_ctz(a) // count trailing zeroes
#define popc(a) __builtin_popcount(a) // count set bits (for ints only diff for ll)
//https://gcc.gnu.org/onlinedocs/gcc/Other-Builtins.html for other in built
#define ln "\n"
#define dbg(x) cout<<#x<<" = "<<x<<ln
#define mp make_pair
#define pb push_back
#define fi first
#define se second
#define IOS ios_base::sync_with_stdio(0); cin.tie(0); cout.tie(0);
typedef long long ll;
typedef pair<int,int> p32; 
typedef pair<ll,ll> p64;
typedef pair<double,double> pdd;
typedef vector<ll> v64;
typedef vector<int> v32;
typedef vector<vector<int> > vv32;
typedef vector<p64> vp64;
typedef vector<p32> vp32;
typedef map<int,int> m32;
#pragma GCC optimize ("-O2")
const int LIM = 5e5+5, MOD = 1e9+7;
int t,n,m,k,x,y;
 
 
int main()
{
	IOS;
	cin>>x>>y>>z;
	if(x+y+z >= 22){
		cout<<"bust"<<ln;
	}
	else{
		cout<<"win"<<ln;
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:40:20: error: 'z' was not declared in this scope
   40 |         cin>>x>>y>>z;
      |                    ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
const long long mod = 1e9 + 7 ;
const int N = 3e5+122; 

int n,m;
int a[100][100], b[100][100], c[100][100];

unordered_map<int,int> dp[100][100];
int main () {

	cin >> n>>m;
	for(int i = 1; i <= n; i++) 
	for(int j = 1; j <= m; j++)
		cin >> a[i][j];
		
	for(int i = 1; i <= n; i++) 
	for(int j = 1; j <= m; j++)
		cin >> b[i][j], c[i][j] = a[i][j] - b[i][j];

	dp[1][1][c[1][1]] = 1;
	dp[1][1][-c[1][1]] = 1;

	for(int i = 1; i <= n; i++)
	for(int j = 1; j <= m; j++) {
		if(i==j&&i==1)continue;
		if(i>1) {
			for(auto it : dp[i - 1][j])
              if(abs(it.first)<=9000)
				dp[i][j][abs(it.first + c[i][j])] =dp[i][j][abs(it.first-c[i][j]]) |= 1;

		}
		if(j>1) {
			for(auto it : dp[i][j-1])
              if(abs(it.first)<=9000)
				dp[i][j][abs(it.first + c[i][j])] =dp[i][j][abs(it.first-c[i][j])] |= 1;

		}
	}
	int res = 1e9;
	int ans;
	for(auto it: dp[n][m])
		if(abs(it.first) <res)
			res=abs(it.first),ans=it.first;
	cout<<res;
}
            

              




Compiler output:
a.cc: In function 'int main()':
a.cc:31:97: error: expected ')' before ']' token
   31 |                                 dp[i][j][abs(it.first + c[i][j])] =dp[i][j][abs(it.first-c[i][j]]) |= 1;
      |                                                                                ~                ^
      |                                                                                                 )
Language: C++



#include<bits/stdc++.h>


using namespace std;

using ll   = long long;
using ii   = pair   < int , int >;
using i3   = pair   < int , ii  >;
using li   = pair   < ll  , int >;
using lii  = pair   < ll  , ii  >;
using pll  = pair   < ll  , ll  >;
using vi   = vector < int       >;
using vl   = vector < ll        >;
using vii  = vector < ii        >;
using vpll = vector < pll       >;
using vi3  = vector < i3        >;
using vlii = vector < lii       >;


const int N = 2e5 + 5;
const ll INF = 1e17 + 7;
const double eps = 1e-9 , PI = acos(-1);



int n , m;


void solve(int testCase){

    scanf("%d %d %d" , &n , &m , &k);
    if(n + m + k >= 22)printf("bust\n");
    else printf("win\n");


}

main(){

    int t = 1;
    // scanf("%d" , &t);

    for(int testCase = 1 ; testCase <= t ; testCase ++){
            solve(testCase);
    }

    return 0;
}


Compiler output:
a.cc: In function 'void solve(int)':
a.cc:33:35: error: 'k' was not declared in this scope
   33 |     scanf("%d %d %d" , &n , &m , &k);
      |                                   ^
a.cc: At global scope:
a.cc:40:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
   40 | main(){
      | ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
#define ll long long
typedef pair<ll,ll> P;
template<class T> inline bool chmax(T& a, T b) { if (a < b) { a = b; return true; } return false; } template<class T> inline bool chmin(T& a, T b) { if (a > b) { a = b; return true; } return false; }
#define M 1000000007
#define all(a) (a).begin(),(a).end()
#define rep(i,n) reps(i,0,n)
#define reps(i,m,n) for(int i=(m);i<(n);i++)
int main(){
  int a,b,c;cin>>a>>b>>c;
  cout<<(a+b+c<22:"win":"burst");}

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

#include<stdio.h>
#include<math.h>
int XOR(int a, int b);
int main(){
    int N;
    scanf("%d",&N);
    int num[N];
    int i;
    for(i=0;i<N;i++){
        scanf("%d",num+i);
    }
    int c = 0;
    int j;
    for(i=0;i<N-1;i++){
        for(j=i+1;j<N;j++){
            c = c + XOR(num[i],num[j]); 
        }
    }
    double e = c % (pow(10,9)+7);
    printf("%d",e);
    return 0;  
}
int XOR(int a, int b){
    int k ;
    int an[60];
    int bn[60];
    for(k=0;k<60;k++){
        an[k]=2;
        bn[k]=2;
    }
    int j;
    while(a>0 && b > 0){
        an[j]=a%2;
        bn[j]=b%2;
        a = a/2;
        b = b/2;
        j = j+1;
    }
    int i =0;
    int d =0;
    while(an[i] !=2 && bn[i] !=2){
        if((an[i] ==1 && bn[i] == 0) || (an[i] == 0 && bn[i] == 1)){
            d = d + pow(2,i);
        }
    }
    return d;
}

Compiler output:
main.c: In function 'main':
main.c:19:18: error: invalid operands to binary % (have 'int' and 'double')
   19 |     double e = c % (pow(10,9)+7);
      |                  ^ ~~~~~~~~~~~~~
      |                              |
      |                              double
Language: Java

import java.util.Scanner;
public class Test {
    public static void main(String[] args) {
        Scanner scan = new Scanner(System.in);
        int B1 = scan.nextInt();
        int B2 = scan.nextInt();
        int B3 = scan.nextInt();
        if((B1+B2+B3)>=22)
            System.out.println("bust");
        else
            System.out.println("win");
    }
}

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

import java.util.Scanner;
public class Atcoder4 {

  public static void main(String args[]){
    Scanner a = new Scanner(System.in);
    int A1 = a.nextInt();
    Scanner b = new Scanner(System.in);
    int A2 = b.nextInt();
    Scanner c = new Scanner(System.in);
    int A3 = c.nextInt();

    if (A1+A2+A3 >= 22){
      System.out.println("bust");
    }else{
      System.out.println("win");
    }
  }
}


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

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

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

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

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:15:16: error: 'n' was not declared in this scope
   15 |         return n
      |                ^
a.cc:15:17: error: expected ';' before '}' token
   15 |         return n
      |                 ^
      |                 ;
   16 | }
      | ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:13: error: redeclaration of 'int a2'
    5 |   int a1,a2,a2;
      |             ^~
a.cc:5:10: note: 'int a2' previously declared here
    5 |   int a1,a2,a2;
      |          ^~
a.cc:6:16: error: 'a3' was not declared in this scope; did you mean 'a2'?
    6 |   cin>>a1>>a2>>a3;
      |                ^~
      |                a2
Language: C

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


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

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

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<bits/stdc++.h>
using namespace std;
int main()
{
	long long int a,b,c;
	cin>>a>>b>>c;
	if((a+b+c)>=22)
	{
		cout<<"bust"<<endl;
	}
	else 
	{
		cout<<"win"<<endl;
	}
	retrun 0;
}

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

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

return 0;
}

Compiler output:
a.cc:7:15: warning: multi-character character constant [-Wmultichar]
    7 |         cout<<'bust'<<endl;
      |               ^~~~~~
a.cc:9:15: warning: multi-character character constant [-Wmultichar]
    9 |         cout<<'win'<<endl;
      |               ^~~~~
a.cc: In function 'int main()':
a.cc:5:10: error: 'a' was not declared in this scope
    5 |     cin>>a>>b>>c;
      |          ^
a.cc:5:13: error: 'b' was not declared in this scope
    5 |     cin>>a>>b>>c;
      |             ^
a.cc:5:16: error: 'c' was not declared in this scope
    5 |     cin>>a>>b>>c;
      |                ^
Language: Java

public class Blackjack {
  
  public static void main(String arg[]){
    int A1(13=>A1>=1);
    int A2(13=>A2>=1);
    int A3(13=>A3>=1);
    
    System.out.println("win");
    IfTesting (A1+A2+A3=>22)
      
      System.out.println("bust");
    Iftesting (A1+A2+A3<=21)
    
  }
  
}

Compiler output:
Main.java:4: error: ';' expected
    int A1(13=>A1>=1);
          ^
Main.java:4: error: not a statement
    int A1(13=>A1>=1);
                 ^
Main.java:4: error: ';' expected
    int A1(13=>A1>=1);
                    ^
Main.java:5: error: ';' expected
    int A2(13=>A2>=1);
          ^
Main.java:5: error: not a statement
    int A2(13=>A2>=1);
                 ^
Main.java:5: error: ';' expected
    int A2(13=>A2>=1);
                    ^
Main.java:6: error: ';' expected
    int A3(13=>A3>=1);
          ^
Main.java:6: error: not a statement
    int A3(13=>A3>=1);
                 ^
Main.java:6: error: ';' expected
    int A3(13=>A3>=1);
                    ^
Main.java:9: error: illegal start of expression
    IfTesting (A1+A2+A3=>22)
                        ^
Main.java:9: error: ';' expected
    IfTesting (A1+A2+A3=>22)
                            ^
Main.java:12: error: ';' expected
    Iftesting (A1+A2+A3<=21)
                            ^
12 errors
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:21:9: error: expected declaration or statement at end of input
   21 |         }
      |         ^
main.c:21:9: error: expected declaration or statement at end of input
Language: Java

public class Blackjack {
  
  public static void main(String arg[]){
    int A1(13=>A1>=1);
    int A2=(13=>A2>=1);
    int A3=(13=>A3>=1);
    
    System.out.println("win");
    if (A1+A2+A3=>22)
      
      System.out.println("bust");
    if (A1+A2+A3<=21)
    
  }
  
}

Compiler output:
Main.java:4: error: ';' expected
    int A1(13=>A1>=1);
          ^
Main.java:4: error: not a statement
    int A1(13=>A1>=1);
                 ^
Main.java:4: error: ';' expected
    int A1(13=>A1>=1);
                    ^
Main.java:5: error: illegal start of expression
    int A2=(13=>A2>=1);
               ^
Main.java:6: error: illegal start of expression
    int A3=(13=>A3>=1);
               ^
Main.java:9: error: illegal start of expression
    if (A1+A2+A3=>22)
                 ^
Main.java:14: error: illegal start of statement
  }
  ^
7 errors
Language: Java

public class Blackjack {
  
  public static void main(String arg[]){
    int A1(13=>A1>=1);
    int A2=(13=>A2>=1);
    int A3=(13=>A3>=1);
    
    System.out.println("win");
    if (A1+A2+A3=>22)
      
      System.out.println("bust");
    if (A1+A2+A3<=21)
    
  }
  
}
public class Blackjack {
  
  public static void main(String arg[]){
    int A1(13=>A1>=1);
    int A2(13=>A2>=1);
    int A3(13=>A3>=1);
    
    System.out.println("win");
    if (A1+A2+A3=>22)
      
      System.out.println("bust");
    if (A1+A2+A3<=21)
    
  }
  
}


Compiler output:
Main.java:4: error: ';' expected
    int A1(13=>A1>=1);
          ^
Main.java:4: error: not a statement
    int A1(13=>A1>=1);
                 ^
Main.java:4: error: ';' expected
    int A1(13=>A1>=1);
                    ^
Main.java:5: error: illegal start of expression
    int A2=(13=>A2>=1);
               ^
Main.java:6: error: illegal start of expression
    int A3=(13=>A3>=1);
               ^
Main.java:9: error: illegal start of expression
    if (A1+A2+A3=>22)
                 ^
Main.java:14: error: illegal start of statement
  }
  ^
Main.java:20: error: ';' expected
    int A1(13=>A1>=1);
          ^
Main.java:20: error: not a statement
    int A1(13=>A1>=1);
                 ^
Main.java:20: error: ';' expected
    int A1(13=>A1>=1);
                    ^
Main.java:21: error: ';' expected
    int A2(13=>A2>=1);
          ^
Main.java:21: error: not a statement
    int A2(13=>A2>=1);
                 ^
Main.java:21: error: ';' expected
    int A2(13=>A2>=1);
                    ^
Main.java:22: error: ';' expected
    int A3(13=>A3>=1);
          ^
Main.java:22: error: not a statement
    int A3(13=>A3>=1);
                 ^
Main.java:22: error: ';' expected
    int A3(13=>A3>=1);
                    ^
Main.java:25: error: illegal start of expression
    if (A1+A2+A3=>22)
                 ^
Main.java:30: error: illegal start of statement
  }
  ^
18 errors
Language: Java

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


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

import java.util.Scanner;

public class test {
    public static void main(String[] args) {

            Scanner put = new Scanner(System.in);

            int a  = put.nextInt();
            int b = put.nextInt();
            int c  = put.nextInt();
            if((a + b + c) >= 22) System.out.println("bust");
            else System.out.println("win");


    }
}

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

 int a;
        int b;
        int c;
        Scanner s= new Scanner(System.in);
        a= s.nextInt();
        b= s.nextInt();
        c= s.nextInt();

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
 int a;
 ^
  (use --enable-preview to enable unnamed classes)
Main.java:5: error: class, interface, enum, or record expected
        a= s.nextInt();
        ^
Main.java:6: error: class, interface, enum, or record expected
        b= s.nextInt();
        ^
Main.java:7: error: class, interface, enum, or record expected
        c= s.nextInt();
        ^
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
        }
        ^
6 errors
Language: Java

public class Blackjack {
  
  public static void main(String arg[]){
    int A1=x;
    int A2=y;
    int A3=z;
    
    System.out.println("win");
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
      
      System.out.println("bust");
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
    
  }
  
}

Compiler output:
Main.java:9: error: illegal start of expression
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
           ^
Main.java:9: error: ')' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                ^
Main.java:9: error: not a statement
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                       ^
Main.java:9: error: ';' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                          ^
Main.java:9: error: not a statement
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                                 ^
Main.java:9: error: ';' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                                    ^
Main.java:9: error: illegal start of expression
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                                            ^
Main.java:9: error: ';' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z=>22)
                                               ^
Main.java:12: error: illegal start of expression
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
           ^
Main.java:12: error: ')' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                ^
Main.java:12: error: not a statement
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                       ^
Main.java:12: error: ';' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                          ^
Main.java:12: error: not a statement
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                                 ^
Main.java:12: error: ';' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                                    ^
Main.java:12: error: not a statement
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                                           ^
Main.java:12: error: ';' expected
    if (13=>x>=1, 13=>y>=1, 13=>z>=1, x+y+z<=21)
                                               ^
16 errors
Language: Java

import java.util.Scanner;
public class task {
    public static void main(String[] args) {
	Scanner put = new Scanner(System.in);

      int a  = put.nextInt();
      int b = put.nextInt();
      int c  = put.nextInt();
      if((a + b + c) >= 22) System.out.println("bust");
      else System.out.println("win");
    }
}

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

#include<iostream>
#include<string>
#include<vector>
#include<algorithm>
#include<bits/stdc++.h>
#include<cmath>
#include<bitset>
#include<queue>
#define ll long long
#define itn int
#define co(ans) cout<<ans<<endl;
#define COYE cout<<"YES"<<endl;
#define COYe cout<<"Yes"<<endl;
#define COye cout<<"yes"<<endl;
#define CONO cout<<"NO"<<endl;
#define CONo cout<<"No"<<endl;
#define COno cout<<"no"<<endl;
#define FOR(i,a,b) for(int i=(a);i<(b);++i)
#define FFOR(i,a,b) for(int i=(a);i<=(b);++i)
#define REP(i,n)  FOR(i,0,n)
#define RREP(i,n)  FFOR(i,1,n)
#define SORT(V) sort((V).begin(),(V).end())
#define REVERSE(V) reverse((V).begin(),(V).end())
#define INF ((1LL<<62)-(1LL<<31))
#define MOD 1000000007
template<class T>bool chmax(T &a, const T &b) { if (a<b) { a=b; return 1; } return 0; }
template<class T>bool chmin(T &a, const T &b) { if (b<a) { a=b; return 1; } return 0; }
using namespace std;


int main(){
  int A[3],ans=0;
  REP(i,N){
    cin>>A[i];
    ans+=A[i];
  }
  
  if(ans<=21) cout<<"win"<<endl;
  else cout<<"no"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:33:9: error: 'N' was not declared in this scope
   33 |   REP(i,N){
      |         ^
a.cc:18:37: note: in definition of macro 'FOR'
   18 | #define FOR(i,a,b) for(int i=(a);i<(b);++i)
      |                                     ^
a.cc:33:3: note: in expansion of macro 'REP'
   33 |   REP(i,N){
      |   ^~~
Language: Java

public class Blackjack {
  
  public static void main(String arg[]){
    int A1=x;
    int A2=y;
    int A3=z;
    
    System.out.println("win");
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22)
      
      System.out.println("bust");
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z<=21)
    
  }
  
}

Compiler output:
Main.java:9: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22)
           ^
Main.java:9: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22)
                       ^
Main.java:9: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22)
                                   ^
Main.java:9: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z=>22)
                                                  ^
Main.java:12: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z<=21)
           ^
Main.java:12: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z<=21)
                       ^
Main.java:12: error: illegal start of expression
    if (13=>x>=1 && 13=>y>=1 && 13=>z>=1 && x+y+z<=21)
                                   ^
Main.java:14: error: illegal start of statement
  }
  ^
8 errors
Language: Java



import java.util.Scanner;

public class Black {

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);
        int A1 = 0, A2 = 0, A3 = 0,result=0;
        A1 = input.nextInt();
        A2 = input.nextInt();
        A3 = input.nextInt();
        
        if (1 <= A1 && A1 <= 13 && 1 <= A2 && A2 <= 13 && 1 <= A3 && A3 <= 13 ) {
            
           result=A1+A2+A3;
            System.out.println(result);
            if(result==22 || result>22){
                System.out.println("bust");
            }
            else{
                System.out.println("win");
            }       

        }
        else{
            System.out.println("Wrong input.");
        }

    }
}


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

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


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

#include<iostream>
int main()
{
	int a, b, c;

	cin >> a >> b >> c;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:9: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |         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:17: 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:35: 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:17: 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:34: 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 <iostream>
int main(){
int m,n,b;
 cin>>m>>n>>b;
  if (m+n+b>=22){
    cout<<"bust";
  }else{
    cout>>"win";
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:2: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    4 |  cin>>m>>n>>b;
      |  ^~~
      |  std::cin
In file included from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:6:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |     cout<<"bust";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     cout>>"win";
      |     ^~~~
      |     std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
Language: C++

#include <iostream.h>
int main(){
int m,n,b;
 cin>>m>>n>>b;
  if (m+n+b>=22){
    cout<<"bust";
  }else{
    cout>>"win";
  }
}

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

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

int main() {
  cin >> 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:5:10: error: 'A1' was not declared in this scope; did you mean 'y1'?
    5 |   cin >> A1,A2,A3;
      |          ^~
      |          y1
a.cc:5:13: error: 'A2' was not declared in this scope
    5 |   cin >> A1,A2,A3;
      |             ^~
a.cc:5:16: error: 'A3' was not declared in this scope
    5 |   cin >> A1,A2,A3;
      |                ^~
a.cc:10:2: error: expected '}' at end of input
   10 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

package blackjack;

import java.util.Scanner;

public class Black{

    public static void main(String[] args) {

        Scanner input = new Scanner(System.in);
        int A1 = 0, A2 = 0, A3 = 0,result=0;
        A1 = input.nextInt();
        A2 = input.nextInt();
        A3 = input.nextInt();
        
        if (1 <= A1 && A1 <= 13 && 1 <= A2 && A2 <= 13 && 1 <= A3 && A3 <= 13 ) {
            
           result=A1+A2+A3;
            System.out.println(result);
            if(result==22 || result>22){
                System.out.println("bust");
            }
            else{
                System.out.println("win");
            }       

        }
        else{
            System.out.println("Wrong input.");
        }

    }
}


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

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


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

#include<iostream.h>
int main(){
int m,n,b;
 cin>>m>>n>>b;
  if (m+n+b>=22){
    cout<<"bust";
  }else{
    cout>>"win";
  }
}

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

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

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