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

#include <iostream>
using namespace std;

int main() {
    int a,b;
    cin>>a>>b;
    if(a>b){
      cout<<"Alice"<<endl;
    }else if(a==1&&b==13){
      cout<<"Alice"<<endl;
    }else if(a<b){
      cout<<"Bob"<<endl;
    }else if(a==13&&b==1){
      cout<<"Bob"<<endl;
    }else if(a==b){
      cout<<"Drow"<<endl;

}

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

#include<bits/stdc++.h>
#define MAX_N 100001
#define INF_INT 2147483647
#define INF_LL 9223372036854775807
#define REP(i,n) for(int i=0;i<(int)(n);i++)
using namespace std;
typedef long long int ll;
typedef pair<ll,ll> P;
const int MOD = 1000000007;

int main()
{
  int A,B;
  cin >> A >> B;
  if(A == 1)A += 100;
  if(B == 1)B += 100;
  cout << (A == B ? "Draw" : (A > B : "Alice" ? "Bob")) << endl;
  return 0;
}



Compiler output:
a.cc: In function 'int main()':
a.cc:17:36: error: expected ')' before ':' token
   17 |   cout << (A == B ? "Draw" : (A > B : "Alice" ? "Bob")) << endl;
      |                              ~     ^~
      |                                    )
a.cc:17:19: error: operands to '?:' have different types 'const char*' and 'bool'
   17 |   cout << (A == B ? "Draw" : (A > B : "Alice" ? "Bob")) << endl;
      |            ~~~~~~~^~~~~~~~~~~~~~~~~~~
a.cc:17:64: error: expected ')' before ';' token
   17 |   cout << (A == B ? "Draw" : (A > B : "Alice" ? "Bob")) << endl;
      |           ~                                                    ^
      |                                                                )
Language: C++

#include <iostream>
using namespace std;

