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

#include <stdio.h>

int main(void)
{
	int a, b;
	
	scanf("%d%d", &a, &b);
	if(a == b) [
		printf("Draw");
	}
	else {
		if(a == 1 || a > b) {
			printf("Alice");
		}
		else if(b == 1 || b > a) {
			printf("Bob");
		}
	}
	return 0;
}

Compiler output:
main.c: In function 'main':
main.c:8:20: error: expected expression before '[' token
    8 |         if(a == b) [
      |                    ^
main.c:9:32: error: expected ';' before '}' token
    9 |                 printf("Draw");
      |                                ^
      |                                ;
   10 |         }
      |         ~                       
main.c: At top level:
main.c:11:9: error: expected identifier or '(' before 'else'
   11 |         else {
      |         ^~~~
main.c:19:9: error: expected identifier or '(' before 'return'
   19 |         return 0;
      |         ^~~~~~
main.c:20:1: error: expected identifier or '(' before '}' token
   20 | }
      | ^
Language: C++

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

Compiler output:
a.cc:14:5: error: expected unqualified-id before 'return'
   14 |     return 0;
      |     ^~~~~~
a.cc:15:1: error: expected declaration before '}' token
   15 | }
      | ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:33: error: unable to find numeric literal operator 'operator""and'
    7 |     if ((A>=1 or A<=13) and (B>=1and B<=13)){
      |                                 ^~~~
a.cc:7:37: error: expected ')' before 'B'
    7 |     if ((A>=1 or A<=13) and (B>=1and B<=13)){
      |                             ~       ^~
      |                                     )
a.cc:14:6: error: expected ')' before 'return'
   14 |     }
      |      ^
      |      )
   15 |     return 0;
      |     ~~~~~~
