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

}
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:1: error: expected identifier or '(' before '}' token
    1 | }
      | ^
main.c:2:18: error: expected declaration specifiers or '...' before string constant
    2 | int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b+c>=22)puts("bust"); else puts("win");
      |                  ^~~~~~~~
main.c:2:27: error: expected declaration specifiers or '...' before '&' token
    2 | int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b+c>=22)puts("bust"); else puts("win");
      |                           ^
main.c:2:30: error: expected declaration specifiers or '...' before '&' token
    2 | int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b+c>=22)puts("bust"); else puts("win");
      |                              ^
main.c:2:33: error: expected declaration specifiers or '...' before '&' token
    2 | int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b+c>=22)puts("bust"); else puts("win");
      |                                 ^
main.c:2:38: error: expected identifier or '(' before 'if'
    2 | int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b+c>=22)puts("bust"); else puts("win");
      |                                      ^~
main.c:2:65: error: expected identifier or '(' before 'else'
    2 | int a,b,c; scanf("%d%d%d",&a,&b,&c); if(a+b+c>=22)puts("bust"); else puts("win");
      |                                                                 ^~~~
Language: C++

A1,A2,A3 = gets.chomp.split(' ').map(&:to_i)

if A1+A2+A3 > 21
  print('bust')
else
  print('win')
end

Compiler output:
a.cc:4:9: warning: multi-character character constant [-Wmultichar]
    4 |   print('bust')
      |         ^~~~~~
a.cc:6:9: warning: multi-character character constant [-Wmultichar]
    6 |   print('win')
      |         ^~~~~
a.cc:1:1: error: 'A1' does not name a type
    1 | A1,A2,A3 = gets.chomp.split(' ').map(&:to_i)
      | ^~
Language: C++

main(){int a,b,c;std::cin >>a>>b>>c;puts(a+b+c>=22?"bust":"win");}

Compiler output:
a.cc:1:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    1 | main(){int a,b,c;std::cin >>a>>b>>c;puts(a+b+c>=22?"bust":"win");}
      | ^~~~
a.cc: In function 'int main()':
a.cc:1:23: error: 'cin' is not a member of 'std'
    1 | main(){int a,b,c;std::cin >>a>>b>>c;puts(a+b+c>=22?"bust":"win");}
      |                       ^~~
a.cc:1:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
  +++ |+#include <iostream>
    1 | main(){int a,b,c;std::cin >>a>>b>>c;puts(a+b+c>=22?"bust":"win");}
a.cc:1:37: error: 'puts' was not declared in this scope
    1 | main(){int a,b,c;std::cin >>a>>b>>c;puts(a+b+c>=22?"bust":"win");}
      |                                     ^~~~
Language: C++

#include <stdio.h>
#include <stdlib.h>
#include <iostream>
#include <vector>

