criyle/codenet-compile-errors huggingface dataset:
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";
cerr << "aka";
return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before '>' token
    7 | if(a+b+c => 22)cout<<"bust"<<endl;
      |           ^
Language: C++


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

int main(){
int a,b,c;
con>>a>>b>>c;
if(a+b+c => 22)count<<"bust"<<endl;
else count<<"win";
cerr << "'aka";
return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:1: error: 'con' was not declared in this scope; did you mean 'cos'?
    7 | con>>a>>b>>c;
      | ^~~
      | cos
a.cc:8:11: error: expected primary-expression before '>' token
    8 | if(a+b+c => 22)count<<"bust"<<endl;
      |           ^
a.cc:8:21: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [5]' to binary 'operator<<'
    8 | if(a+b+c => 22)count<<"bust"<<endl;
      |                ~~~~~^~~~~~~~
a.cc:9:11: error: invalid operands of types '<unresolved overloaded function type>' and 'const char [4]' to binary 'operator<<'
    9 | else count<<"win";
      |      ~~~~~^~~~~~~
Language: Java

import java.io.*;
public class Main{
  public static void main(String args[]){
    BufferedReader reader  = new BufferedReader (new InputStreamReader(System.in));
    String[] list = reader.readLine().split(" ");
    if(Integer.parseInt(list[0])+Integer.parseInt(list[1])+Integer.parseInt(list[2]) >=22){
      System.out.println("bust");
    }
    else{
      	System.out.println("win");
    }}}

Compiler output:
Main.java:5: error: unreported exception IOException; must be caught or declared to be thrown
    String[] list = reader.readLine().split(" ");
                                   ^
1 error
Language: C

#include <iostream>
using namespace std;

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

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

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

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

#include <bits/stdc++.h>

using namespace std;

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


Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: 'iint' was not declared in this scope; did you mean 'uint'?
    9 |     iint r=a+b+c;
      |     ^~~~
      |     uint
a.cc:10:8: error: 'r' was not declared in this scope
   10 |     if(r>=22)
      |        ^
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc:4:1: error: 'def' does not name a type
    4 | def main(){
      | ^~~
Language: C++

/******************************************************************************

Welcome to GDB Online.
GDB online is an online compiler and debugger tool for C, C++, Python, Java, PHP, Ruby, Perl,
C#, VB, Swift, Pascal, Fortran, Haskell, Objective-C, Assembly, HTML, CSS, JS, SQLite, Prolog.
Code, Compile, Run and Debug online from anywhere in world.

*******************************************************************************/
#include <stdio.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:14:5: error: 'cin' was not declared in this scope
   14 |     cin >> a >> b >> c;
      |     ^~~
a.cc:16:19: error: 'cout' was not declared in this scope
   16 |     if (a+b+c<22) cout << "win\n";
      |                   ^~~~
a.cc:18:10: error: 'cout' was not declared in this scope
   18 |     else cout << "bust\n";
      |          ^~~~
Language: C++

a1, a2, a3 = map(int, input().split())
sum = a1 + a2 + a3
if sum >= 22:
    print('bust')
else:
    print('win')


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

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

}
}

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

#include <stdio.h>
int main(void){
  int a,b,c,;
  a=a+b+c;
  if(a<=21)
    printf("win");
  else
    printf("bust");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:3:13: error: expected identifier or '(' before ';' token
    3 |   int a,b,c,;
      |             ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:4:9: error: expected expression before '%' token
    4 |   scanf(%d%d%d,&a,&b,&c);
      |         ^
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
    cout<<"win"<<endl;
}

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

<?php
fscanf(STDIN, "%d %d %d", $a, $b, $c);
if ($a + $b + $c > 21) {
    echo "bust\n";
}else {
    echo "win\n";
}
?>