a.cc:7:8: note: to match this '('
    7 |     if ((A>=1 or A<=13) and (B>=1and B<=13)){
      |        ^
Language: C++

using namespace std;
int main()
{
    int A,B;
    cin>> A>> B;
    if(A==B)
        cout<<"draw";
    else if ((A >B and B != 1) or (A!=B and A==1) )
        cout << "Alice";
    else
        cout << "Bob";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin>> A>> B;
      |     ^~~
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:7:9: error: 'cout' was not declared in this scope
    7 |         cout<<"draw";
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "Alice";
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout << "Bob";
      |         ^~~~
a.cc:11:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

using namespace std;
int main()
{
    int A,B;
    cin>> A>> B;
    if(A==B)
        cout<<"draw\n";
    else if ((A >B and B != 1) or (A!=B and A==1) )
        cout << "Alice\n";
    else
        cout << "Bob\n";
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:5:5: error: 'cin' was not declared in this scope
    5 |     cin>> A>> B;
      |     ^~~
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:7:9: error: 'cout' was not declared in this scope
    7 |         cout<<"draw\n";
      |         ^~~~
a.cc:7:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:9:9: error: 'cout' was not declared in this scope
    9 |         cout << "Alice\n";
      |         ^~~~
a.cc:9:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:9: error: 'cout' was not declared in this scope
   11 |         cout << "Bob\n";
      |         ^~~~
a.cc:11:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

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

Compiler output:
a.cc:17:1: error: expected unqualified-id before 'else'
   17 | else{
      | ^~~~
a.cc:28:2: error: expected unqualified-id before 'return'
   28 |  return 0;
      |  ^~~~~~
a.cc:29:1: error: expected declaration before '}' token
   29 | }
      | ^
Language: C++

#include <iostream>

using namespace std;

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

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

}



Compiler output:
a.cc: In function 'int main()':
a.cc:10:17: error: expected ';' before ':' token
   10 |     cout<<"Draw":
      |                 ^
      |                 ;
Language: C++

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

if(a == b)
  cout<< "Draw";
else if ((a>b || a==1) && b!=1){
  cout<< "Alica";
}else if ((b>a || b==1) && a!=1){
  cout<< "Bob";
}

return 0; 
}

Compiler output:
a.cc:2:1: error: 'cin' does not name a type
    2 | cin>> a >> b;
      | ^~~
a.cc:4:1: error: expected unqualified-id before 'if'
    4 | if(a == b)
      | ^~
a.cc:6:1: error: expected unqualified-id before 'else'
    6 | else if ((a>b || a==1) && b!=1){
      | ^~~~
a.cc:8:2: error: expected unqualified-id before 'else'
    8 | }else if ((b>a || b==1) && a!=1){
      |  ^~~~
a.cc:12:1: error: expected unqualified-id before 'return'
   12 | return 0;
      | ^~~~~~
a.cc:13:1: error: expected declaration before '}' token
   13 | }
      | ^
Language: C++

#include <iostream>
using namespace std;
int main() {

int a;
int b;
cin>> a >> b;

if(a == b){
  cout<< "Draw";
return 0;
}

if ((a==1 || a>b) && b!=1){
  cout<< "Alica";
return 0;
}

if (a!=1 &&(b>a || b==1){
  cout<< "Bob";
return 0;
}
return 0; 
}

Compiler output:
a.cc: In function 'int main()':
a.cc:19:25: error: expected ';' before '{' token
   19 | if (a!=1 &&(b>a || b==1){
      |                         ^
      |                         ;
a.cc:23:1: error: expected primary-expression before 'return'
   23 | return 0;
      | ^~~~~~
a.cc:22:2: error: expected ')' before 'return'
   22 | }
      |  ^
      |  )
   23 | return 0;
      | ~~~~~~
a.cc:19:4: note: to match this '('
   19 | if (a!=1 &&(b>a || b==1){
      |    ^
Language: C++

#include <iostream>

using namespace std;

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

    return 0;

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

A, B = map(int, input().split())
if A != 1 or B != 1:
    if A == B:
        print('Draw')
    elif A > B:
        print('Alice')
    elif A < B:
        print('Bob')
else:
    if A == 1 and B != 1:
        print('Alice')
    elif B == 1 and A != 1:
        print('Bob')
    else:
        print('Draw')
    

Compiler output:
a.cc:4:15: warning: multi-character character constant [-Wmultichar]
    4 |         print('Draw')
      |               ^~~~~~
a.cc:6:15: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    6 |         print('Alice')
      |               ^~~~~~~
a.cc:8:15: warning: multi-character character constant [-Wmultichar]
    8 |         print('Bob')
      |               ^~~~~
a.cc:11:15: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
   11 |         print('Alice')
      |               ^~~~~~~
a.cc:13:15: warning: multi-character character constant [-Wmultichar]
   13 |         print('Bob')
      |               ^~~~~
a.cc:15:15: warning: multi-character character constant [-Wmultichar]
   15 |         print('Draw')
      |               ^~~~~~
a.cc:1:1: error: 'A' does not name a type
    1 | A, B = map(int, input().split())
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
int main()
{
	int a,b;
	cin>>a>>b;
	printf((a+11)%13>(b+11)%13?"Alice":(a+11)%13==(b+11)%13?"Draw":"Bob")
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:7:78: error: expected ';' before 'return'
    7 |         printf((a+11)%13>(b+11)%13?"Alice":(a+11)%13==(b+11)%13?"Draw":"Bob")
      |                                                                              ^
      |                                                                              ;
    8 |         return 0;
      |         ~~~~~~
Language: C++

#include<iostream>
using namespace std;
int main()
{
    int n,m;
    cin>>n>>m;
    if (n>m)
        cout<<"Alice"<<endl;
    else if (m>n)
        cout<<"Bob"<<endl;
    else (m==n)
        cout<<"Draw"<<endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:11:16: error: expected ';' before 'cout'
   11 |     else (m==n)
      |                ^
      |                ;
   12 |         cout<<"Draw"<<endl;
      |         ~~~~
Language: C++

#include <string>
using namespace std;

enum suits { none, diamond, club, heart, spade };

class card {
public:
    card( ){
        suit = none;
        rank = 0;
    }   
    card( suits sv, int rv) {
        rank = rv;
        suit = sv;
    }

    int spots ( ){
        return rank;
    } 
    suits kind ( ){
        return suit;
    }

    string toString() const {
        return rankString(rank) + " of " + suitString(suit);
    }

    string rankString(int r) const{
        if (1 == r)       return "ace";
        else if (2 == r)  return "two";
        else if (3 == r)  return "three";
        else if (4 == r)  return "four";
        else if (5 == r)  return "five";
        else if (6 == r)  return "six";
        else if (7 == r)  return "seven";
        else if (8 == r)  return "eight";
        else if (9 == r)  return "nine";
        else if (10 == r) return "ten";
        else if (11 == r) return "jack";
        else if (12 == r) return "queen";
        else if (13 == r) return "king";
        else return "joker";
    }

    string suitString(suits s) const {
        if (s == spade)         return "spades";
        else if (s == heart)    return "hearts";
        else if (s == diamond)  return "diamonds";
        else if (s == club)     return "clubs";
        else                    return "non-suit";
    }

protected:
    int   rank;
    suits suit;
};


//Deck
#include "card.h"
#include <ctime>
#include <cstdlib>
using namespace std;

class deck {
public:
    deck() {
        top_card = 0;
        for( int i = 2; i <= 14; i++ )
        {
            card c1( diamond, i ),
                c2( spade,   i ),
                c3( heart,   i ),
                c4( club,    i );

            cards[ top_card++ ] = c1;
            cards[ top_card++ ] = c2;
            cards[ top_card++ ] = c3;
            cards[ top_card++ ] = c4;
        }
    }    

    void shuffle() {
        srand(time(NULL));
        for(int i=0; i<52; i++) {
            int a = rand()%52;
            card temp = cards[i];
            cards[i] = cards[a];
            cards[a] = temp;
        }
    }

    bool is_empty() {
        return (top_card <= 0);
    }

    card draw() {
        if( !is_empty() ) {
            return cards[ --top_card ];
        } 
        else {
            card non_card( none, 0 );
            return non_card;
        }
    } 

protected:
    card cards[ 52 ];  
    int top_card;     
};

Compiler output:
a.cc:60:10: fatal error: card.h: No such file or directory
   60 | #include "card.h"
      |          ^~~~~~~~
compilation terminated.
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:21: error: expected ';' before 'if'
    9 |   if(a>b)ans="Alice"
      |                     ^
      |                     ;
   10 |   if(a<b)ans="Bob"
      |   ~~
Language: C++

#include <iostream>
#include <vector>
using namespace std;
typedef pair<int,int> P;
int main(){
  int n,m;cin>>n>>m;
  vector<P> nya(m);
  for(int i = 0; m > i; i++){
    cin >> nya[i].first>>nya[i].second;
  }
  vector<int> Pa(n);
  for(int i = 0; n > i; i++){
    Pa[i] = i+1;
  }
  int ans = 0;
  do{
    bool ad = true;
    for(int i = 0; n-1 > i; i++){
      bool ok = false;
      for(int j = 0; m > j; j++){
        if(min(nya[j].first,nya[j].second) == min(Pa[i],Pa[i+1]) && max(nya[j].first,nya[j].second) == max(Pa[i],Pa[i+1])){
          ok = true;
          break;
        }
      }
      if(!ok){
        ad = false;
        break;
      }
    }
    if(ad)ans++;   
  }while(Pa.begin(),Pa.end());
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:32:18: warning: ignoring return value of 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::begin() [with _Tp = int; _Alloc = std::allocator<int>; iterator = std::vector<int>::iterator]', declared with attribute 'nodiscard' [-Wunused-result]
   32 |   }while(Pa.begin(),Pa.end());
      |          ~~~~~~~~^~
In file included from /usr/include/c++/14/vector:66,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_vector.h:873:7: note: declared here
  873 |       begin() _GLIBCXX_NOEXCEPT
      |       ^~~~~
a.cc:32:20: error: could not convert '(((void)Pa.std::vector<int>::begin()), Pa.std::vector<int>::end())' from 'std::vector<int>::iterator' to 'bool'
   32 |   }while(Pa.begin(),Pa.end());
      |          ~~~~~~~~~~^~~~~~~~~
      |                    |
      |                    std::vector<int>::iterator
Language: C++

#include <iostream>
#include <vector>
using namespace std;
typedef pair<int,int> P;
int main(){
  int n,m;cin>>n>>m;
  vector<P> nya(m);
  for(int i = 0; m > i; i++){
    cin >> nya[i].first>>nya[i].second;
  }
  vector<int> Pa(n);
  for(int i = 0; n > i; i++){
    Pa[i] = i+1;
  }
  int ans = 0;
  do{
    bool ad = true;
    for(int i = 0; n-1 > i; i++){
      bool ok = false;
      for(int j = 0; m > j; j++){
        if(min(nya[j].first,nya[j].second) == min(P[i],P[i+1]) && max(nya[j].first,nya[j].second) == max(P[i],P[i+1])){
          ok = true;
          break;
        }
      }
      if(!ok){
        ad = false;
        break;
      }
    }
    if(ad)ans++;   
  }while(Pa.begin(),Pa.end());
  cout << ans << endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:21:52: error: expected primary-expression before '[' token
   21 |         if(min(nya[j].first,nya[j].second) == min(P[i],P[i+1]) && max(nya[j].first,nya[j].second) == max(P[i],P[i+1])){
      |                                                    ^
a.cc:21:57: error: expected primary-expression before '[' token
   21 |         if(min(nya[j].first,nya[j].second) == min(P[i],P[i+1]) && max(nya[j].first,nya[j].second) == max(P[i],P[i+1])){
      |                                                         ^
a.cc:21:107: error: expected primary-expression before '[' token
   21 |         if(min(nya[j].first,nya[j].second) == min(P[i],P[i+1]) && max(nya[j].first,nya[j].second) == max(P[i],P[i+1])){
      |                                                                                                           ^
a.cc:21:112: error: expected primary-expression before '[' token
   21 |         if(min(nya[j].first,nya[j].second) == min(P[i],P[i+1]) && max(nya[j].first,nya[j].second) == max(P[i],P[i+1])){
      |                                                                                                                ^
a.cc:32:18: warning: ignoring return value of 'std::vector<_Tp, _Alloc>::iterator std::vector<_Tp, _Alloc>::begin() [with _Tp = int; _Alloc = std::allocator<int>; iterator = std::vector<int>::iterator]', declared with attribute 'nodiscard' [-Wunused-result]
   32 |   }while(Pa.begin(),Pa.end());
      |          ~~~~~~~~^~
In file included from /usr/include/c++/14/vector:66,
                 from a.cc:2:
/usr/include/c++/14/bits/stl_vector.h:873:7: note: declared here
  873 |       begin() _GLIBCXX_NOEXCEPT
      |       ^~~~~
a.cc:32:20: error: could not convert '(((void)Pa.std::vector<int>::begin()), Pa.std::vector<int>::end())' from 'std::vector<int>::iterator' to 'bool'
   32 |   }while(Pa.begin(),Pa.end());
      |          ~~~~~~~~~~^~~~~~~~~
      |                    |
      |                    std::vector<int>::iterator
Language: C++

int main()
{

int a,b;

cin>>a>>b;

if(a==b){

    cout<<"Draw"<<endl;
}
else if((a>b||a==1)&&b!=1){

cout<<"Alice"<<endl;
}
else if(b>a||b==1){
    cout<<"Bob"<<endl;
}

    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | cin>>a>>b;
      | ^~~
a.cc:10:5: error: 'cout' was not declared in this scope
   10 |     cout<<"Draw"<<endl;
      |     ^~~~
a.cc:10:19: error: 'endl' was not declared in this scope
   10 |     cout<<"Draw"<<endl;
      |                   ^~~~
a.cc:14:1: error: 'cout' was not declared in this scope
   14 | cout<<"Alice"<<endl;
      | ^~~~
a.cc:14:16: error: 'endl' was not declared in this scope
   14 | cout<<"Alice"<<endl;
      |                ^~~~
a.cc:17:5: error: 'cout' was not declared in this scope
   17 |     cout<<"Bob"<<endl;
      |     ^~~~
a.cc:17:18: error: 'endl' was not declared in this scope
   17 |     cout<<"Bob"<<endl;
      |                  ^~~~
Language: C++

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

Compiler output:
a.cc:7:17: error: stray '\' in program
    7 |     cout<<"Draw"\n;
      |                 ^
a.cc: In function 'int main()':
a.cc:7:17: error: expected ';' before 'n'
    7 |     cout<<"Draw"\n;
      |                 ^~
      |                 ;
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before '}' token
   12 |     cout<<"Draw"
      |                 ^
      |                 ;
   13 | }
      | ~
Language: C++

#include <iostream>
using namespace std;
int main()
{
int a,b;
cin>>a>>b;
if(a>b)
    cout<<"alice";
else if(b>a)
    cout<<"bob";
else if(a==b)
    cout<<"draw"
}

Compiler output:
a.cc: In function 'int main()':
a.cc:12:17: error: expected ';' before '}' token
   12 |     cout<<"draw"
      |                 ^
      |                 ;
   13 | }
      | ~
Language: C

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

//////全探索したいときに開けよ////////
vector<vector<int>> fspattern;
vector<int> fspattern_draft;
int fspcnt = 0;

void setfspattern_core(int floor,int number,int degree){
  if(floor==degree){
    fspattern.at(fspcnt) = fspattern_draft;
    fspcnt++;
  }else{
    rep(i,number){
      fspattern_draft.at(floor) = i;
      setfspattern_core(floor+1,number,degree);
    }
  }
}

void setfspattern(int number,int degree){
  int64_t array_num = 1;
  rep(i,degree){
    array_num *= number;
  }
  fspattern = vector<vector<int>>(array_num,vector<int>(degree));
  fspattern_draft = vector<int>(degree);
  setfspattern_core(0,number,degree);
}

//////nCrのmodを求めたいときに開けよ/////////
//int64_t univMod = 1000000007;
//int64_t factnum = 100000
//vector<int64_t> modfact(factnum);
//vector<int64_t> modinvfact(factnum);

/*void setmodfact(){
  for(int i=0;i<factnum;i++){
    if(i == 0){
      modfact.at(i) = 1;
    }else{
      modfact.at(i) = (modfact.at(i-1)*i)%univMod;
    }
  }
}

int64_t calcmodpower(int64_t a,int64_t n){
  int64_t res = 1;
  while(n != 0){
    if(n & 1){
      res = (res * a) % univMod;
    }
    a = (a*a) % univMod;
    n = n >> 1;
  }
  return res;
}

int64_t calcinverse(int64_t n){
	return calcmodpower(n,univMod-2);
}

void setmodinvfact(){
  for(int i=0;i<factnum;i++){
    if(i==0){
      modinvfact.at(i) = 1;
    }else{
      modinvfact.at(i) = calcmodpower(modfact.at(i),univMod-2);
    }
  }
}

int64_t calcmodcomb(int64_t n,int64_t r){
  return (((modfact.at(n)*modinvfact.at(r))%univMod)*modinvfact.at(n-r))%univMod;
}

int64_t calcmodpositive(int64_t n){
  return (n + ((abs(n)+univMod-1)/univMod)*univMod)%univMod;
}
  
    */


/*
int64_t calcGCD(int64_t a,int64_t b){
	int64_t p = a;
	int64_t q = b;
	int64_t c = a%b;
	while(c != 0){
		p = q;
		q = c;
		c = p%q;
	}
	return q;
}
*/

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


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

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

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

}


Compiler output:
a.cc: In function 'int main()':
a.cc:10:18: error: expected ';' before 'if'
   10 |     cout << "Bob"
      |                  ^
      |                  ;
   11 |   if(a>b)
      |   ~~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    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(b<a){
        cout<< "Bob" <<endl;
    }
    
}


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

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

#define pb push_back
#define eb emplace_back
#define fi first
#define se second
#define bg begin()
#define ed end()
#define all(x) x.bg, x.ed
#ifdef LOCAL
#define dmp(x) cerr << __LINE__ << " " << #x << " " << x << endl
#else
#define dmp(x) void(0)
#endif

template <class t, class u>
void chmax(t &a, u b)
{
  if (a < b)
    a = b;
}
template <class t, class u>
void chmin(t &a, u b)
{
  if (b < a)
    a = b;
}

template <class t>
using vc = vector<t>;
template <class t>
using vvc = vc<vc<t>>;

using vi = vc<int>;
int gcd(int a, int b)
{
  if (b == 0)
    return a;
  return gcd(b, a % b);
}
int lcm(int a, int b)
{
  return (a * b) / gcd(a, b);
}
int fact(int n)
{
  if (n == 0)
    return 1;
  return n * fact(n - 1);
}

int main()
{
  int a,b;
  cin >> a >> 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{
  cout << Bob <<endl;
  }
}

Compiler output:
a.cc: In function 'int main()':
a.cc:65:11: error: 'Alice' was not declared in this scope
   65 |   cout << Alice<<endl;
      |           ^~~~~
a.cc:67:11: error: 'Draw' was not declared in this scope
   67 |   cout << Draw <<endl;
      |           ^~~~
a.cc:69:11: error: 'Bob' was not declared in this scope
   69 |   cout << Bob <<endl;
      |           ^~~
Language: C++

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


Compiler output:
a.cc:3:9: error: macro names must be identifiers
    3 | #define 1 14
      |         ^
Language: Java

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

Compiler output:
Main.java:8: error: incompatible types: int cannot be converted to boolean
   if(s1=s3)System.out.println("Draw");
        ^
1 error
Language: Java

import java.util.*;
public class Main{
 public static void main(String[] args){
   Scanner sc = new Scanner(System.in);
   int s1 = sc.nextInt();
   int s3 = sc.nextInt();
   
   if(s1=s3)System.out.println("Draw");
   else if(s1==1||s1>s3)System.out.println("Alice");
   else if(s3==1||s3<s1)System.out.println("Bob");
 }
}

Compiler output:
Main.java:8: error: incompatible types: int cannot be converted to boolean
   if(s1=s3)System.out.println("Draw");
        ^
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:13: error: expected primary-expression before ')' token
   13 |     else if(){
      |             ^
Language: C

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


Compiler output:
main.c: In function 'main':
main.c:12:3: error: expected '}' before 'else'
   12 |   else if(b == 1) printf("Draw");
      |   ^~~~
Language: C

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

Compiler output:
main.c: In function 'main':
main.c:10:36: error: expected ';' before 'else'
   10 |     }else if(a == 1) printf("Draw")
      |                                    ^
      |                                    ;
   11 |     else printf("Bob")
      |     ~~~~                            
main.c:13:23: error: expected ';' before '}' token
   13 |   else printf("Alice")
      |                       ^
      |                       ;
   14 | }
      | ~                      
main.c:14:1: error: expected declaration or statement at end of input
   14 | }
      | ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
 
#define rep(i,n) for(long long (i)=0;(i)<(n);(i)++)
#define ll long long
#define pr_qu priority_queue
#define vec(name,size,common) vector<ll> (name)((size),(common))
 
 
 
 
 
int main(){

  int a,b;
  cin>>a>>b;
  if(a==1){
    a=100;
  }
  if(b==1){
    b=100;

if(a>b){
  cout<<"Alice";
}else if(a==b){
  cout<<"Draw";
}else{
  cout<<"Bob";
}
}

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

#include <stdio.h>
int main() {

    int n, m, l, k,t;
    scanf("%d%d",&n,&m);
    if(n==m){
        printf("Draw\n");
    } else if(n>m&&m==1){
        printf("Bob\n");
    }
    else if(n>m&&m!=1){
        printf("Alice\n");
    }
    else if(n<m&&n==1){
        printf("Alice\n");
    } else if(n<m&&n!=1){
        printf("Bob\n");
    }
    return 0;

Compiler output:
main.c: In function 'main':
main.c:19:5: error: expected declaration or statement at end of input
   19 |     return 0;
      |     ^~~~~~
Language: C

#include <stdio.h>
int main() {

    int n, m, l, k,t;
    scanf("%d%d",&n,&m);
    if(n==m){
        printf("Draw\n");
    } else if(n>m&&m==1){
        printf("Bob\n");
    }
    else if(n>m&&m!=1){
        printf("Alice\n");
    }
    else if(n<m&&n==1){
        printf("Alice\n");
    } else if(n<m&&n!=1){
        printf("Bob\n");
    }
    return

Compiler output:
main.c: In function 'main':
main.c:19:5: error: expected expression at end of input
   19 |     return
      |     ^~~~~~
main.c:19:5: error: expected declaration or statement at end of input
Language: C

include <stdio.h>
int main() {

    int n, m, l, k,t;
    scanf("%d%d",&n,&m);
    if(n==m){
        printf("Draw\n");
    } else if(n>m&&m==1){
        printf("Bob\n");
    }
    else if(n>m&&m!=1){
        printf("Alice\n");
    }
    else if(n<m&&n==1){
        printf("Alice\n");
    } else if(n<m&&n!=1){
        printf("Bob\n");
    }
    return

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

#include <bits/stdc++.h>
#define rep(i,m,n) for(int i=m; i<n; i++)
#define co(n) cout << n << endl
using namespace std;
int main(){
  int a, b, c, d;
  cin >> a >> b;
  if(a==1) a=14;
  if(b==1) b=14
  if(a>b) co("Alice");
  else if(a==b) co("Draw");
  else co("Bob");
  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:16: error: expected ';' before 'if'
    9 |   if(b==1) b=14
      |                ^
      |                ;
   10 |   if(a>b) co("Alice");
      |   ~~
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 << "Bob" << endl;
  else cout << "Alice" << endl;
  return 0;
]

Compiler output:
a.cc: In function 'int main()':
a.cc:12:1: error: expected primary-expression before ']' token
   12 | ]
      | ^
a.cc:12:2: error: expected '}' at end of input
   12 | ]
      |  ^
a.cc:3:11: note: to match this '{'
    3 | int main(){
      |           ^
Language: C++

a,b = map(int,input().split())
dic = ['Alice','Bob','Draw']
ans = 0
rev = 1
if a==b:
	ans = 2
elif a>b:
	ans = 0
else:
	ans = 1
      
if (a==1 or b==1) and ans!=2:
	ans ^= 1

print(dic[ans])
  


Compiler output:
a.cc:2:8: warning: multi-character literal with 5 characters exceeds 'int' size of 4 bytes
    2 | dic = ['Alice','Bob','Draw']
      |        ^~~~~~~
a.cc:2:16: warning: multi-character character constant [-Wmultichar]
    2 | dic = ['Alice','Bob','Draw']
      |                ^~~~~
a.cc:2:22: warning: multi-character character constant [-Wmultichar]
    2 | dic = ['Alice','Bob','Draw']
      |                      ^~~~~~
a.cc:1:1: error: 'a' does not name a type
    1 | a,b = map(int,input().split())
      | ^
Language: C++

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

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

#include<stdio.h>
int main()
{
	int A,B;
	1<=A<=13;
	1<=B<=13;
	scanf("%d %d",&A,&B);
	if(A!==1 && B!==1)
	{
	if(A>B)
		printf("Alice");
		else if(A<B)
			printf("Bob");
			else
				printf("Draw");
	}
	else if(A==1 && B!==1)
		printf("Alice");
		else if(B==1 && A!==1)
			printf("Bob");
			else
				printf("Draw");


}


Compiler output:
main.c: In function 'main':
main.c:8:15: error: expected expression before '=' token
    8 |         if(A!==1 && B!==1)
      |               ^
main.c:17:28: error: expected expression before '=' token
   17 |         else if(A==1 && B!==1)
      |                            ^
Language: C

#include<stdio.h>
int main()
{
	int A,B;
	1<=A<=13;
	1<=B<=13;
	scanf("%d %d",&A,&B);
	if(A!==1;B!==1)
	{
	if(A>B)
		printf("Alice");
		else if(A<B)
			printf("Bob");
			else
				printf("Draw");
	}
	else if(A==1;B!==1)
		printf("Alice");
		else if(B==1;A!==1)
			printf("Bob");
			else
				printf("Draw");
}


Compiler output:
main.c: In function 'main':
main.c:8:15: error: expected expression before '=' token
    8 |         if(A!==1;B!==1)
      |               ^
main.c:17:21: error: expected ')' before ';' token
   17 |         else if(A==1;B!==1)
      |                ~    ^
      |                     )
main.c:19:29: error: expected ')' before ';' token
   19 |                 else if(B==1;A!==1)
      |                        ~    ^
      |                             )
Language: C

#include<stdio.h>
int main()
{
	int A,B;
	1<=A<=13;
	1<=B<=13;
	scanf("%d %d",&A,&B);
	if(A!==1;B!==1)
	{
	if(A>B)
		printf("Alice");
		else if(A<B)
			printf("Bob");
			else
				printf("Draw");
	}
	else if(A==1;B!==1)
		printf("Alice");
		else if(B==1;A!==1)
			printf("Bob");
			else
				printf("Draw");


}


Compiler output:
main.c: In function 'main':
main.c:8:15: error: expected expression before '=' token
    8 |         if(A!==1;B!==1)
      |               ^
main.c:17:21: error: expected ')' before ';' token
   17 |         else if(A==1;B!==1)
      |                ~    ^
      |                     )
main.c:19:29: error: expected ')' before ';' token
   19 |                 else if(B==1;A!==1)
      |                        ~    ^
      |                             )
Language: C++

#include <vector>
#include <iostream>
#include <algorithm>
#include <functional>
#include <string>
#include <limits.h>
#include <cmath>
#include <queue>
#include <map>
#include <iomanip>
#include <random>
#include <fstream>
#define rep(i, n) for (int i = 0; i < n; i++)
#define PI 3.14159265358979323846
#define MOD 1000000007
using namespace std;
using ll = long long;

const int MAX = 1000000;

ll fac[MAX], finv[MAX], inv[MAX];

// テーブルを作る前処理
void COMinit() {
  fac[0] = fac[1] = 1;
  finv[0] = finv[1] = 1;
  inv[1] = 1;
  for (int i = 2; i < MAX; i++){
    fac[i] = fac[i - 1] * i % MOD;
    inv[i] = MOD - inv[MOD%i] * (MOD / i) % MOD;
    finv[i] = finv[i - 1] * inv[i] % MOD;
  }
}

// 二項係数計算
long long COM(int n, int k){
  if (n < k) return 0;
  if (n < 0 || k < 0) return 0;
  return fac[n] * (finv[k] * finv[n - k] % MOD) % MOD;
}

ll gcd(ll a, ll b)
{
  ll r;
  while ((r = a % b))
  {
    a = b;
    b = r;
  }
  return b;
}

template <class T> struct cord{
  T x,y;
};

template <class T> double dist(cord<T> a, cord<T> b){
  T dx=a.x-b.x;
  T dy=a.y-b.y;
  return sqrt(dx*dx+dy*dy);
}

int main()
{

  //cout << fixed << setprecision(10);

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

  return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:72:33: error: expected ';' before '}' token
   72 |   else if (a>b){cout << "Alice;"}
      |                                 ^
      |                                 ;
Language: C++

#include <iostream>
#include <string>
#include <vector>
#include <algorithm>
#include <cmath>
#include <cstdlib>
#include <iomanip>
#include <cmath>
#include <climits>
using namespace std;

bool comp(pair<int, string> a, pair<int, string> b){
    if(a.first != b.first) return a.first > b.first;
    else return a.second < b.second;
}

long int jou(long int x, long int y){
    long int f = 1;
    for(int i = 0; i < y; ++i){
        f = f * x % int(powl(10,9) + 7);
    }

    return f;
}

bool pn(long int x){
    if(x != 2 && x % 2 == 0)
        return false;

    for(int i = 3; i < x; ++i){
        if(x != i && x % i == 0)
            return false;
    }
    return true;
}

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

Compiler output:
a.cc: In function 'int main()':
a.cc:42:42: error: expected ';' before 'cout'
   42 |     else if((b == 1 || (a != 1 && a < b))
      |                                          ^
      |                                          ;
   43 |         cout << "Bob" << endl;
      |         ~~~~                              
a.cc:44:5: error: expected primary-expression before 'else'
   44 |     else
      |     ^~~~
a.cc:43:31: error: expected ')' before 'else'
   43 |         cout << "Bob" << endl;
      |                               ^
      |                               )
   44 |     else
      |     ~~~~                       
a.cc:42:12: note: to match this '('
   42 |     else if((b == 1 || (a != 1 && a < b))
      |            ^
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:
a.cc:23:1: error: expected declaration before '}' token
   23 | }
      | ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:13:5: error: expected primary-expression before ']' token
   13 |     ]
      |     ^
a.cc:19:5: error: expected '}' before 'else'
   19 |     else if(a<b){
      |     ^~~~
a.cc:11:15: note: to match this '{'
   11 |     if(b == 1){
      |               ^
a.cc:22:12: error: expected '(' before '{' token
   22 |     else if{ cout <<"Draw" <<endl ;}
      |            ^
      |            (
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a,b;
    cin >> a >> b;
    
    if(a == 1){
        a = 14;
    }
    if(b == 1){
        b = 14;
    ]
    
    
    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:13:5: error: expected primary-expression before ']' token
   13 |     ]
      |     ^
a.cc:19:5: error: expected '}' before 'else'
   19 |     else if(a<b){
      |     ^~~~
a.cc:11:15: note: to match this '{'
   11 |     if(b == 1){
      |               ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a,b;
    cin >> a >> b;
    
    if(a == 1){
        a = 14;
    }
    if(b == 1){
        b = 14;
    ]
    
    
    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:13:5: error: expected primary-expression before ']' token
   13 |     ]
      |     ^
a.cc:19:5: error: expected '}' before 'else'
   19 |     else if(a<b){
      |     ^~~~
a.cc:11:15: note: to match this '{'
   11 |     if(b == 1){
      |               ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int a,b;
    cin >> a >> b;
    
    if(a == 1){
        a = 14;
    }
    if(b == 1){
        b = 14
    ]
    
    
    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:12:15: error: expected ';' before ']' token
   12 |         b = 14
      |               ^
      |               ;
   13 |     ]
      |     ~          
a.cc:19:5: error: expected '}' before 'else'
   19 |     else if(a<b){
      |     ^~~~
a.cc:11:15: note: to match this '{'
   11 |     if(b == 1){
      |               ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: expected ';' before ']' token
   12 |         b = 14
      |               ^
      |               ;
   13 |     ]
      |     ~          
a.cc:19:5: error: expected '}' before 'else'
   19 |     else if(a<b){
      |     ^~~~
a.cc:11:15: note: to match this '{'
   11 |     if(b == 1){
      |               ^
a.cc:20:21: error: expected ';' before '}' token
   20 |         cout <<"Bob"
      |                     ^
      |                     ;
   21 |     }
      |     ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: expected ';' before '}' token
   15 |         cout<<"Draw"<<endl
      |                           ^
      |                           ;
   16 |     }
      |     ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:12:15: error: expected ';' before ']' token
   12 |         b = 14
      |               ^
      |               ;
   13 |     ]
      |     ~          
a.cc:19:5: error: expected '}' before 'else'
   19 |     else if(a<b){
      |     ^~~~
a.cc:11:15: note: to match this '{'
   11 |     if(b == 1){
      |               ^
a.cc:20:21: error: expected ';' before '}' token
   20 |         cout <<"Bob"
      |                     ^
      |                     ;
   21 |     }
      |     ~                
a.cc:22:30: error: expected ';' before '}' token
   22 |     else cout <<"Draw" <<endl
      |                              ^
      |                              ;
   23 | }
      | ~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int A,B;
    cin >> A >>B;
    
    if(A == 1){
        A = 14
    }    
    if(B == 1){
        B = 14
    }    
    if(A > B){
        cout << "Alice" <<  endl;
    }    
    if(A == B){
        cout << "Drow" << endl;
    }    
    else{
        cout << "Bob" << endl;
    }
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before '}' token
    9 |         A = 14
      |               ^
      |               ;
   10 |     }
      |     ~          
a.cc:12:15: error: expected ';' before '}' token
   12 |         B = 14
      |               ^
      |               ;
   13 |     }
      |     ~
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: expected ';' before '}' token
   15 |         cout<<"Draw"<<endl
      |                           ^
      |                           ;
   16 |     }
      |     ~
Language: C++

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


Compiler output:
a.cc:4:5: error: expected initializer before 'int'
    4 |     int a,b;
      |     ^~~
a.cc:5:5: error: 'cin' does not name a type
    5 |     cin>>a>>b
      |     ^~~
a.cc:7:5: error: expected unqualified-id before 'if'
    7 |     if(b=1)b=14;
      |     ^~
a.cc:8:5: error: expected unqualified-id before 'if'
    8 |     if(a>b){
      |     ^~
a.cc:11:5: error: expected unqualified-id before 'else'
   11 |     else if(a<b){
      |     ^~~~
a.cc:14:5: error: expected unqualified-id before 'else'
   14 |     else if(a=b){
      |     ^~~~
a.cc:17:5: error: expected declaration before '}' token
   17 |     }
      |     ^
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int A,B;
    cin >> A >>B;
    
    if(A == 1){
        A = 14
    }    
    if(B == 1){
        B = 14
    }    
    if(A > B){
        cout << "Alice" <<  endl;
    if(A == B){
        cout << "Drow" << endl;
    else{
        cout << "Bob" << endl;
    }
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:9:15: error: expected ';' before '}' token
    9 |         A = 14
      |               ^
      |               ;
   10 |     }
      |     ~          
a.cc:12:15: error: expected ';' before '}' token
   12 |         B = 14
      |               ^
      |               ;
   13 |     }
      |     ~          
a.cc:18:5: error: expected '}' before 'else'
   18 |     else{
      |     ^~~~
a.cc:16:15: note: to match this '{'
   16 |     if(A == B){
      |               ^
a.cc:23:2: error: expected '}' at end of input
   23 | }
      |  ^
a.cc:3:15: note: to match this '{'
    3 | int main(void){
      |               ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: expected ';' before '}' token
   15 |         cout<<"Draw"<<endl
      |                           ^
      |                           ;
   16 |     }
      |     ~
Language: C++

#include <iostream>
using namespace std;
int main(void){
    // Your code here!
    int A,B;
    cin >> A >>B;
    
    if(A == 1)A = 14
    if(B == 1)B = 14
    if(A > B){
        cout << "Alice" <<  endl;
    if(A == B){
        cout << "Drow" << endl;
    else{
        cout << "Bob"<< endl;
    }
    
    
}


Compiler output:
a.cc: In function 'int main()':
a.cc:8:21: error: expected ';' before 'if'
    8 |     if(A == 1)A = 14
      |                     ^
      |                     ;
    9 |     if(B == 1)B = 14
      |     ~~               
a.cc:19:2: error: expected '}' at end of input
   19 | }
      |  ^
a.cc:3:15: note: to match this '{'
    3 | int main(void){
      |               ^
Language: C++

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


Compiler output:
a.cc: In function 'int main()':
a.cc:15:27: error: expected ';' before '}' token
   15 |         cout<<"Drow"<<endl
      |                           ^
      |                           ;
   16 |     }
      |     ~