int main() {
  int a[5]=0;
  int sum=0;
  for(int i=0;i<2;i++){

    scanf("%d",&a[i]);
    sum+=a[i];
  }

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: array must be initialized with a brace-enclosed initializer
    7 |   int a[5]=0;
      |            ^
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 if(a+b+c<=21){
    cout<<"bust"<<endl;
  }
  return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
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 if(a+b+c<=21){
    cout<<bust<<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'win' was not declared in this scope; did you mean 'sin'?
    8 |     cout<<win<<endl;
      |           ^~~
      |           sin
a.cc:11:11: error: 'bust' was not declared in this scope
   11 |     cout<<bust<<endl;
      |           ^~~~
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 if(a+b+c<=21){
    cout<<bust<<endl;
  }
  return 0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:11: error: 'win' was not declared in this scope; did you mean 'sin'?
    8 |     cout<<win<<endl;
      |           ^~~
      |           sin
a.cc:11:11: error: 'bust' was not declared in this scope
   11 |     cout<<bust<<endl;
      |           ^~~~
a.cc:13:11: error: expected ';' before '}' token
   13 |   return 0
      |           ^
      |           ;
   14 | }
      | ~
Language: Java

class Main {
  public static void main(String[] args) {
    int A1=5;
    int A2=7;
    int A3=9; 
    A=A1+A2+A3;
   if(A>21){
     System.out.println("bust");
   }else{
     System.out.println("win");
     
   }
    
  }
}

Compiler output:
Main.java:6: error: cannot find symbol
    A=A1+A2+A3;
    ^
  symbol:   variable A
  location: class Main
Main.java:7: error: cannot find symbol
   if(A>21){
      ^
  symbol:   variable A
  location: class Main
2 errors
Language: Java

class Main {
  public static void main(String[] args) {
    int A1=5;
    int A2=7;
    int A3=9; 
    A=A1+A2+A3
   if(A>21){
     System.out.println("bust");
   }else{
     System.out,println("win");
     
   }
    
  }
}

Compiler output:
Main.java:6: error: ';' expected
    A=A1+A2+A3
              ^
Main.java:10: error: not a statement
     System.out,println("win");
           ^
Main.java:10: error: ';' expected
     System.out,println("win");
               ^
3 errors
Language: Java

class Main {
  public static void main(String[] args) {
    A1=5
    A2=7
    A3=9 
    A=A1+A2+A3
   if(A>21){
     System.out.println("bust");
   }else{
     System.out,println("win");
     
   }
    
  }
}

Compiler output:
Main.java:3: error: ';' expected
    A1=5
        ^
Main.java:4: error: ';' expected
    A2=7
        ^
Main.java:5: error: ';' expected
    A3=9 
        ^
Main.java:6: error: ';' expected
    A=A1+A2+A3
              ^
Main.java:10: error: not a statement
     System.out,println("win");
           ^
Main.java:10: error: ';' expected
     System.out,println("win");
               ^
6 errors
Language: C++

#include <bits\stdc++.h>

#define sc second
#define fr first
#define mk make_pair
#define pb push_back
#define int long long

using namespace std;

const int N = (1e6 + 5);
const int inf = (1e18 + 7);
int a,b,c;

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

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


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

import java.util.Scanner

fun main(args: Array<String>) {
    println(
        a(args)
    )
}

fun a(args: Array<String>): Int {
    val sc = Scanner(System.`in`)
    return sc.nextInt() + sc.nextInt() + sc.nextInt()
}

Compiler output:
a.cc:10:29: error: stray '`' in program
   10 |     val sc = Scanner(System.`in`)
      |                             ^
a.cc:10:32: error: stray '`' in program
   10 |     val sc = Scanner(System.`in`)
      |                                ^
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:9:1: error: 'fun' does not name a type
    9 | fun a(args: Array<String>): Int {
      | ^~~
Language: C++

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

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main
      |     ^~~~
a.cc:5:4: error: expected primary-expression before 'int'
    5 |    int A,B,C;
      |    ^~~
a.cc:5:4: error: expected '}' before 'int'
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
a.cc:6:4: error: 'cin' does not name a type
    6 |    cin>>A>>B>>C;
      |    ^~~
a.cc:7:4: 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:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

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

Compiler output:
a.cc:3:5: error: cannot declare '::main' to be a global variable
    3 | int main
      |     ^~~~
a.cc:5:4: error: expected primary-expression before 'int'
    5 |    int A,B,C;
      |    ^~~
a.cc:5:4: error: expected '}' before 'int'
a.cc:4:1: note: to match this '{'
    4 | {
      | ^
a.cc:6:4: error: 'cin' does not name a type
    6 |    cin>>A>>B>>C;
      |    ^~~
a.cc:7:4: 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:11:1: error: expected declaration before '}' token
   11 | }
      | ^
Language: C++

#include <iostream>
using namespace std;
 
int main{
  int a1,a2,a3;
  cin >> a1 >> a2 >> a3;
  
  if((a1 + a2 + a3) >= 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 a1,a2,a3;
      |   ^~~
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 >> a1 >> a2 >> a3;
      |   ^~~
a.cc:8:3: error: expected unqualified-id before 'if'
    8 |   if((a1 + a2 + a3) >= 22){
      |   ^~
a.cc:11:3: error: expected unqualified-id before 'else'
   11 |   else {
      |   ^~~~
a.cc:14:1: error: expected declaration before '}' token
   14 | }
      | ^
Language: C++

#include <iostream>
using namespace std;

int main{
  int a1,a2,a3;
  cin>>a1>>a2>>a3;
  
  if((a1+a2+a3) >= 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 a1,a2,a3;
      |   ^~~
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>>a1>>a2>>a3;
      |   ^~~
a.cc:8:3: error: expected unqualified-id before 'if'
    8 |   if((a1+a2+a3) >= 22)
      |   ^~
a.cc:10:3: error: expected unqualified-id before 'else'
   10 |   else
      |   ^~~~
a.cc:12:1: error: expected declaration before '}' token
   12 | }
      | ^
Language: C

#include<stdio.h>
#include<string.h>
 
int main(void){
  int i;
  int count;
  char S[100];
  scanf("%s", S);
  int len = strlen(S);
  for(i = 0; i < len/2; i++){
    if(i != len - i - 1) {
      count++;
    }
  }
  printf("%d", count);

Compiler output:
main.c: In function 'main':
main.c:15:3: error: expected declaration or statement at end of input
   15 |   printf("%d", count);
      |   ^~~~~~
Language: C

#include<stdio.h>
#include<string.h>
 
int main(void){
  int i;
  int count;
  char S[100];
  scanf("%s", s);
  len = strlen(s);
  for(i = 0; i < len/2; i++){
    if(i != len - i - 1) {
      count++;
    }
  }
  printf("%d", count);

Compiler output:
main.c: In function 'main':
main.c:8:15: error: 's' undeclared (first use in this function)
    8 |   scanf("%s", s);
      |               ^
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:3: error: 'len' undeclared (first use in this function)
    9 |   len = strlen(s);
      |   ^~~
main.c:15:3: error: expected declaration or statement at end of input
   15 |   printf("%d", count);
      |   ^~~~~~
Language: C

#include<stdio.h>
#include<string.h>
 
int main(void){
  int i;
  int count;
  char S[100];
  scanf("%s", s);
  int len = strlen(s);
  for(i = 0; i < len/2; i++){
    if(i != len - i - 1) {
      count++
    }
  }
  printf("%d", count);

Compiler output:
main.c: In function 'main':
main.c:8:15: error: 's' undeclared (first use in this function)
    8 |   scanf("%s", s);
      |               ^
main.c:8:15: note: each undeclared identifier is reported only once for each function it appears in
main.c:12:14: error: expected ';' before '}' token
   12 |       count++
      |              ^
      |              ;
   13 |     }
      |     ~         
main.c:15:3: error: expected declaration or statement at end of input
   15 |   printf("%d", count);
      |   ^~~~~~
Language: Java

public class Main {
	public static void main(String[] args) {
		Scanner stdIn = new Scanner(System.in);
		int[] s = new int[3];
		int sum=0;
	        for(int i=0 ; i<3 ; i++) {
	        	do {
	        	s[i] = stdIn.nextInt();
	        	}while(s[i]<1||s[i]>14);
        	sum += s[i];
        }
	        if(sum>=22) {
	        	System.out.println("bust");
	        }else {
	        	System.out.println("win");
	        }
	}
}


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

#include<stdio.h>
 
int main(void){
  int A1, A2, A3;
  scanf("%d %d %d", &A1, &A2, &A3);
  A1+A2+A3 >= 22 ? printf("bust\n"); : printf("win\n");
}

Compiler output:
main.c: In function 'main':
main.c:6:36: error: expected ':' before ';' token
    6 |   A1+A2+A3 >= 22 ? printf("bust\n"); : printf("win\n");
      |                                    ^
      |                                    :
main.c:6:38: error: expected expression before ':' token
    6 |   A1+A2+A3 >= 22 ? printf("bust\n"); : printf("win\n");
      |                                      ^
Language: C

#include<stdio.h>

int main(void){
  int A1, A2, A3;
  scanf("%d %d %d", A1, A2, A3);
  A1+A2+A3 >= 22 ? printf("bust\n"); : printf("win\n");
}

Compiler output:
main.c: In function 'main':
main.c:6:36: error: expected ':' before ';' token
    6 |   A1+A2+A3 >= 22 ? printf("bust\n"); : printf("win\n");
      |                                    ^
      |                                    :
main.c:6:38: error: expected expression before ':' token
    6 |   A1+A2+A3 >= 22 ? printf("bust\n"); : printf("win\n");
      |                                      ^
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:11:32: error: expected ';' before '}' token
   11 |                 printf("win\n")
      |                                ^
      |                                ;
   12 |         }
      |         ~
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:15: error: expected ';' before '}' token
   12 |   cout<<"bust"
      |               ^
      |               ;
   13 |   }
      |   ~            
a.cc:16:14: error: expected ';' before '}' token
   16 |   cout<<"win"
      |              ^
      |              ;
   17 |   }
      |   ~
Language: C++

#include<bits/stdc++.h>
using namspace 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:2:7: error: expected nested-name-specifier before 'namspace'
    2 | using namspace std;
      |       ^~~~~~~~
a.cc: In function 'int main()':
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin>>a>>b>>c;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:8:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
    8 |     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:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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>
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:17: error: expected ';' before 'else'
    8 |     cout<<"bust"
      |                 ^
      |                 ;
    9 |     else
      |     ~~~~
Language: C++

l = input().split()
l2 = list(map(int, l))
if sum(l2) >= 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: 'l' does not name a type
    1 | l = input().split()
      | ^
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" << endl;
    }
  
    else if(){
      cout << "win" << endl;
    }
}


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

Compiler output:
a.cc: In function 'int main()':
a.cc:14:12: error: expected '(' before '{' token
   14 |     else if{
      |            ^
      |            (
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:8:3: error: 'e' was not declared in this scope
    8 |   e;se
      |   ^
a.cc:8:5: error: 'se' was not declared in this scope
    8 |   e;se
      |     ^~
Language: C++

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

Compiler output:
a.cc:1:1: error: 'include' does not name a type
    1 | include <iostream>
      | ^~~~~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b>>c;
      |   ^~~
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"bust";
      |     ^~~~
a.cc:8:3: error: 'e' was not declared in this scope
    8 |   e;se
      |   ^
a.cc:8:5: error: 'se' was not declared in this scope
    8 |   e;se
      |     ^~
Language: Java

import java.util.*;

public class Test {
    public static void main(String[] args) {
        if (args.length == 3) {

            int cnt = 0;
            for (int i = 0; i < args.length; i++) {
                cnt = cnt + Integer.parseInt(args[i]);
            }
            if (cnt <= 21) {
                System.out.println("win");
            } else if (cnt >= 22) {
                System.out.println("bust");
            }
        }
    }
}

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: C++

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

int main() {
    ios_base::sync_with_stdio(false);
    cin.tie(NULL);
    
    ll a,b,c;
    cin >> a >> b >> c;
    cout << (a + b + c >= 22 ? "bust" : "win");
} 




Compiler output:
a.cc: In function 'int main()':
a.cc:8:5: error: 'll' was not declared in this scope
    8 |     ll a,b,c;
      |     ^~
a.cc:9:12: error: 'a' was not declared in this scope
    9 |     cin >> a >> b >> c;
      |            ^
a.cc:9:17: error: 'b' was not declared in this scope
    9 |     cin >> a >> b >> c;
      |                 ^
a.cc:9:22: error: 'c' was not declared in this scope
    9 |     cin >> a >> b >> c;
      |                      ^
Language: C++

#include <bits/stdc++.h>

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


Compiler output:
a.cc: In function 'int main()':
a.cc:11:32: error: found ':' in nested-name-specifier, expected '::'
   11 |       std::cout << "win" << std:endl;
      |                                ^
      |                                ::
Language: C++

#include <bits/stdc++.h>

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


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 >> A1 >> A2 >> A3;
      |   ^~~
      |   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:11:32: error: found ':' in nested-name-specifier, expected '::'
   11 |       std::cout << "win" << std:endl;
      |                                ^
      |                                ::
Language: C++

#include <bits/stdc++.h>

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


Compiler output:
a.cc:5:5: error: cannot declare '::main' to be a global variable
    5 | int(main){
      |     ^~~~
a.cc:6:29: error: expected '}' before ';' token
    6 |   std::cin >> A1 >> A2 >> A3;
      |                             ^
a.cc:5:10: note: to match this '{'
    5 | int(main){
      |          ^
a.cc:6:24: error: invalid user-defined conversion from 'std::basic_istream<char>::__istream_type' {aka 'std::basic_istream<char>'} to 'int' [-fpermissive]
    6 |   std::cin >> A1 >> A2 >> A3;
      |   ~~~~~~~~~~~~~~~~~~~~~^~~~~
In file included from /usr/include/c++/14/ios:46,
                 from /usr/include/c++/14/istream:40,
                 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,
                 from a.cc:1:
/usr/include/c++/14/bits/basic_ios.h:121:16: note: candidate is: 'std::basic_ios<_CharT, _Traits>::operator bool() const [with _CharT = char; _Traits = std::char_traits<char>]' (near match)
  121 |       explicit operator bool() const
      |                ^~~~~~~~
/usr/include/c++/14/bits/basic_ios.h:121:16: note:   return type 'bool' of explicit conversion function cannot be converted to 'int' with a qualification conversion
a.cc:7:3: error: 'sum' does not name a type
    7 |   sum = A1 + A2 + A3;
      |   ^~~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(sum >= 22){
      |     ^~
a.cc:10:6: error: expected unqualified-id before 'else'
   10 |     }else{
      |      ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include <bits/stdc++.h>

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


Compiler output:
a.cc:5:5: error: cannot declare '::main' to be a global variable
    5 | int(main){
      |     ^~~~
a.cc:6:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    6 |   cin >> A1 >> A2 >> A3;
      |   ^~~
      |   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:6:24: error: expected '}' before ';' token
    6 |   cin >> A1 >> A2 >> A3;
      |                        ^
a.cc:5:10: note: to match this '{'
    5 | int(main){
      |          ^
a.cc:7:3: error: 'sum' does not name a type
    7 |   sum = A1 + A2 + A3;
      |   ^~~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(sum >= 22){
      |     ^~
a.cc:10:6: error: expected unqualified-id before 'else'
   10 |     }else{
      |      ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include <bits/stdc++.h>

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


Compiler output:
a.cc:5:1: error: 'cin' does not name a type
    5 | cin >> A1 >> A2 >> A3;
      | ^~~
a.cc:6:5: error: cannot declare '::main' to be a global variable
    6 | int(main){
      |     ^~~~
a.cc:7:21: error: expected '}' before ';' token
    7 |   sum = A1 + A2 + A3;
      |                     ^
a.cc:6:10: note: to match this '{'
    6 | int(main){
      |          ^
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(sum >= 22){
      |     ^~
a.cc:10:6: error: expected unqualified-id before 'else'
   10 |     }else{
      |      ^~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: Java

import java.util.Scanner;

public class A {

	public static void main(String[] args) {
		Scanner sc = new Scanner(System.in);
		// 整数の入力
		int a = sc.nextInt();
		int b = sc.nextInt();
		int c = sc.nextInt();
		// 文字列の入力
		if (a+b+c >= 22) {
			System.out.println("bust");
		} else {
			System.out.println("win");
		}
	}

}

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

import java.util.Scanner;

public static void main(String[] args) {
  Scanner sc = new Scanner(System.in);
  // 整数の入力
  int a = sc.nextInt();
  int b = sc.nextInt();
  int c = sc.nextInt();
  // 文字列の入力
  if (a+b+c >= 22) {
    System.out.println("bust");
  } else {
    System.out.println("win");
  }
}

Compiler output:
Main.java:3: 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<iostream.>
using namespace std;
int main(){
    int a[3],s=0;
    for(int i=0; i<3; i++){
        cin >> a[i];
        s+=a[i];
    }
    if(s>=22)
        cout << "bust" << endl;
    else
        cout << "win" << endl;
}
    
    
    

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:16:18: error: expected '}' at end of input
   16 |         return 0;
      |                  ^
a.cc:6:1: note: to match this '{'
    6 | {
      | ^
Language: C++

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

int main() {

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

    A = a + b + c;

    if(A => 22)
    {
        cout << "bust" << endl;
    } else if(A <= 21){

        cout << "win" <<endl;
    }



}


Compiler output:
a.cc: In function 'int main()':
a.cc:13:11: error: expected primary-expression before '>' token
   13 |     if(A => 22)
      |           ^
Language: Java

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();

		int sum = a1 + a2 + a3;

		if(sum >= 22) {
			System.out.println("bust");
		} else {
			System.out.println("win");
		}
	}

}

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

import java.util.*;
class Black
  public static void Main(String[] args){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 22){
      System.out.println("win");
    }else(sum > 21){
      System.out.println("bust");
    }
  }
}

Compiler output:
Main.java:2: error: '{' expected
class Black
           ^
Main.java:13: error: not a statement
    }else(sum > 21){
         ^
Main.java:3: error: unnamed classes are a preview feature and are disabled by default.
  public static void Main(String[] args){
                ^
  (use --enable-preview to enable unnamed classes)
Main.java:13: error: ';' expected
    }else(sum > 21){
                   ^
Main.java:17: error: class, interface, enum, or record expected
}
^
5 errors
Language: Java

import java.util.Scanner;

  public static void Main(String args[]){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 21){
      System.out.println("win");
    }else{
      System.out.println("bust");
    }
  }


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

import java.util.Scanner;

  public static void main(String args[]){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 21){
      System.out.println("win");
    }else{
      System.out.println("bust");
    }
  }

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

import java.util.Scanner;

public class Main(){
  public static void main(String args[]){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 21){
      System.out.println("win");
    }else{
      System.out.println("bust");
    }
  }
}

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

import java.util.Scanner;

public class Main(){
  public static void main(String[] args){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 21){
      System.out.println("win");
    }else{
      System.out.println("bust");
    }
  }
}

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

import java.util.Scanner;

public class Main(){
  public static void main(String args()){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 21){
      System.out.println("win");
    }else{
      System.out.println("bust");
    }
  }
}

Compiler output:
Main.java:3: error: '{' expected
public class Main(){
                 ^
Main.java:4: error: ',', ')', or '[' expected
  public static void main(String args()){
                                     ^
2 errors
Language: C++

using namespace std;
 
int N;
int A[20];
int x[20][20];
int y[20][20];
 
int counter(int x) {
    if(x == 0) return 0;
    return counter(x >> 1) + (x & 1);
}
 
void solve() {
    cin >> N;
    for(int i = 1; i <= N; i++) {
        cin >> A[i];
        for(int j = 1; j <= A[i]; j++) {
            cin >> x[i][j] >> y[i][j];
        }
    }
    int ans = 0;
    for(int bits = 1; bits < (1 << N); bits++) {
        bool ok = true;
        for(int i = 1; i <= N; i++) {
            if(!(bits & (1 << (i-1)))) continue;
            for(int j = 1; j <= A[i]; j++) {
                if(((bits >> (x[i][j]-1)) & 1) ^ y[i][j]) ok = false;
            }
        }
        if(ok) ans = max(ans, counter(bits));
    }
    cout << ans << endl;
    return;
}
 
int main() {
    solve();
    return 0;
}

Compiler output:
a.cc: In function 'void solve()':
a.cc:14:5: error: 'cin' was not declared in this scope
   14 |     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 | using namespace std;
a.cc:30:22: error: 'max' was not declared in this scope
   30 |         if(ok) ans = max(ans, counter(bits));
      |                      ^~~
a.cc:32:5: error: 'cout' was not declared in this scope
   32 |     cout << ans << endl;
      |     ^~~~
a.cc:32:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:32:20: error: 'endl' was not declared in this scope
   32 |     cout << ans << endl;
      |                    ^~~~
a.cc:1:1: note: 'std::endl' is defined in header '<ostream>'; this is probably fixable by adding '#include <ostream>'
  +++ |+#include <ostream>
    1 | using namespace std;
Language: Java

import java.util.Scanner;

public class Main(){
  public static void main(String args){
    Scanner scan = new Scanner(System.in);
    int num1 = scan.nextInt();
    int num2 = scan.nextInt();
    int num3 = scan.nextInt();
    
    int sum = num1 + num2 + num3;
    
    if(sum < 21){
      System.out.println("win");
    }else{
      System.out.println("bust");
    }
  }
}

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

import java.io.*;
import java.lang.reflect.Array;
import java.util.*;
import java.lang.Integer;

/**
 * Created by Messick on 2019/10/26.
 */
public class Main {
    public static void main(String[] args) {
        int []A = new int[4];
        Scanner in = new Scanner(System.in);
        A[1] = in.nextInt();
        A[2] = in.nextInt();
        A[3] = in.nextInt();
        if (A[1] + A[2] + A[3] >= 22) {
            System.out.println("bust");
        }else {
            System.out.println("win");
        }
    }
}


Compiler output:
a.cc:1:1: error: 'import' does not name a type
    1 | import java.io.*;
      | ^~~~~~
a.cc:1:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:2:1: error: 'import' does not name a type
    2 | import java.lang.reflect.Array;
      | ^~~~~~
a.cc:2:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:3:1: error: 'import' does not name a type
    3 | import java.util.*;
      | ^~~~~~
a.cc:3:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:4:1: error: 'import' does not name a type
    4 | import java.lang.Integer;
      | ^~~~~~
a.cc:4:1: note: C++20 'import' only available with '-fmodules-ts'
a.cc:9:1: error: expected unqualified-id before 'public'
    9 | public class Main {
      | ^~~~~~
Language: Java

import java.util.Scanner;

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


Compiler output:
Main.java:13: error: 'else' without 'if'
    else{
    ^
Main.java:18: error: reached end of file while parsing
}
 ^
2 errors
Language: C++

int main()
{
  int A1, 
  int A2, 
  int A3;
  
  if(0 < A1 < 14 || 0 < A2 < 14 || 0 < A3 < 14){
         cin >> A1 >> A2 >> A3 >> endl;
    else {
      cout << "No!" << endl;
    }
  }
  if(A1 + A2 + A3 < 22){
    cout << "win" << endl;
  }
  else {
    cout << "bust" << endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:3: error: expected unqualified-id before 'int'
    4 |   int A2,
      |   ^~~
a.cc:7:25: error: 'A2' was not declared in this scope; did you mean 'A1'?
    7 |   if(0 < A1 < 14 || 0 < A2 < 14 || 0 < A3 < 14){
      |                         ^~
      |                         A1
a.cc:7:40: error: 'A3' was not declared in this scope; did you mean 'A1'?
    7 |   if(0 < A1 < 14 || 0 < A2 < 14 || 0 < A3 < 14){
      |                                        ^~
      |                                        A1
a.cc:8:10: error: 'cin' was not declared in this scope
    8 |          cin >> A1 >> A2 >> A3 >> endl;
      |          ^~~
a.cc:8:35: error: 'endl' was not declared in this scope
    8 |          cin >> A1 >> A2 >> A3 >> endl;
      |                                   ^~~~
a.cc:9:5: error: expected '}' before 'else'
    9 |     else {
      |     ^~~~
a.cc:7:48: note: to match this '{'
    7 |   if(0 < A1 < 14 || 0 < A2 < 14 || 0 < A3 < 14){
      |                                                ^
a.cc:10:7: error: 'cout' was not declared in this scope
   10 |       cout << "No!" << endl;
      |       ^~~~
a.cc:10:24: error: 'endl' was not declared in this scope
   10 |       cout << "No!" << endl;
      |                        ^~~~
a.cc: At global scope:
a.cc:13:3: error: expected unqualified-id before 'if'
   13 |   if(A1 + A2 + A3 < 22){
      |   ^~
a.cc:16:3: error: expected unqualified-id before 'else'
   16 |   else {
      |   ^~~~
a.cc:20:1: error: expected declaration before '}' token
   20 | }
      | ^
Language: Java

public class BrackJack {
	  public static void main(String args[]){
		int i;
        i = args[0] + args[1] + args[2];
        if( i < 21){
          system.out.println("win");
        }else{
          System.out.println("bust");
        }
              
      }
}


Compiler output:
Main.java:1: error: class BrackJack is public, should be declared in a file named BrackJack.java
public class BrackJack {
       ^
Main.java:4: error: incompatible types: String cannot be converted to int
        i = args[0] + args[1] + args[2];
                              ^
Main.java:6: error: package system does not exist
          system.out.println("win");
                ^
3 errors
Language: Java

public class BrackJack {
	  public static void main(String args[]){
		int i;
        i = args[0] + args[1] + args[2];
        if( i < 21){
          system.out.println("win");
        else{
          System.out.println("bust");
        }
              
      }
}

Compiler output:
Main.java:7: error: 'else' without 'if'
        else{
        ^
Main.java:12: error: reached end of file while parsing
}
 ^
2 errors
Language: C++

a=sum(map(int,input().split()))
print('burst' if a >21 else 'win')

Compiler output:
a.cc:2:7: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    2 | print('burst' if a >21 else 'win')
      |       ^~~~~~~
a.cc:2:29: warning: multi-character character constant [-Wmultichar]
    2 | print('burst' if a >21 else 'win')
      |                             ^~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a=sum(map(int,input().split()))
      | ^
Language: C++

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

#include <stdio.h>

int main(){
  int A, B, C;
  scanf("%d", &A);
  scanf("%d", &B);
  scanf("%d", &C);
  
  (A + B + C) > 21 ? printf("bust"); : printf("win");
  return 0;
}

Compiler output:
main.c: In function 'main':
main.c:9:36: error: expected ':' before ';' token
    9 |   (A + B + C) > 21 ? printf("bust"); : printf("win");
      |                                    ^
      |                                    :
main.c:9:38: error: expected expression before ':' token
    9 |   (A + B + C) > 21 ? printf("bust"); : printf("win");
      |                                      ^
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 ;
  
  return 0 ;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:11: error: expected primary-expression before '>' token
    7 |   cin>>A>>>B>>C ;
      |           ^
Language: C++

#include <iostream>
using namespace std;

int main(){

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

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

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

include<stdio.h>
 
int main(){
	char line[15];
  	int A1,A2,A3;
  
  	fgets(line,sizeof(line),stdin);
  	sscanf(line,"%d %d %d",&A1,&A2,&A3);
  
  	if(A1+A2+A3>=22)printf("bust");
  	else printf("win");
}

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

#include<stdio.h>

int main(){
	char line[15];
  	int A1,A2,A3;
  
  	fgets(line,sizeof(line),stdin);
  	sscanf(line,"%d %d %d",&A1,&A2,&A3);
  
  	if(A1+A2+A3=>22)printf("bust");
  	else printf("win");
}

Compiler output:
main.c: In function 'main':
main.c:10:21: error: expected expression before '>' token
   10 |         if(A1+A2+A3=>22)printf("bust");
      |                     ^
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:6:17: error: expected primary-expression before ')' token
    6 |   if((x+y+z)>21)){
      |                 ^
Language: C++

#include <stdio.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:5:3: error: 'cin' was not declared in this scope
    5 |   cin>>a>>b>>c;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:7:5: error: 'cout' was not declared in this scope
    7 |     cout<<"bust";
      |     ^~~~
a.cc:7:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<"win";
      |     ^~~~
a.cc:10:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <stdio.h>
using namespace std;
int main(){
  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:3: error: 'cin' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |   ^~~
a.cc:2:1: note: 'std::cin' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
    1 | #include <stdio.h>
  +++ |+#include <iostream>
    2 | using namespace std;
a.cc:4:8: error: 'a' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |        ^
a.cc:4:11: error: 'b' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |           ^
a.cc:4:14: error: 'c' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |              ^
a.cc:6:5: error: 'cout' was not declared in this scope
    6 |     cout<<"bust";
      |     ^~~~
a.cc:6:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"win";
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main(){
  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:8: error: 'a' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |        ^
a.cc:4:11: error: 'b' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |           ^
a.cc:4:14: error: 'c' was not declared in this scope
    4 |   cin>>a>>b>>c;
      |              ^
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");6
    else puts("win");
}

Compiler output:
main.c: In function 'main':
main.c:5:30: error: expected ';' before 'else'
    5 |   if(a+b+c>=22)puts("bust");6
      |                              ^
      |                              ;
    6 |     else puts("win");
      |     ~~~~