Compiler output:
a.cc:1:1: error: expected unqualified-id before '<' token
    1 | <?php
      | ^
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if ($a + $b + $c > 21) {
      | ^~
a.cc:5:2: error: expected unqualified-id before 'else'
    5 | }else {
      |  ^~~~
a.cc:8:1: error: expected unqualified-id before '?' token
    8 | ?>
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define INF 2147483647
#define INFF 9223372036854775807
#define ll long long
#define pb push_back
#define REP(i,n) for(int i=0;i<n;i++)
#define REPP(i,m,n) for(int i=m;i<n;i++)
#define ALL(N) (N.begin(),N.end())

int main() {
  cin.tie(0);
  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;
}

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

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namaspace'
    2 | using namaspace std;
      |       ^~~~~~~~~
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: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:9:5: 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:22: 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)
      |     ^~~~
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
char s[101];
  cin>>s;
  int i=0;
  while(s[i]!='\0')
  {
i++
  }
 int  n =i-1;
  int c=0;
  for(int i=0,j=n;i<=j;i++,j--)
  {
    if(s[i]!=s[j])
      c++;
  }
  cout<<c<<endl;
  return  0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:4: error: expected ';' before '}' token
   10 | i++
      |    ^
      |    ;
   11 |   }
      |   ~
Language: C++

#include<bits/stdc++.h>

int main()
{
char s[101];
  cin>>s;
  int i=0;
  while(s[i]!='\0')
  {
i++
  }
 int  n =i-1;
  int c=0;
  for(int i=0,j=n;i<=j;i++,j--)
  {
    if(s[i]!=s[j])
      c++;
  }
  cout<<c<<endl;
  return  0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>s;
      |   ^~~
      |   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:10:4: error: expected ';' before '}' token
   10 | i++
      |    ^
      |    ;
   11 |   }
      |   ~ 
a.cc:19:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   19 |   cout<<c<<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:19:12: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   19 |   cout<<c<<endl;
      |            ^~~~
      |            std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: Java

import java.util.Scanner;

class Main
{
 public static void main(String x[])
 {
  Scanner sc= new Scanner(System.in);
  int a[]=int [3];
  for(int i=0;i<3;i++)
    a[i]=sc.nextInt();
  int sum=a[0]+a[1]+a[2];
  if(sum<22)
    System.out.println("win");
  else
    System.out.println("bust");
	}
}
 


Compiler output:
Main.java:8: error: ']' expected
  int a[]=int [3];
               ^
1 error
Language: Java

import java.util.Scanner;

class Main
{
 public static void main(String x[])
 {
  Scanner sc= new Scanner(System.in);
  int a[]=int[3];
  for(int i=0;i<3;i++)
    a[i]=sc.nextInt();
  int sum=a[0]+a[1]+a[2];
  if(sum<22)
    System.out.println("win");
  else
    System.out.println("bust");
	}
}
 


Compiler output:
Main.java:8: error: ']' expected
  int a[]=int[3];
              ^
1 error
Language: Java

import java.util.Scanner;

class Main
{
 public static void main(Strind x[])
 {
  Scanner sc= new Scanner(System.in);
  int a[]=int[3];
  for(int i=0;i<3;i++)
    a[i]=sc.nextInt();
  int sum=a[0]+a[1]+a[2];
  if(sum<22)
    System.out.println("win");
  else
    System.out.println("bust");
	}
}
 


Compiler output:
Main.java:8: error: ']' expected
  int a[]=int[3];
              ^
1 error
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:12:12: error: expected '}' at end of input
   12 |   return 0;
      |            ^