int main() {
    int A, B;
    cin >> A >> B;
    string rlt;

    if (A == B) rlt = "Draw";
    else if (A == 1) rlt = "Alice";
    else if (B == 1) rlt = "Bob"
    else if (A > B) rlt = "Alice";
    else rlt = "Bob";

    cout << rlt << endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:33: error: expected ';' before 'else'
   11 |     else if (B == 1) rlt = "Bob"
      |                                 ^
      |                                 ;
   12 |     else if (A > B) rlt = "Alice";
      |     ~~~~
Language: C++

#include<stdio.h>
int main(){
	int a,b;
	scanf("%d %d",&a,&b);
	if (a<=13&&a>=2&&b<=13&&b>=2&&a>b){printf("Alice\n");}
	if (a<=13&&a>=2&&b<=13&&b>=2&&b>a){printf("Bob\n");}
	if (a<=13&&a>=2&&b==1){printf("Bob\n");}
	if (b<=13&&b>=2&&a==1){printf("Alice\n");}
	if (a==1&&b==1){printf("Draw\n");}
	if (a<=13&&a>=2&&b<=13&&b>=2&&a==b){printf("Draw\n")}
	return 0;
	}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:61: error: expected ';' before '}' token
   10 |         if (a<=13&&a>=2&&b<=13&&b>=2&&a==b){printf("Draw\n")}
      |                                                             ^
      |                                                             ;
Language: C++

#include<stdio.h>
#include<stdlib.h>
int main(void){
	int a,b;
	scanf("%d",&a);
	scanf("%d",&b);
	if(a>b){
		printf("Alice\n");
	}else if(a<b){
		printf("Bob\n");
	}else if(a=b){
		printf("Draw\n");
	}else if(a=1,b>1){
		printf("Alice");
	}else (a>1,b=1){
		printf("Bob");
	}
	system("pause");
	return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:15:24: error: expected ';' before '{' token
   15 |         }else (a>1,b=1){
      |                        ^
      |                        ;
Language: C++

#include <iostream>

using namespace std;

int main() 
{
    int A, B;
    cin >> A >> B;

    if (A == 1 && B != 1) {
        cout << "Alice" << endl;
    }   
    else if (A != 1 && B == 1) {
        cout << "Bob" << endl;
    }   
    else if (A > B) {
        cout << "Alice" << endl;
    }   
    else if (A < B) {
        cout << "Bob" << endl;
    } else {
        cout << "Draw" << endl;
    }   

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

#include <iostream>
using namespace std;

int main(){
int a,b;
cin>>a>>b;
if(a==b)cout<<"Draw"<<endl;
else if(a>b&&!(a==13&&b==1)||(a==1&&b==13)cout<<"Alice"<<endl;
else cout<<"Bob"<<endl;

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:8:43: error: expected ';' before 'cout'
    8 | else if(a>b&&!(a==13&&b==1)||(a==1&&b==13)cout<<"Alice"<<endl;
      |                                           ^~~~
      |                                           ;
a.cc:9:1: error: expected primary-expression before 'else'
    9 | else cout<<"Bob"<<endl;
      | ^~~~
a.cc:8:63: error: expected ')' before 'else'
    8 | else if(a>b&&!(a==13&&b==1)||(a==1&&b==13)cout<<"Alice"<<endl;
      |        ~                                                      ^
      |                                                               )
    9 | else cout<<"Bob"<<endl;
      | ~~~~
Language: C++

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

int main(){
    int A,B;
    cin >> A >> B;
    if(A==1)
    A+=12;
    if(B==1)
    b+=12;
    if(A<B)
    cout << "Bob" << endl;
    else if(A>B)
    cout << "Alice" << endl;
    else
    cout << "Draw" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:5: error: 'b' was not declared in this scope
   10 |     b+=12;
      |     ^
Language: C++

#include<iostream>
using namespace std;
int main(){
  if(a+11%13>b+11%13){
    cout<<"Alice"<<endl;
  }
  else if(a+11%13<b+11%13){
    cout<<"Bob"<<endl;
  }
  else{
    cout<<"Draw"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:4:6: error: 'a' was not declared in this scope
    4 |   if(a+11%13>b+11%13){
      |      ^
a.cc:4:14: error: 'b' was not declared in this scope
    4 |   if(a+11%13>b+11%13){
      |              ^
Language: C++

# coding: utf-8
from __future__ import unicode_literals
from __future__ import print_function
import sys
import string

card_strength = [2,3,4,5,6,7,8,9,10,11,12,13,1]

def main():
    lines = map(lambda x: [int(i) for i in string.split(x)],
        sys.stdin.readlines())

    alices_card, bobs_card = lines[0]        
    alice_score = card_strength.index(alices_card)
    bob_score = card_strength.index(bobs_card)

    if(alice_score > bob_score):
        print("Alice")
    elif(alice_score < bob_score):
        print("Bob")
    else:
        print("Draw")

    # sys.stdout.write(%s % count)

if __name__ == '__main__':
    main()


Compiler output:
a.cc:1:3: error: invalid preprocessing directive #coding
    1 | # coding: utf-8
      |   ^~~~~~
a.cc:24:7: error: invalid preprocessing directive #sys
   24 |     # sys.stdout.write(%s % count)
      |       ^~~
a.cc:26:16: warning: multi-character literal with 8 characters exceeds 'int' size of 4 bytes
   26 | if __name__ == '__main__':
      |                ^~~~~~~~~~
a.cc:2:1: error: 'from' does not name a type
    2 | from __future__ import unicode_literals
      | ^~~~
Language: C

#include<stdio.h>

int main(){
  int s[14];
  for(int i=2;i<=13;i++)
    s[i]=i-1;
  s[1]=13;
  scanf("%d %d",&a,&b);
  if(a==b)
    printf("Draw\n");
  else if(s[a]>s[b])
    printf("Alice\n");
  else
    printf("Bob\n");
}

Compiler output:
main.c: In function 'main':
main.c:8:18: error: 'a' undeclared (first use in this function)
    8 |   scanf("%d %d",&a,&b);
      |                  ^
main.c:8:18: note: each undeclared identifier is reported only once for each function it appears in
main.c:8:21: error: 'b' undeclared (first use in this function)
    8 |   scanf("%d %d",&a,&b);
      |                     ^
Language: C++

#include<bits/stdc++.h>
using namespace std;
int main()
{
  int i,j,k,l,o,p,n,m;
  cin>>n>>m;
  a[2]=1;
  for(i=3;i<=13;i++)
    a[i]=a[i-1]+1;
  a[1]=a[13]+1;
  if(a[n]==a[m]) 
  {
    cout<<"Draw"<<endl;
	return 0;	
  } 
  if(a[n]>a[m])
  {
  	cout<<"Alice"<<endl;
  	return 0;
  }
  if(a[n]<a[m])
  {
  	cout<<"Bob"<<endl;
  	return 0;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'a' was not declared in this scope
    7 |   a[2]=1;
      |   ^
Language: C++

# include<iostream>
using namespace std;
int main(){
  int A,B;
  cin>>A>>B;
  if(((A>B)&&(B!=1))||(A==1){
    cout<<"Alice"<<endl;
  }else if(((A<B)&&(A!=1))||(B==1){
    cout<<"Bob"<<endl;
  }else if(A==B){
    cout<<"draw"<<endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:29: error: expected ')' before '{' token
    6 |   if(((A>B)&&(B!=1))||(A==1){
      |     ~                       ^
      |                             )
Language: C++

# include<iostream>
using namespace std;
void main(){
  int A,B;
  cin>>A>>B;
  if((A>B)||((A==1)&&(B==13))){
    cout<<"Alice"<<endl;
  }else if((A<B)||((A==13)&&(B==1))){
    cout<<"Bob"<<endl;
  }else if(A==B){
    cout<<"draw"<<endl;
  }
  return;
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:13:3: error: return-statement with no value, in function returning 'int' [-fpermissive]
   13 |   return;
      |   ^~~~~~
Language: C++

#include<iostream>
using nameplace std;

int main()
{
  int A,B;
  
  cin >> A;
  cin >> B;
  
  if(A=1){
    A=14;
  }
  if(B=1){
    B=14;
  }
  if(A>B){
    cout << "Alice" << endl;
  }
  if(B<A){
    cout << "Bob" << endl;
  }
  if(A==B){
    cout << "Draw" << endl;
  }
  
  return 0;
}
    
        

    
    
  
  
  
  
  
  
  
  
  
    

Compiler output:
a.cc:2:7: error: expected nested-name-specifier before 'nameplace'
    2 | using nameplace std;
      |       ^~~~~~~~~
a.cc: In function 'int main()':
a.cc:8:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    8 |   cin >> A;
      |   ^~~
      |   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:18:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   18 |     cout << "Alice" << 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:18:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   18 |     cout << "Alice" << 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:21:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   21 |     cout << "Bob" << 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:21:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   21 |     cout << "Bob" << endl;
      |                      ^~~~
      |                      std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:24:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   24 |     cout << "Draw" << 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:24:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   24 |     cout << "Draw" << endl;
      |                       ^~~~
      |                       std::endl
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
Language: C++

# include<iostream>
using namespace std;
void main(){
  int A,B;
  cin>>A>>B;
  if((A>B)||((A==1)&&(B==13))){
    cout<<"Alice"<<endl;
  }else if((A<B)||((A==13)&&(B==1))){
    cout<<"Bob"<<endl;
  }else if(A==B){
    cout<<"draw"<<endl;
  }
           }

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(){
      | ^~~~
Language: C++

# include<iostream>
using namespace std;
void main(){
  int A,B;
  cin>>A>>B;
  if((A>B)||((A==1)&&(B==13)){
    cout<<"Alice"<<endl;
  }else if((A<B)||((A==13)&&(B==1)){
    cout<<"Bob"<<endl;
  }else if(A==B){
    cout<<"draw"<<endl;
  }
           }
      

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(){
      | ^~~~
a.cc: In function 'int main()':
a.cc:6:30: error: expected ')' before '{' token
    6 |   if((A>B)||((A==1)&&(B==13)){
      |     ~                        ^
      |                              )
a.cc:13:12: error: expected primary-expression before '}' token
   13 |            }
      |            ^
Language: C++

#include<stdio.h>

int main()
{
  int A,B;
  
  cin >> A;
  cin >> B;
  
  if(A=1){
    A=14;
  }
  if(B=1){
    B=14;
  }
  if(A>B){
    cout << "Alice" << endl;
  }
  else if(B<A){
    cout << "Bob" << endl;
  }
  else(A==B){
    cout << "Draw" << endl;
  }
  
  return 0;
}
    
        

    
    
  
  
  
  
  
  
  
  
  
    

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> A;
      |   ^~~
a.cc:17:5: error: 'cout' was not declared in this scope
   17 |     cout << "Alice" << endl;
      |     ^~~~
a.cc:17:24: error: 'endl' was not declared in this scope
   17 |     cout << "Alice" << endl;
      |                        ^~~~
a.cc:20:5: error: 'cout' was not declared in this scope
   20 |     cout << "Bob" << endl;
      |     ^~~~
a.cc:20:22: error: 'endl' was not declared in this scope
   20 |     cout << "Bob" << endl;
      |                      ^~~~
a.cc:22:13: error: expected ';' before '{' token
   22 |   else(A==B){
      |             ^
      |             ;
Language: C++

#include<stdio.h>

int main()
{
  int A,B;
  
  cin >> A;
  cin >> B;
  
  if(A=1){
    A=14;
  }
  if(B=1){
    B=14;
  }
  if(A>B){
    cout << "Alice" << endl;
  }
  if(B<A){
    cout << "Bob" << endl;
  }
  if(A==B){
    cout << "Draw" << endl;
  }
  
  return 0;
}
    
        

    
    
  
  
  
  
  
  
  
  
  
    

Compiler output:
a.cc: In function 'int main()':
a.cc:7:3: error: 'cin' was not declared in this scope
    7 |   cin >> A;
      |   ^~~
a.cc:17:5: error: 'cout' was not declared in this scope
   17 |     cout << "Alice" << endl;
      |     ^~~~
a.cc:17:24: error: 'endl' was not declared in this scope
   17 |     cout << "Alice" << endl;
      |                        ^~~~
a.cc:20:5: error: 'cout' was not declared in this scope
   20 |     cout << "Bob" << endl;
      |     ^~~~
a.cc:20:22: error: 'endl' was not declared in this scope
   20 |     cout << "Bob" << endl;
      |                      ^~~~
a.cc:23:5: error: 'cout' was not declared in this scope
   23 |     cout << "Draw" << endl;
      |     ^~~~
a.cc:23:23: error: 'endl' was not declared in this scope
   23 |     cout << "Draw" << endl;
      |                       ^~~~
Language: C++

# include <iostream>
using namespace std;
void main(){
  int A,B;
  cin>>A>>B;
  if(A>B||((B=13)&&(A=1))){
    cout<<"Alice"<<endl;
  }else if(A<B||((A=13)&&(B=1))){
    cout<<"Bob"<<endl;
  }else if(A==B){
    cout<<"draw"<<endl;
  }
}

Compiler output:
a.cc:3:1: error: '::main' must return 'int'
    3 | void main(){
      | ^~~~
Language: C++

#include<iostream>
int main(void){
  int a, b;  std::cin >> a >> b;
  if(a==b)  std::cout << "Draw" << std::endl;
  else{
    if(a==1 || a>b)  std::cout << "Alice" <<std::endl;
    else if(b==1 || a<b)  std::cout << "Bob" << std::endl
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:7:58: error: expected ';' before '}' token
    7 |     else if(b==1 || a<b)  std::cout << "Bob" << std::endl
      |                                                          ^
      |                                                          ;
    8 |   }
      |   ~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    if(a==b)cout<<"Draw"<<endl;
    else
    {
        if(a==1)cout<<"Alice"<<endl;
        else if(b==1)cout<<"Bob"<<endl;
        else cout<<(a>b?"Alice":"Bob")<<endl;
    }
}


Compiler output:
a.cc: In function 'int main()':
a.cc:5:8: error: 'a' was not declared in this scope
    5 |     if(a==b)cout<<"Draw"<<endl;
      |        ^
a.cc:5:11: error: 'b' was not declared in this scope
    5 |     if(a==b)cout<<"Draw"<<endl;
      |           ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main(){
  int a, b;
  cin >> a >> b;
  
  if(a == 1){
    if(b == 1) cout << Draw;
    else cout << Alice;
  }
  else if(b == 1) cout << Bob;
  else if(a < b) cout << Bob;
  else if(a == b) cout << Draw;
  else if(a > b) cout << Alice;
  
  cout << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: 'Draw' was not declared in this scope
    9 |     if(b == 1) cout << Draw;
      |                        ^~~~
a.cc:10:18: error: 'Alice' was not declared in this scope
   10 |     else cout << Alice;
      |                  ^~~~~
a.cc:12:27: error: 'Bob' was not declared in this scope
   12 |   else if(b == 1) cout << Bob;
      |                           ^~~
a.cc:13:26: error: 'Bob' was not declared in this scope
   13 |   else if(a < b) cout << Bob;
      |                          ^~~
a.cc:14:27: error: 'Draw' was not declared in this scope
   14 |   else if(a == b) cout << Draw;
      |                           ^~~~
a.cc:15:26: error: 'Alice' was not declared in this scope
   15 |   else if(a > b) cout << Alice;
      |                          ^~~~~
Language: C++

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

int main(){
  int a, b;
  cin >> a >> b;
  
  if(a == 1){
    if(b == 1) cout << Draw;
    else cout << Alice;
  }
  else if(b == 1) cout << Bob;
  else if(a < b) cout << Bob;
  else if(a == b) cout << Draw;
  else if(a > b) cout << Alice;
  
  cout << endl;
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:24: error: 'Draw' was not declared in this scope
    9 |     if(b == 1) cout << Draw;
      |                        ^~~~
a.cc:10:18: error: 'Alice' was not declared in this scope
   10 |     else cout << Alice;
      |                  ^~~~~
a.cc:12:27: error: 'Bob' was not declared in this scope
   12 |   else if(b == 1) cout << Bob;
      |                           ^~~
a.cc:13:26: error: 'Bob' was not declared in this scope
   13 |   else if(a < b) cout << Bob;
      |                          ^~~
a.cc:14:27: error: 'Draw' was not declared in this scope
   14 |   else if(a == b) cout << Draw;
      |                           ^~~~
a.cc:15:26: error: 'Alice' was not declared in this scope
   15 |   else if(a > b) cout << Alice;
      |                          ^~~~~
Language: C++

#include <bits/stdc++.h>

using namespace std;
typedef long long ll;
#define int ll

#define REP(i,n) for(int i=0;i<n;++i)
#define SORT(name) sort(name.begin(), name.end())
#define ZERO(p) memset(p, 0, sizeof(p))
#define MINUS(p) memset(p, -1, sizeof(p))
#if 1
#  define DBG(fmt, ...) printf(fmt, ##__VA_ARGS__)
#else
#  define DBG(fmt, ...)
#endif

const ll LLINF = (1LL<<60);
const int INF = (1LL<<30);
const double DINF = std::numeric_limits<double>::infinity();
const int MOD = 1000000007;
#define MAX_N 100010

signed main()
{
    ll A, B;
    cin >> A >> B;
    if(A == B) {
        printf("Draw\n");
        return 0;
    }
    if(A == 1 {
        printf("Alice\n");
        return 0;
    }
    if(B == 1 {
        printf("Bob\n");
        return 0;
    }
    if(A > B) {
        printf("Alice\n");
        return 0;
    }
    if(B > A) {
        printf("Bob\n");
        return 0;
    }
    assert(false);
    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:31:14: error: expected ')' before '{' token
   31 |     if(A == 1 {
      |       ~      ^~
      |              )
Language: C++

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

int main(){

     int main(){
       int A, B;
       cin>>A>>B;
       if(A==B)cout<<"Draw"<<endl;
       else if(A==1)cout<<"Alice"<<endl;
       else if(B==1)cout<<"Bob"<<endl;
       else if(A>B)cout<<"Alice"<<endl;
       else cout<<"Bod"<<endl;
       return 0;
     }

Compiler output:
a.cc: In function 'int main()':
a.cc:6:14: warning: empty parentheses were disambiguated as a function declaration [-Wvexing-parse]
    6 |      int main(){
      |              ^~
a.cc:6:14: note: remove parentheses to default-initialize a variable
    6 |      int main(){
      |              ^~
      |              --
a.cc:6:14: note: or replace parentheses with braces to value-initialize a variable
a.cc:6:16: error: a function-definition is not allowed here before '{' token
    6 |      int main(){
      |                ^
a.cc:15:7: error: expected '}' at end of input
   15 |      }
      |       ^
a.cc:4:11: note: to match this '{'
    4 | int main(){
      |           ^
Language: C++

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


int main() {
    int a,b;
    cin >> a>>b ;
    if (a == b)cout << "Draw" << endl;
    else if (b == 1)cout << "Bob" << endl;
    else if (a == 1)cout << "Alice" << endl;
    else if (a < b)cout << "Bob" << endl;
    else cout << "Alice" << endl;
   
    
    return 0

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

#include<iostream>
using namespace std;


int main(){
int A, B;
cin>>A>>B;
if(A==B){
cout<<"Draw";
}
else if (A>B){
cout<<"Alice"

else if (A<B) {
cout<<"Bob ";
}throw(A==1)
catch(cout<<"ALice";)
throw(B==1)
catch(cout<<"Bob";)

return 0;
}






Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: expected ';' before 'else'
   12 | cout<<"Alice"
      |              ^
      |              ;
   13 | 
   14 | else if (A<B) {
      | ~~~~          
a.cc:16:13: error: expected ';' before 'catch'
   16 | }throw(A==1)
      |             ^
      |             ;
   17 | catch(cout<<"ALice";)
      | ~~~~~        
a.cc:17:21: error: expected primary-expression before ')' token
   17 | catch(cout<<"ALice";)
      |                     ^
a.cc:19:19: error: expected primary-expression before ')' token
   19 | catch(cout<<"Bob";)
      |                   ^
a.cc:22:2: error: expected '}' at end of input
   22 | }
      |  ^
a.cc:5:11: note: to match this '{'
    5 | int main(){
      |           ^
Language: C++

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

int main(){
    int x,y;
    cin >> x >> y;
    if(x>y)cout << "Alice" << endl;
    else if(x==y) cout << "Draw" << endl;
    else if(x>y) << "Bob" << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: expected primary-expression before '<<' token
   10 |     else if(x>y) << "Bob" << endl;
      |                  ^~
Language: C++

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

int main(){
    int x,y;
    cin >> x >> y;
    if(x>y)cout << "Alice" << endl;
    else if(a==b) cout << "Draw" << endl;
    else cout << "Bob" << endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:13: error: 'a' was not declared in this scope
    9 |     else if(a==b) cout << "Draw" << endl;
      |             ^
a.cc:9:16: error: 'b' was not declared in this scope
    9 |     else if(a==b) cout << "Draw" << endl;
      |                ^
Language: C

#inclufde<stdio.h>
int main(void)
{
    int a,d;
	scanf("%d %d",&a,&b);
	if(a==13){
	
	if(a>b){
	        printf("Alice\n");
	}
	else if(a<b){
	        printf("Bob\n");
	}
	else(a==b) {
	        printf("Draw\n");
	}
	return 0;
}

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inclufde; did you mean #include?
    1 | #inclufde<stdio.h>
      |  ^~~~~~~~
      |  include
main.c: In function 'main':
main.c:5:9: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    5 |         scanf("%d %d",&a,&b);
      |         ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inclufde<stdio.h>
main.c:5:9: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    5 |         scanf("%d %d",&a,&b);
      |         ^~~~~
main.c:5:9: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:5:27: error: 'b' undeclared (first use in this function)
    5 |         scanf("%d %d",&a,&b);
      |                           ^
main.c:5:27: note: each undeclared identifier is reported only once for each function it appears in
main.c:9:17: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
    9 |                 printf("Alice\n");
      |                 ^~~~~~
main.c:9:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:9:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:9:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:17: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   12 |                 printf("Bob\n");
      |                 ^~~~~~
main.c:12:17: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:14:19: error: expected ';' before '{' token
   14 |         else(a==b) {
      |                   ^~
      |                   ;
main.c:18:1: error: expected declaration or statement at end of input
   18 | }
      | ^
Language: C++

#inclufde<stdio.h>
int main(void)
{
    int a,d;
	scanf("%d %d",&a,&b);
	if(a==13){
	
	if(a>b){
	        printf("Alice\n");
	}
	else if(a<b){
	        printf("Bob\n");
	}
	else(a==b) {
	        printf("Draw\n");
	}
	return 0;
}

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inclufde; did you mean #include?
    1 | #inclufde<stdio.h>
      |  ^~~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:5:27: error: 'b' was not declared in this scope
    5 |         scanf("%d %d",&a,&b);
      |                           ^
a.cc:5:9: error: 'scanf' was not declared in this scope
    5 |         scanf("%d %d",&a,&b);
      |         ^~~~~
a.cc:9:17: error: 'printf' was not declared in this scope
    9 |                 printf("Alice\n");
      |                 ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #inclufde<stdio.h>
a.cc:12:17: error: 'printf' was not declared in this scope
   12 |                 printf("Bob\n");
      |                 ^~~~~~
a.cc:12:17: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:18:2: error: expected '}' at end of input
   18 | }
      |  ^
a.cc:3:1: note: to match this '{'
    3 | {
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main() {
  int a, b;
  cin >> a >> b;
  if (a == b) cout << "Draw" << endl;
  else if ((a > b && b != 1) || a = 1) cout << "Alice" << endl;
  else cout << "Bob" << endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:30: error: lvalue required as left operand of assignment
    7 |   else if ((a > b && b != 1) || a = 1) cout << "Alice" << endl;
      |            ~~~~~~~~~~~~~~~~~~^~~~
Language: C++

#include<iostream>
#include<sstream>
using namespace std;
int main(){
  int a, b;
  cin a >> b ;
  if (a == 1 and b != 1){
  cout << "Alice" << endl;
  }else if (b == 1 and a != 1){
  cout << "Bob" << endl;
  }else if (a < b){
  cout << "Bob" << endl;
  }else if (a > b){
  cout << "Alice" << endl;
  }else{
  cout <<"Draw" <<endl;
  }
  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'a'
    6 |   cin a >> b ;
      |      ^~
      |      ;
Language: C++

#include<iostream>
#include<sstream>
using namespace std;
int main(){
  int a, b;
  cin a >> b ;
  if (a == 1 and b != 1){
  cout << "Alice" << endl;
  }else if (b == 1 and a != 1){
  cout << "Bob" << endl;
  }else if (a < b){
  cout << "Bob" << endl;
  }else if (a > b){
  cout << "Alice" << endl;
  }else{
  cout <<"Draw" < <endl;
  }
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:6: error: expected ';' before 'a'
    6 |   cin a >> b ;
      |      ^~
      |      ;
a.cc:16:19: error: expected primary-expression before '<' token
   16 |   cout <<"Draw" < <endl;
      |                   ^
Language: C++

#include<iostream>
using namespace std;

int main() {
	int a, b;
	cin >> a >> b ;
	int w[13] = { 15,1,2,3,4,5,6,7,8,9,10,11,12,13 };
	if (w[a - 1] > w[b - 1])cout << "Alice" << endl;
	else if(w[a-1]<w[b-1])cout << "Bod" << endl;
	else cout << "Draw" << endl;
	
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:56: error: too many initializers for 'int [13]'
    7 |         int w[13] = { 15,1,2,3,4,5,6,7,8,9,10,11,12,13 };
      |                                                        ^
Language: C++

#include <iostream>


using namespace std;
int main() {

    int a,b;

    cin>>a>>b;
    if(a==b){
        cout<<"Draw"<<endl;
    


  else if(a!=1&&b!=1){

        if(a>b){
            cout<<"Alice"<<endl;
        }

        else{
cout<<"Bob"<<endl;
}
}

else if(a==1){
cout<<"Alice"<<endl;
}

else if(b==1){
cout<<"Bob"<<endl;
    }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:3: error: expected '}' before 'else'
   15 |   else if(a!=1&&b!=1){
      |   ^~~~
a.cc:10:13: note: to match this '{'
   10 |     if(a==b){
      |             ^
Language: C++

#include <bits/stdc++.h>
#define REP(i,n) for (int i=0;i<(n);i++)
#define FOR(i,s,e) for (int i=s;i<(e);i++)
#define All(v) (v).begin(),(v).end()
#define mp(a,b) make_pair(a,b)
#define pb(a) push_back(a)
using namespace std;
typedef long long llint;
typedef pair<int, int> P;
const int MOD = (int)1e9 + 7;
const int INF = 999999999;

int main(){
    cin.tie(0);
    ios::sync_with_stdio(false);

    int N, M;
    cin >> N >> M;
    bool pass[N][N] = {false};
    for(int i=0;i<n;i++)for(int j=0;j<n;j++)pass[i][j]=0;
    REP(i,M){
        int a,b;
        cin >> a >> b;
        pass[a-1][b-1] = true;
        pass[b-1][a-1] = true;
    }
    vector<int> v;
    REP(i,N){
        v.pb(i);
    }
    int ans = 0;
    do{
        bool flag = true;
        REP(i,N-1){
            if(v[0] != 0){
                flag = false;
                break;
            }
            if(!pass[v[i]][v[i+1]]){
                flag = false;
                break;
            }
        }
        if(flag){ans ++;}
    }while(next_permutation(All(v)));
    cout << ans <<"\n";

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:20:19: error: 'n' was not declared in this scope
   20 |     for(int i=0;i<n;i++)for(int j=0;j<n;j++)pass[i][j]=0;
      |                   ^
Language: C++

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

int main(){
	int a,b;
  	cin >> a >> b;
  	int c={13,1,2,3,4,5,6,7,8,9,10,11,12}
  	if (c[a-1]>c[b-1]) cout <<"Alice"<<endl;
  	else if (c[a-1]=c[b-1]) cout <<"Draw"<<endl;
  	else cout <<"Bob"<<endl;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:13: error: scalar object 'c' requires one element in initializer
    7 |         int c={13,1,2,3,4,5,6,7,8,9,10,11,12}
      |             ^
a.cc:8:9: error: expected ',' or ';' before 'if'
    8 |         if (c[a-1]>c[b-1]) cout <<"Alice"<<endl;
      |         ^~
a.cc:9:9: error: 'else' without a previous 'if'
    9 |         else if (c[a-1]=c[b-1]) cout <<"Draw"<<endl;
      |         ^~~~
Language: Java


import java.io.BufferedReader;
import java.io.IOException;
import java.io.InputStream;
import java.io.InputStreamReader;
import java.io.OutputStream;
import java.io.PrintWriter;
import java.util.ArrayList;
import java.util.InputMismatchException;
import java.util.List;
import java.util.StringTokenizer;

public class Main

	public static void main(String[] args) throws IOException {
		InputStream inputStream = System.in;
		OutputStream outputStream = System.out;
		InputReader in = new InputReader(inputStream);
		PrintWriter out = new PrintWriter(outputStream);
		TaskX solver = new TaskX();
		solver.solve(1, in, out);
		out.close();
	}

	static int INF = 1 << 30;
	static int modP = 1000000007;

	static class TaskX {
		public void solve(int testNumber, InputReader in, PrintWriter out) {

			List<Integer> list = new ArrayList<>();
			for (int i = 2; i <= 13; i++) {
				list.add(i);
			}
			list.add(1);

			int a = in.nextInt(), b = in.nextInt();

			int idxA = list.indexOf((Integer)a);
			int idxB = list.indexOf((Integer)b);

			if (idxA < idxB) {
				out.println("Bob");
			} else if (idxA == idxB) {
				out.println("Draw");
			} else if (idxA > idxB) {
				out.println("Alice");
			}

		}
	}

	static class InputReader {
		BufferedReader in;
		StringTokenizer tok;

		public String nextString() {
			while (!tok.hasMoreTokens()) {
				try {
					tok = new StringTokenizer(in.readLine(), " ");
				} catch (IOException e) {
					throw new InputMismatchException();
				}
			}
			return tok.nextToken();
		}

		public int nextInt() {
			return Integer.parseInt(nextString());
		}

		public long nextLong() {
			return Long.parseLong(nextString());
		}

		public double nextDouble() {
			return Double.parseDouble(nextString());
		}

		public int[] nextIntArray(int n) {
			int[] res = new int[n];
			for (int i = 0; i < n; i++) {
				res[i] = nextInt();
			}
			return res;
		}

		public long[] nextLongArray(int n) {
			long[] res = new long[n];
			for (int i = 0; i < n; i++) {
				res[i] = nextLong();
			}
			return res;
		}

		public InputReader(InputStream inputStream) {
			in = new BufferedReader(new InputStreamReader(inputStream));
			tok = new StringTokenizer("");
		}

	}

}


Compiler output:
Main.java:13: error: '{' expected
public class Main
                 ^
Main.java:15: error: unnamed classes are a preview feature and are disabled by default.
	public static void main(String[] args) throws IOException {
	              ^
  (use --enable-preview to enable unnamed classes)
Main.java:103: error: class, interface, enum, or record expected
}
^
3 errors
Language: C++

#include <iostream>
using namespace std;
 
int main()
{
  
  int a,b;
  
  cic >> a >> b;
  
  if(a == 1){
  a = 13;
  }
  if(b == 1){
  b = 11;
  }
  
  if(a > b) {
    cout << "Alice" << endl;
  } else if(b > a){
  cout << "Bob" << endl;
  }else if(a == b){
  cout << "Draw" << endl;
  }
  
  else {
    cout << "Draw" << endl;
  }
}

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

#include <iostream>
using namespace std;

int main()
{
  
  int a,b;
  
  cic >> a >> b;
  
  if(a == 1){
  a = 13;
  }
  if(b == 1){
  b = 11;
  }
  
  if(a > b) {
    cout << "Alice" << endl;
  } else if(b > a){
  cout << "Bob" << endl;
  } else {
    cout << "Draw" << endl;
  }
}

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

#include<iostream>
using namespace std;

int main () {
  int A,B;
  cin>>A>>B;
  
  if(A==B){
    cout<<"Draw"<<endl;
  }else if(B==1||A!=1){
    cout<<"Bob"<<endl;
  }else(A>B){
    cout<<"Alice"<<endl;
  }else(A<B){
    cout<<"Bob"<<endl;
  }else(A==1||B!=1){
    cout<<"Alice"<<endl;
  }
return0
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:13: error: expected ';' before '{' token
   12 |   }else(A>B){
      |             ^
      |             ;
a.cc:14:4: error: 'else' without a previous 'if'
   14 |   }else(A<B){
      |    ^~~~
a.cc:14:13: error: expected ';' before '{' token
   14 |   }else(A<B){
      |             ^
      |             ;
a.cc:16:4: error: 'else' without a previous 'if'
   16 |   }else(A==1||B!=1){
      |    ^~~~
a.cc:16:20: error: expected ';' before '{' token
   16 |   }else(A==1||B!=1){
      |                    ^
      |                    ;
a.cc:19:1: error: 'return0' was not declared in this scope
   19 | return0
      | ^~~~~~~
Language: C++

#include<iostream>
using namespace std;

int main () {
  int A,B;
  cin>>A>>B;
  
  if(A==B){
    cout<<"Draw"<<endl;
  }else if(B==1||A!=1){
    cout<<"Bob"<<endl;
  }else if(A>B){
    cout<<"Alice"<<endl;
  }else if(A<B){
    cout<<"Bob"<<endl;
  }else (A==1||B!=1){
    cout<<"Alice"<<endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:21: error: expected ';' before '{' token
   16 |   }else (A==1||B!=1){
      |                     ^
      |                     ;
Language: C++

#include<iostream>
using namespace std;

int main () {
  int A,B;
  cin>>A>>B;
  
  if(A==B){
    cout<<"Draw"<<endl;
  }else if(B==1||A!=1){
    cout<<"Bob"<<endl;
  }else if(A>B){
    cout<<"Alice"<<endl;
  }else if(A<B){
    cout<<"Bob"<<endl;
  }else (A==1||B!=1){
    cout<<"Alice"<<endl;
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:16:21: error: expected ';' before '{' token
   16 |   }else (A==1||B!=1){
      |                     ^
      |                     ;
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:4:13: note: to match this '{'
    4 | int main () {
      |             ^
Language: C++

#include<iostream>
using namespace std;

int main () {
  int A,B;
  cin>>A>>B;
  
  if(A==1||B!=1){
    cout<<"Alice"<<endl;
  }else if(B==1||A!=1){
    cout<<"Bob"<<endl;
  }else (A>B){
    cout<<"Alice"<<endl;
  }else (A<B){
    cout<<"Bob"<<endl;
  }else (A==B){
    cout<<"Draw"<<endl;
  }
  
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:14: error: expected ';' before '{' token
   12 |   }else (A>B){
      |              ^
      |              ;
a.cc:14:4: error: 'else' without a previous 'if'
   14 |   }else (A<B){
      |    ^~~~
a.cc:14:14: error: expected ';' before '{' token
   14 |   }else (A<B){
      |              ^
      |              ;
a.cc:16:4: error: 'else' without a previous 'if'
   16 |   }else (A==B){
      |    ^~~~
a.cc:16:15: error: expected ';' before '{' token
   16 |   }else (A==B){
      |               ^
      |               ;
Language: C++

#include <iostream>
using namespace std;

int main() {
    int A;
    int B;
    cin >> A;
    cin >> B;
    if(A == 1){
      A = 14;
    if(B == 1){
      B = 14;
    if( A < B ){
      cout << "Alice" << endl;}
    else if( A == B ){
      cout << "Draw" << endl;}
    else if( A > B ){
      cout << "Bob" << endl;}
	return 0;
}

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

#include <iostream>
using namespace std;

int main() {
    int A;
    int B;
    cin >> A;
    cin >> B;
    if( A < B ){
      cout << "Alice" << endl;
    else if( A == B ){
      cout << "Draw" << endl;
    else if( A > B ){
      cout << "Bob" << endl;
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:5: error: expected '}' before 'else'
   11 |     else if( A == B ){
      |     ^~~~
a.cc:9:16: note: to match this '{'
    9 |     if( A < B ){
      |                ^
a.cc:13:5: error: expected '}' before 'else'
   13 |     else if( A > B ){
      |     ^~~~
a.cc:11:22: note: to match this '{'
   11 |     else if( A == B ){
      |                      ^
a.cc:16:2: error: expected '}' at end of input
   16 | }
      |  ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: C++

#include <iostream>
using namespace std;
int main(){
  int A, B;
  cin >> A >> B;
  if(A == B){
    cout << "Draw" << endl;
  }else if(A > B and B != 1){
    cout << "Alice" << endl;
  }else if(B > A and A != 1){
    cout << "Bob" << endl;
  }else if(A == 1 and B != 1){
    cout << "Alice" << endl;
  }else(B == 1 and A != 1)
    cout << "Bob" << endl;
}
    


Compiler output:
a.cc: In function 'int main()':
a.cc:14:27: error: expected ';' before 'cout'
   14 |   }else(B == 1 and A != 1)
      |                           ^
      |                           ;
   15 |     cout << "Bob" << endl;
      |     ~~~~
Language: C++

#include <iostream>
using namespace std;
int main(){
  int A, B;
  cin >> A >> B;
  if(A == B){
    cout << "Draw" << endl;
  }else if(A > B and B != 1){
    cout << "Alice" << endl;
  }else if(B > A and A != 1){
    cout << "Bob" << endl;
  }else if(A == 1 and B != 1){
    cout << "Alice" << endl;
  }else(B == 1 and A != 1){
    cout << "Bob" << endl;
  }
}
    

Compiler output:
a.cc: In function 'int main()':
a.cc:14:27: error: expected ';' before '{' token
   14 |   }else(B == 1 and A != 1){
      |                           ^
      |                           ;
Language: C


#include <bits/stdc++.h>

using namespace std;

int main(){
    int a,b;
    cin >> a >> b;
    if(a==b){
        cout << "Draw" << endl;
    }else if(a==1){
        cout << "Alice" << endl;
    }else if(b == 1){
        cout << "Bob" << endl;
    }else if(a>b){
         cout << "Alice" << endl;
    }else{
        cout << "Bob" << endl;
    }
}


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

#include<stdio.h>
int main(void)
{
  int a,b;
  scanf("%d %d",&a,&b);
  if(a==1&&b==1) printf("Draw\n");
  else if(a==1&&b!=1) printf("Alice\n");
  else if(a!=1&&b==1) printf("Bob\n");
  else if(a<b) printf("Bob\n");
  else if(b<a) printf("Alice\n");
  return 0
}


Compiler output:
main.c: In function 'main':
main.c:11:11: error: expected ';' before '}' token
   11 |   return 0
      |           ^
      |           ;
   12 | }
      | ~
Language: C++

#include <iostream>
using namespace std;

int main(){
	int A[2],i;
	for(i=0;i<2;i++){
		cin >> A[i];
		if(A[i]==1) A[i]=14;
	}
	if(A[0]>A[1]) cout << "Alice" << endl;
	if(A[0]<A[1]) cout << "Bob" << endl;
	if(A[0==A[1]) cout << "Draw" << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:12:21: error: expected ']' before ')' token
   12 |         if(A[0==A[1]) cout << "Draw" << endl;
      |                     ^
      |                     ]
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A,B;
  scanf("%d", &A);
  scanf("%d", &B);
  if((A>B && B!=1) || (A==1 && B!=1)){
    printf("Alice");
  }else if((A<B && A!=1) || (B==1 && A!=1)){
    printf("Bob");
  }else if(A==B){
    printf("Draw");
  }

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

#include <bits/stdc++.h>
using namespace std;
 
int main() {
  int A,B;
  scanf("%d", &A);
  scanf("%d", &B);
  if((A>B && B!=1) || (A==1 && B!=1)){
    printf("Alice");
  }else if(A<B && A!=1) || (B==1 && A!=1)){
    printf("Bob");
  }else if(A==B){
    printf("Draw");
  }

Compiler output:
a.cc: In function 'int main()':
a.cc:10:25: error: expected primary-expression before '||' token
   10 |   }else if(A<B && A!=1) || (B==1 && A!=1)){
      |                         ^~
a.cc:14:4: error: expected '}' at end of input
   14 |   }
      |    ^
a.cc:4:12: note: to match this '{'
    4 | int main() {
      |            ^
Language: Java

import java.util.Scanner;
public class Main{
  public static void main(String[] args){
    Scanner sc = new Scanner(System.in);
    int a = sc.nextInt();
    int b = sc.nextInt();
    if(a == 1){
      a=14;
    }
    if(b == 1){
      b=14;
    }
    if(A>B){
      System.out.println("Alice");
    }else if(A == B){
      System.out.println("Draw");
    }else{
      System.out.println("Bob");
    }
  }
}

Compiler output:
Main.java:13: error: cannot find symbol
    if(A>B){
       ^
  symbol:   variable A
  location: class Main
Main.java:13: error: cannot find symbol
    if(A>B){
         ^
  symbol:   variable B
  location: class Main
Main.java:15: error: cannot find symbol
    }else if(A == B){
             ^
  symbol:   variable A
  location: class Main
Main.java:15: error: cannot find symbol
    }else if(A == B){
                  ^
  symbol:   variable B
  location: class Main
4 errors
Language: C++

include<iostream>
using namespace std;
int main() {
 int A, B;
 cin >> A >> B;
 if(A == 1){
  A = 14;
 }
 if(B == 14) {
  B = 14;
 }
 if((A - B) > 0) {
  cout << "Alice" << endl;
 }else if((A - B) < 0) {
  cout << "Bob" << endl;
 }else{
  cout << "Draw" << endl;
 }
 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:2: error: 'cin' was not declared in this scope
    5 |  cin >> A >> B;
      |  ^~~
a.cc:13:3: error: 'cout' was not declared in this scope
   13 |   cout << "Alice" << endl;
      |   ^~~~
a.cc:13:22: error: 'endl' was not declared in this scope
   13 |   cout << "Alice" << endl;
      |                      ^~~~
a.cc:15:3: error: 'cout' was not declared in this scope
   15 |   cout << "Bob" << endl;
      |   ^~~~
a.cc:15:20: error: 'endl' was not declared in this scope
   15 |   cout << "Bob" << endl;
      |                    ^~~~
a.cc:17:3: error: 'cout' was not declared in this scope
   17 |   cout << "Draw" << endl;
      |   ^~~~
a.cc:17:21: error: 'endl' was not declared in this scope
   17 |   cout << "Draw" << endl;
      |                     ^~~~
Language: C++

A, B = map(int, input().split())

A = (A-2)%13
B = (B-2)%13

if A > B:
    print("Alice")
elif A < B:
    print("Bob")
else:
    print("Draw")

Compiler output:
a.cc:1:1: error: 'A' does not name a type
    1 | A, B = map(int, input().split())
      | ^
Language: C++

>#include<iostream>
>#include<string>
>#include<algorithm>
>using namespace std;
>int main(){
>	int a,b;
>	cin>>a>>b;
>	 if(a==1){
>		cout<<"Alice"<<endl;
>		
>	}
>	
>	else if(b==1){
>		cout<<"Bob"<<endl;
>		
>	}
>	
>	
>	else if(a<b){
>		cout<<"Bob"<<endl;
>		
>	}
>	
>	else if(a>b){
>		cout<<"Alice"<<endl;
>		
>	}
>	
>
>	else if(a==b){
>		cout<<"Draw"<<endl;
>		
>	}
>	
>	
>}

Compiler output:
a.cc:1:2: error: stray '#' in program
    1 | >#include<iostream>
      |  ^
a.cc:2:2: error: stray '#' in program
    2 | >#include<string>
      |  ^
a.cc:3:2: error: stray '#' in program
    3 | >#include<algorithm>
      |  ^
a.cc:1:1: error: expected unqualified-id before '>' token
    1 | >#include<iostream>
      | ^
a.cc:5:1: error: expected unqualified-id before '>' token
    5 | >int main(){
      | ^
Language: C++

#include<iostream>
#include<string>
#include<algorithm>
using namespace std;
int main{
	int a,b;
	cin>>a>>b;
	if(a<=b){
		cout<<"Alice"<<endl;
		
	}
	
	else if(a>=b){
		cout<<"Bob"<<endl;
		
	}
	
	else if(a==1){
		cout<<"Alice"<<endl;
		
	}
	
	else if(b==1){
		cout<<"Bob"<<endl;
		
	}
	
	
}

Compiler output:
a.cc:5:5: error: cannot declare '::main' to be a global variable
    5 | int main{
      |     ^~~~
a.cc:6:9: error: expected primary-expression before 'int'
    6 |         int a,b;
      |         ^~~
a.cc:6:9: error: expected '}' before 'int'
a.cc:5:9: note: to match this '{'
    5 | int main{
      |         ^
a.cc:7:9: error: 'cin' does not name a type
    7 |         cin>>a>>b;
      |         ^~~
a.cc:8:9: error: expected unqualified-id before 'if'
    8 |         if(a<=b){
      |         ^~
a.cc:13:9: error: expected unqualified-id before 'else'
   13 |         else if(a>=b){
      |         ^~~~
a.cc:18:9: error: expected unqualified-id before 'else'
   18 |         else if(a==1){
      |         ^~~~
a.cc:23:9: error: expected unqualified-id before 'else'
   23 |         else if(b==1){
      |         ^~~~
a.cc:29:1: error: expected declaration before '}' token
   29 | }
      | ^