a.cc:5:1: note: to match this '{'
    5 | {
      | ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:4:13: error: expected unqualified-id before ';' token
    4 |   int a,b,c,;
      |             ^
Language: C++

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

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #<
    1 | #<bits/stdc++.h>
      |  ^
a.cc: In function 'int main()':
a.cc:8:9: error: 'cin' was not declared in this scope
    8 |         cin >> N;
      |         ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | #<bits/stdc++.h>
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout << "bust" << endl;
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:27: error: 'endl' was not declared in this scope
   13 |         cout << "bust" << endl;
      |                           ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | #<bits/stdc++.h>
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout << "win" << endl;
      |         ^~~~
a.cc:15:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:26: error: 'endl' was not declared in this scope
   15 |         cout << "win" << endl;
      |                          ^~~~
a.cc:15:26: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
Language: C

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

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:6:40: error: invalid operands of types 'const char [4]' and 'const char [5]' to binary 'operator*'
    6 |     cout << ((a + b + c <= 21) ? "win" * "bust") << endl;
      |                                  ~~~~~ ^ ~~~~~~
      |                                  |       |
      |                                  |       const char [5]
      |                                  const char [4]
a.cc:6:48: error: expected ':' before ')' token
    6 |     cout << ((a + b + c <= 21) ? "win" * "bust") << endl;
      |                                                ^
      |                                                :
a.cc:6:48: error: expected primary-expression before ')' token
Language: C++

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

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

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

import java.util.Scanner;

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

		Scanner sc =new Scanner(System.in);

		int a=sc.nextInt();
		int b=sc.nextInt();
		int c=sc.nextInt();

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

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

#include <iostream>
using namespace std;

int maint(){
	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 maint()':
a.cc:11:1: warning: no return statement in function returning non-void [-Wreturn-type]
   11 | }
      | ^
/usr/bin/ld: /usr/lib/gcc/x86_64-linux-gnu/14/../../../x86_64-linux-gnu/Scrt1.o: in function `_start':
(.text+0x17): undefined reference to `main'
collect2: error: ld returned 1 exit status
Language: C++

function Main(i) {
	console.log(i.split(' ').reduce((acc, t) => {return acc + parseInt(t)}, 0) > 22 ? 'bust': 'win')
}
Main(require("fs").readFileSync("/dev/stdin", "utf8"));

Compiler output:
a.cc:2:91: warning: multi-character character constant [-Wmultichar]
    2 |         console.log(i.split(' ').reduce((acc, t) => {return acc + parseInt(t)}, 0) > 22 ? 'bust': 'win')
      |                                                                                           ^~~~~~
a.cc:2:99: warning: multi-character character constant [-Wmultichar]
    2 |         console.log(i.split(' ').reduce((acc, t) => {return acc + parseInt(t)}, 0) > 22 ? 'bust': 'win')
      |                                                                                                   ^~~~~
a.cc:1:1: error: 'function' does not name a type; did you mean 'union'?
    1 | function Main(i) {
      | ^~~~~~~~
      | union
a.cc:4:5: error: expected constructor, destructor, or type conversion before '(' token
    4 | Main(require("fs").readFileSync("/dev/stdin", "utf8"));
      |     ^
Language: C++

#include <iostream>
using namespace std;
int main()
{
  int A1;
  int 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:10: error: 'A2' was not declared in this scope; did you mean 'A3'?
    7 | cin>>A1>>A2>>A3;
      |          ^~
      |          A3
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:5:10: error: expected primary-expression before 'int'
    5 |   cin >> int a1 >> int a2 >> int a3;
      |          ^~~
a.cc:6:13: error: 'a1' was not declared in this scope; did you mean 'y1'?
    6 |   int sum = a1 + a2 + a3;
      |             ^~
      |             y1
a.cc:6:18: error: 'a2' was not declared in this scope
    6 |   int sum = a1 + a2 + a3;
      |                  ^~
a.cc:6:23: error: 'a3' was not declared in this scope
    6 |   int sum = a1 + a2 + a3;
      |                       ^~
Language: C++

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

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


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:16: error: 'a2' was not declared in this scope
    5 |   cin >> a1 >> a2 >> a3;
      |                ^~
a.cc:5:22: error: 'a3' was not declared in this scope
    5 |   cin >> a1 >> a2 >> a3;
      |                      ^~
a.cc:6:3: error: 'sum' was not declared in this scope
    6 |   sum = a1 + a2 + a3;
      |   ^~~
Language: C++

#include<bits/stdc++.h>

using namespace std;

#define pb push_back

int main (){

long long a, b, c;

cin >> a >> b >> c;

if (a+b+c >= 22) cout <<"bust";

else cout <<"win";

    return 0;

}


}


Compiler output:
a.cc:22:1: error: expected declaration before '}' token
   22 | }
      | ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |     scanf_s("%d", &a);
      |     ^~~~~~~
      |     scanf
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:7:5: error: implicit declaration of function 'scanf_s'; did you mean 'scanf'? [-Wimplicit-function-declaration]
    7 |     scanf_s("%d", &a)
      |     ^~~~~~~
      |     scanf
main.c:7:22: error: expected ';' before 'scanf_s'
    7 |     scanf_s("%d", &a)
      |                      ^
      |                      ;
    8 |     scanf_s("%d", &b)
      |     ~~~~~~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:25: error: 'win' was not declared in this scope
    6 |   if(a+b+c<=21) cout << win;
      |                         ^~~
a.cc:7:16: error: 'bust' was not declared in this scope
    7 |   else cout << bust;
      |                ^~~~
Language: C++

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

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'namespce'
    2 | using namespce std;
      |       ^~~~~~~~
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:6:17: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    6 |   if(a+b+c<=21) cout << win;
      |                 ^~~~
      |                 std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:6:25: error: 'win' was not declared in this scope
    6 |   if(a+b+c<=21) cout << win;
      |                         ^~~
a.cc:7:8: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    7 |   else cout << bust;
      |        ^~~~
      |        std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:7:16: error: 'bust' was not declared in this scope
    7 |   else cout << bust;
      |                ^~~~
a.cc:8:3: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |   cout << endl;
      |   ^~~~
      |   std::cout
/usr/include/c++/14/iostream:63:18: note: 'std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:8:11: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
    8 |   cout << 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<stdio.h>
int main(){
  int a,b,c;
  scanf("&d&d&d",&a,&b,&c);
  if(a+b+c>=22)puts('bust');
  else puts('win');
}

Compiler output:
a.cc:5:21: warning: multi-character character constant [-Wmultichar]
    5 |   if(a+b+c>=22)puts('bust');
      |                     ^~~~~~
a.cc:6:13: warning: multi-character character constant [-Wmultichar]
    6 |   else puts('win');
      |             ^~~~~
a.cc: In function 'int main()':
a.cc:5:21: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    5 |   if(a+b+c>=22)puts('bust');
      |                     ^~~~~~
      |                     |
      |                     int
In file included from a.cc:1:
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
a.cc:6:13: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |   else puts('win');
      |             ^~~~~
      |             |
      |             int
/usr/include/stdio.h:714:30: note:   initializing argument 1 of 'int puts(const char*)'
  714 | extern int puts (const char *__s);
      |                  ~~~~~~~~~~~~^~~
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');
}
return0;
}

Compiler output:
a.cc:6:12: warning: multi-character character constant [-Wmultichar]
    6 |     printf('win');
      |            ^~~~~
a.cc:8:12: warning: multi-character character constant [-Wmultichar]
    8 |     printf('bust');
      |            ^~~~~~
a.cc: In function 'int main()':
a.cc:3:9: error: expected initializer before 'b'
    3 |   int a b c;
      |         ^
a.cc:4:19: error: 'a' was not declared in this scope
    4 |   scanf("%d%d%d",&a&b&c);
      |                   ^
a.cc:4:21: error: 'b' was not declared in this scope
    4 |   scanf("%d%d%d",&a&b&c);
      |                     ^
a.cc:4:23: error: 'c' was not declared in this scope
    4 |   scanf("%d%d%d",&a&b&c);
      |                       ^
a.cc:6:12: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    6 |     printf('win');
      |            ^~~~~
      |            |
      |            int
In file included from a.cc:1:
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc:8:12: error: invalid conversion from 'int' to 'const char*' [-fpermissive]
    8 |     printf('bust');
      |            ^~~~~~
      |            |
      |            int
/usr/include/stdio.h:363:43: note:   initializing argument 1 of 'int printf(const char*, ...)'
  363 | extern int printf (const char *__restrict __format, ...);
      |                    ~~~~~~~~~~~~~~~~~~~~~~~^~~~~~~~
a.cc: At global scope:
a.cc:10:1: error: 'return0' does not name a type
   10 | return0;
      | ^~~~~~~
a.cc:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:4:10: error: 'a' undeclared (first use in this function)
    4 |   scanf(&a,&b,&c);
      |          ^
main.c:4:10: note: each undeclared identifier is reported only once for each function it appears in
main.c:4:13: error: 'b' undeclared (first use in this function)
    4 |   scanf(&a,&b,&c);
      |             ^
main.c:4:16: error: 'c' undeclared (first use in this function)
    4 |   scanf(&a,&b,&c);
      |                ^
main.c:7:37: error: expected ';' before '}' token
    7 |   return a+b+c > 22 ? "bust" : "win"
      |                                     ^
      |                                     ;
    8 | }
      | ~
Language: Java

import java.*;

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


Compiler output:
Main.java:1: error: package java does not exist
import java.*;
^
Main.java:5: error: cannot find symbol
		Scanner s = new Scanner(System.in);
		^
  symbol:   class Scanner
  location: class Main
Main.java:5: error: cannot find symbol
		Scanner s = new Scanner(System.in);
		                ^
  symbol:   class Scanner
  location: class Main
3 errors
Language: Java

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

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

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

Compiler output:
Main.java:1: error: unnamed classes are a preview feature and are disabled by default.
public static void main(String[] args){
              ^
  (use --enable-preview to enable unnamed classes)
1 error
Language: C

#include <stdio.h>

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

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

    if(sum >= 22){
        bust
    }else{
        win
    }
    return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:17: error: 'f' undeclared (first use in this function)
    8 |     sum = a+b+c;f
      |                 ^
main.c:8:17: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:18: error: expected ';' before 'if'
    8 |     sum = a+b+c;f
      |                  ^
      |                  ;
    9 | 
   10 |     if(sum >= 22){
      |     ~~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:12: error: expected primary-expression before '<' token
    6 |   if(a+b+c=<21){
      |            ^
Language: Java

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


Compiler output:
Main.java:5: error: cannot find symbol
    Scanner input = new Scanner(system.in);
                                ^
  symbol:   variable system
  location: class Main
1 error
Language: Java

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

Compiler output:
Main.java:8: error: cannot find symbol
      int a = input.nextInt();
              ^
  symbol:   variable input
  location: class Main
1 error
Language: C++

int a,b,c=0;

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

Compiler output:
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if((a+b+c)>=22){
      | ^~
a.cc:5:2: error: expected unqualified-id before 'else'
    5 | }else{
      |  ^~~~
Language: C++

#include<stdio.h>
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:4:19: error: expected unqualified-id before ';' token
    4 |         int a,b,c,;
      |                   ^
a.cc:5:9: error: 'cin' was not declared in this scope
    5 |         cin>>a>>b>>c;
      |         ^~~
a.cc:7:25: error: 'cout' was not declared in this scope
    7 |                 {       cout<<"bust"};
      |                         ^~~~
a.cc:8:25: error: 'else' without a previous 'if'
    8 |                         else
      |                         ^~~~
a.cc:9:33: error: 'cout' was not declared in this scope
    9 |                         {       cout<<"win"};
      |                                 ^~~~
Language: C++

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

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

Compiler output:
a.cc:1:11: error: expected unqualified-id before ';' token
    1 | int a,b,c,;
      |           ^
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>>a>>b>>c;
      | ^~~
a.cc:3:1: error: expected unqualified-id before 'if'
    3 | if((a+b+c)>=22)
      | ^~
a.cc:5:1: error: expected unqualified-id before 'else'
    5 | else
      | ^~~~
Language: C++

import java.util.Scanner;
public class solution{
  public static void main(String[]args){
  Scanner robo=new Scanner(System.in);
    
    int num=robo.nextInt();
    int num1=robo.nextInt();
    int num2=robo.nextInt();
    int sum=0;
    sum=num+num1+num2;
    if(sum>=23)
    {
      System.out.println("bust");
    }
    else{
    System.out.println("win");
    }
  }
}

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

import java.util.Scanner;
public class solution {
  public static void main(String[]args){
  Scanner robo=new Scanner(System.in);
    
    int num=robo.nextInt();
    int num1=robo.nextInt();
    int num2=robo.nextInt();
    int sum=0;
    sum=num+num1+num2;
    if(sum>=23)
    {
      System.out.println("bust");
    }
    else{
    System.out.println("win");
    }
  }
}

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

import java.util.Scanner;
public class solution {
  public static void main(String[]args){
  Scanner robo=new Scanner(System.in);
    int sum=0;
    int num=robo.nextInt();
    int num1=robo.nextInt();
    int num2=robo.nextInt();
    sum=num+num1+num2;
    if(sum>=23)
    {
      System.out.println("bust");
    }
    else{
    System.out.println("win");
    }
  }
}

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

import java.util.Scanner;
public class solution {
  public staic void main(String[]args){
  Scanner robo=new Scanner(System.in);
    int sum=0;
    int num=robo.nextInt();
    int num1=robo.nextInt();
    int num2=robo.nextInt();
    sum=num+num1+num2;
    if(sum>=23)
    {
      System.out.println("bust");
    }
    else{
    System.out.println("win");
    }
  }
}

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

import java.util.Scanner;
public class solution {
  public sttaic void main(String[]args){
  Scanner robo=new Scanner(System.in);
    int sum=0;
    int num=robo.nextInt();
    int num1=robo.nextInt();
    int num2=robo.nextInt();
    sum=num+num1+num2;
    if(sum>=23)
    {
      System.out.println("bust");
    }
    else{
    System.out.println("win");
    }
  }
}

Compiler output:
Main.java:3: error: <identifier> expected
  public sttaic void main(String[]args){
               ^
1 error
Language: C++

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

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

#include<iostream>
#include<cstring>
using  namespace std;
int main()
{
	int a,b,c;
	while(scanf("%d%d%d",&a,&b,&c)!=EOF)
	{
		if(a+b+c>=22)
		printf("bust\n");
		else
		printf("win\n")
	}
 } 

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

#include<cstdio>
int main(){
	int a,b,c,d;
	while(~scanf("%d%d%d",&a,&b,&c))
	{
		if(a+b+c<=21)
		printf("win\n");
		else
		printf("bust\n")
	}
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:33: error: expected ';' before '}' token
    9 |                 printf("bust\n")
      |                                 ^
      |                                 ;
   10 |         }
      |         ~
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;
	}
}

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

//#include <tourist>
#include <cstdio>
#include <cstdlib>
#include <cstring>
#include <cmath>
#include <iostream>
#include <string>
#include <iomanip>
#include <limits>
#include <vector>
#include <map>
#include <set>
#include <stack>
#include <list>
#include <queue>
#include <tuple>
#include <deque>
#include <algorithm>
#include <numeric>
#include <iomanip>
#include <utility>
#include <complex>
#include <functional>
using namespace std;
const int MOD = 1000000007;
typedef long long ll;
typedef pair<ll, ll> p;
const int INF = (1 << 28);
const int dx[4] = {0, 1, 0, -1}, dy[4] = {-1, 0, 1, 0};
const int Dx[8] = {0, 1, 1, 1, 0, -1, -1, -1}, Dy[8] = {-1, -1, 0, 1, 1, 1, 0, -1};
#define yes cout << "Yes" << endl
#define YES cout << "YES" << endl
#define no cout << "No" << endl
#define NO cout << "NO" << endl
#define REP(i, n) for (int i = 0; i < n; i++)
#define REPR(i, n) for (int i = n; i >= 0; i--)
#define FOR(i, m, n) for (int i = m; i < n; i++)
#define INF 2e9
#define ALL(v) v.begin(), v.end()
//setprecision(15)有効数字15桁
//-std=c++14
ll gcd(ll a,ll b){return b?gcd(b,a%b):a;}
ll lcm(ll a, ll b)
{
    return a * b / gcd(a, b);
}
struct edge {
    int to, cost;
};
int a, b, c;
int a[10000];
int main()
{
    cin.tie(0);
    ios::sync_with_stdio(false);
    cin >> a>>b>>c;
    if(a+b+c-22<0)
    return cout<<"win"<<"\n",0;
    cout<<"bust"<<"\n"
}



Compiler output:
a.cc:51:5: error: conflicting declaration 'int a [10000]'
   51 | int a[10000];
      |     ^
a.cc:50:5: note: previous declaration as 'int a'
   50 | int a, b, c;
      |     ^
a.cc: In function 'int main()':
a.cc:59:23: error: expected ';' before '}' token
   59 |     cout<<"bust"<<"\n"
      |                       ^
      |                       ;
   60 | }
      | ~
Language: C

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


Compiler output:
main.c:1:9: error: expected '=', ',', ';', 'asm' or '__attribute__' before '<' token
    1 |  include<stdio.h>
      |         ^
Language: C++

#include<bits/stdc++.h>
 
#define REP(i,s,N) for (int i=s;i<(N); ++i)
#define ALL(x) (x).begin(), (x).end()
typedef long long ll;
using namespace std;


ll ans=0;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:18:7: error: 'out' was not declared in this scope
   18 |       out << "win" << endl;
      |       ^~~
Language: C++

///                                                     ببِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم
#include <bits/stdc++.h>
//#define off  exit( 0 )
//#define cn   continue
#define rt   return/*
#define sc   scanf
#define pr   printf
#define pb   push_back
#define pf   push_front
#define p_f  pop_front
#define p_b  pop_back
#define ff   first
#define ss   second
#define vec  vector
#define gcd  __gcd
#define pi   acos( -1 )*/
#define ll   long long
/*#define ld   long double
#define N    2256
#define M    1000000007
#define I    1000000000000000000
#define pdd  pair < ld, ld >
#define pll  pair < ll, ll >
#define pii  pair < int, int >
#define rep( a, b, c, d )  for( int a = b; a <= c; a += d )
#define rvv( a, b, c, d )  for( int a = b; a >= c; a -= d )
#define en                 printf( "\n" )
#define sqr( a )           a * a
#define all( c )           c.begin(), c.end()
#define srt( c )           sort( all( c ) )
#define rev( c )           reverse( all( c ) )
#define srtr( c )          sort( c.rbegin(), c.rend() )
#define numcounts          __builtin_popcount
#define mxn( x, y, z )     max( x, min( y, z ) )
#define mnx( x, y, z )     min( x, max( y, z ) )
const int dx[ ] = { 1, -1, 0, 0 };
const int dy[ ] = { 0, 0, -1, 1 };*/
using namespace std;
ll ttt = 1;
ll a, b, c;
void solve()
{
    cin >> a >> b >> c;
    if(a + b + c >= 22)cout << "bust";
    else cout << "win"
}
int main()
{
    //sc( "%I64d", &ttt );
    for(int i = 0; i < ttt; i ++ )
        solve();
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:45:23: error: expected ';' before '}' token
   45 |     else cout << "win"
      |                       ^
      |                       ;
   46 | }
      | ~
Language: C++

///                                                     ببِسْمِ اللَّهِ الرَّحْمَنِ الرَّحِيم
#include <bits/stdc++.h>
//#define off  exit( 0 )
//#define cn   continue
#define rt   return/*
#define sc   scanf
#define pr   printf
#define pb   push_back
#define pf   push_front
#define p_f  pop_front
#define p_b  pop_back
#define ff   first
#define ss   second
#define vec  vector
#define gcd  __gcd
#define pi   acos( -1 )*/
#define ll   long long
/*#define ld   long double
#define N    2256
#define M    1000000007
#define I    1000000000000000000
#define pdd  pair < ld, ld >
#define pll  pair < ll, ll >
#define pii  pair < int, int >
#define rep( a, b, c, d )  for( int a = b; a <= c; a += d )
#define rvv( a, b, c, d )  for( int a = b; a >= c; a -= d )
#define en                 printf( "\n" )
#define sqr( a )           a * a
#define all( c )           c.begin(), c.end()
#define srt( c )           sort( all( c ) )
#define rev( c )           reverse( all( c ) )
#define srtr( c )          sort( c.rbegin(), c.rend() )
#define numcounts          __builtin_popcount
#define mxn( x, y, z )     max( x, min( y, z ) )
#define mnx( x, y, z )     min( x, max( y, z ) )
const int dx[ ] = { 1, -1, 0, 0 };
const int dy[ ] = { 0, 0, -1, 1 };*/
using namespace std;
ll ttt = 1;
ll a, b, c;
void solve()
{
    cin >> a >> b >> c;
    if(a + b + c == 22)cout << "bust";
    else cout << "win"
}
int main()
{
    //sc( "%I64d", &ttt );
    for(int i = 0; i < ttt; i ++ )
        solve();
}


Compiler output:
a.cc: In function 'void solve()':
a.cc:45:23: error: expected ';' before '}' token
   45 |     else cout << "win"
      |                       ^
      |                       ;
   46 | }
      | ~
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  string S;
  cin >> S;
  int head = 0;
  int tail = S.size() - 1;
  int count = 0;
  while((head < tail)
  {
    if(S[head] != S[tail]) {
      S[head] = S[tail];
      count++;
    }
    head++;
    tail--;
  }
  
  cout << count << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:22: error: expected ')' before '{' token
   10 |   while((head < tail)
      |        ~             ^
      |                      )
   11 |   {
      |   ~
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 = bool((A1+A2+A3) > 21) ? : s1 : s2;
  cout << A;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:42: error: found ':' in nested-name-specifier, expected '::'
    9 |  string A = bool((A1+A2+A3) > 21) ? : s1 : s2;
      |                                          ^
      |                                          ::
a.cc:9:39: error: 's1' is not a class, namespace, or enumeration
    9 |  string A = bool((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;
  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:38: error: found ':' in nested-name-specifier, expected '::'
    9 |  string A = ((A1+A2+A3) > 21) ? : s1 : s2;
      |                                      ^
      |                                      ::
a.cc:9:35: error: 's1' is not a class, namespace, or enumeration
    9 |  string A = ((A1+A2+A3) > 21) ? : s1 : s2;
      |                                   ^~