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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:5: error: break statement not within loop or switch
    9 |     break;
      |     ^~~~~
a.cc:13:5: error: break statement not within loop or switch
   13 |     break;
      |     ^~~~~
a.cc:17:5: error: break statement not within loop or switch
   17 |     break;
      |     ^~~~~
Language: C++

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

int main(){
    int a, b;

    cin >> a >> b;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:18:9: error: 'cou' was not declared in this scope; did you mean 'cos'?
   18 |         cou << "Bob" << endl;
      |         ^~~
      |         cos
Language: C++

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

int main(){
  int A,B;
  cin>>A>>B;
  if()
  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:6: error: expected primary-expression before ')' token
    7 |   if()
      |      ^
Language: C++

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

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: In function 'int main()':
a.cc:12:11: error: 'Bob' was not declared in this scope
   12 |     cout<<Bob<<endl;
      |           ^~~
Language: C++

#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;
long double pi = acos(-1);
const int INF = 1001001001;


// 最小公倍数を求める
int euqlid (int a, int b){
  int temp;
  temp = a % b;
  if(temp == 0)return b;
  return euqlid(b,temp);
}
ll conbination(ll a,ll b){
  ll u = 1;
  ll d = 1;
  while(b != 0){
    u *= a;
    d *= b;
    a--;
    b--;
  }
  return u / d;
}
int strtoint(char s){
  return (int(s-'0'));
}
char changeS(char alpha){
  if(0x41 <= alpha and alpha <= 0x5A)return (alpha + 0x20);
  else if(0x61 <= alpha and alpha <= 0x7A)return (alpha - 0x20);
  return alpha;
}
int fact(int n){
  if(n == 1)return 1;
  return n * fact(n-1);
  }



int main(){
  int a,b;
  cin >> a >> b;
  int strength[13];
  strength[12] = 14;
  rep(i,12)strength[] = i+2;
  string ans = "Draw";
  if(strength[a] > strength[b])ans = "Alice";
  else if(strength[a] < strength[b])ans = "Bob";
  cout << ans <<endl;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:48:21: error: expected primary-expression before ']' token
   48 |   rep(i,12)strength[] = i+2;
      |                     ^
Language: C++

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

int main(){
  int a,b;

  scanf("%d %d", &a, &b);
  if(a == b) printf("Draw\n");
  else if(a == 1) printf("Alice\n");
  else if(b == 1) printf("Bob\n");
  else if(a < b) printf("Bob\n");
  else printt("Alice\n"); 

  return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:15:8: error: 'printt' was not declared in this scope; did you mean 'printf'?
   15 |   else printt("Alice\n");
      |        ^~~~~~
      |        printf
Language: C++

/******* all required header files *******/
#include<iostream>
#include<algorithm>
#include<cmath>
#include <string>
#include <vector>
#include <algorithm>
#include <sstream>
#include <queue>
#include <deque>
#include <bitset>
#include <iterator>
#include <list>
#include <stack>
#include <map>
#include <set>
#include <functional>
#include <numeric>
#include <utility>
#include <limits>
#include <time.h>
#include <math.h>
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#include <assert.h>
using namespace std;

/*****All definitions*******/
#define w(t) int t; cin>>t; while(t--)
#define vi vector<int>
#define vs vector<string>
#define mp make_pair
#define ll long long int
/***************************/

int main()
{
/*#ifndef ONLINE_JUDGE
	freopen("input.txt", "r", stdin);
	freopen("output.txt", "w", stdout);
#endif*/

	ios_base::sync_with_stdio(0);
	cin.tie(0);
	
	int a, b;
	cin>>a>>b;
	if(a > b && b != 1)
		cout<<"Alice";
	if(a == 1 && b != 1)
		cout<<"Alice";
	if(b > a && a != 1)
		cout<<"Bob";
	if(b == 1 && a != 1)
		cout<<"Bob";
	if(a == 1 && b == 1)
		cout<<"Draw";
	return 0;
}
}


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

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

int a, b; 

int main() {
	ios_base::sync_with_stdio(false);
	cin.tie(0);
	cout.tie(0);
 	
	cin >> a >> b;

	if (a == 1) {
		a = 14;
	}

	if (b == 1) {
		b = 14;
	}

	if (a > b) {
		cout << "Alice\n';"
	}
	else if (b > a) {
		cout << "Bob\n";
	}
	else {
		cout << "Draw\n";
	}
 
	return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:22:36: error: expected ';' before '}' token
   22 |                 cout << "Alice\n';"
      |                                    ^
      |                                    ;
   23 |         }
      |         ~
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:11:27: error: label 'A' used but not defined
   11 |   else if(A!=1 && B!=! && A>B){
      |                           ^
Language: C++

#include <bits/stdc++.h>
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 cout << "Draw" << endl;
}



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

#include <bits/stdc++.h>
#define rep(i,n)    for(long long i = 0; i < (n) ; ++i)
#define orep(i,n)   for(long long i = 1; i <= (n); ++i)   // one rep
#define drep(i,n)   for(long long i = (n)-1; i >= 0; --i) // down rep
#define srep(i,s,t) for(long long i = (s); i < (t); ++i)  // set rep
#define rng(x)  (x).begin(),(x).end()

  // range
#define rrng(a) (a).rbegin(),(a).rend() // reverse range
#define isin(x,l,r) ((l) <= (x) && (x) < (r))
#define ru(x,y) (((x)+(y)-1)/(y)) // round up
#define fi first
#define se second
#define eb emplace_back
#define fcout cout << fixed << setprecision(15)

using namespace std;

template<typename T> void Yes(T flag) {
  cout << (flag ? "Yes" : "No") << endl;
}

template<typename T> void pv(vector<T> vec) {
  cout << "[";
  for(auto& v : vec) { cout << v << ","; }
  cout << "]" << endl;
}

template<>
void pv(vector<P> vec) {
  cout << "[";
  for(auto& v : vec) {
    cout << "<" << v.fi << ","<< v.se << ">" << ",";
  }
  cout << "]" << endl;
}

template<typename T> void pv2(vector<vector<T>> vec) {
  for(auto& v : vec) pv(v);
}

int main() {
  int a,b;
  cin >> a >> b;
  if(a==1 and b ==1) 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 if (b<a) cout << "Alice" << endl;
  else cout << "Draw" << endl;

  return 0;
}


Compiler output:
a.cc:30:16: error: 'P' was not declared in this scope
   30 | void pv(vector<P> vec) {
      |                ^
a.cc:30:17: error: template argument 1 is invalid
   30 | void pv(vector<P> vec) {
      |                 ^
a.cc:30:17: error: template argument 2 is invalid
a.cc:30:6: error: template-id 'pv<>' for 'void pv(int)' does not match any template declaration
   30 | void pv(vector<P> vec) {
      |      ^~
a.cc:23:27: note: candidate is: 'template<class T> void pv(std::vector<_Tp>)'
   23 | template<typename T> void pv(vector<T> vec) {
      |                           ^~
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before '>' token
    7 |   if(A=>2&&B=>2){
      |        ^
a.cc:7:14: error: expected primary-expression before '>' token
    7 |   if(A=>2&&B=>2){
      |              ^
Language: C++

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

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


Compiler output:
a.cc: In function 'int main()':
a.cc:7:12: error: expected primary-expression before '>=' token
    7 |   if(A>=2&&>=2){
      |            ^~
a.cc:20:14: error: expected primary-expression before '<' token
   20 |       cout <<< "Draw" << endl;
      |              ^
a.cc:20:23: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
   20 |       cout <<< "Draw" << endl;
      |                ~~~~~~~^~~~~~~
Language: C++

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

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

Compiler output:
a.cc: In function 'int main()':
a.cc:7:8: error: expected primary-expression before '>' token
    7 |   if(A=>2&&B=>2){
      |        ^
a.cc:7:14: error: expected primary-expression before '>' token
    7 |   if(A=>2&&B=>2){
      |              ^
a.cc:20:14: error: expected primary-expression before '<' token
   20 |       cout <<< "Draw" << endl;
      |              ^
a.cc:20:23: error: invalid operands of types 'const char [5]' and '<unresolved overloaded function type>' to binary 'operator<<'
   20 |       cout <<< "Draw" << endl;
      |                ~~~~~~~^~~~~~~
Language: C++

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

#define rep(i,a,b)      for(int i=a;i<=b;i++)
#define revp(i,a,b)     for(int i=b;i>=a;i--)

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


}




Compiler output:
a.cc: In function 'int main()':
a.cc:21:1: error: expected primary-expression before '}' token
   21 | }
      | ^
Language: Java

import java.util.*;
public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int a =sc.nextInt();
        int b =sc.nextInt();

        if(a>b){
            System.out.println("Alice");
        }else if(a==b){
            System.out.println("Draw");
        }else{
            System.out.println("Bob");
        }
}


Compiler output:
Main.java:15: error: reached end of file while parsing
}
 ^
1 error
Language: C++

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

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



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

a,b=map(int,input().split())
if a==b:
    print("Draw")
elif a==1 or (a>b and b!=1):
    print("Alice")
else:
    print("Bob")

Compiler output:
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;
#define rep(i, n) for (int i = 0; i < (int)(n); i++)
#define INF 1e9
#define PI 3.14159265359
#define MOD 1000000007
#define ALL(v) v.begin(),v.end()
#define ALLR(v) v.rbegin(),v.rend()
typedef long long ll;
const int dx[4] = {1,0,-1,0};
const int dy[4] = {0,1,0,-1};
//isPrime
//modpow modinv
//getDigit
int main() {
  cout << fixed << setprecision(10);
  int a,b;
  cin >> a >> b;
  if(a==1) a+=13;
  if(b==1) b+=13
  if(a==b){
    cout << "Draw" << endl;
  }else if(a>b){
    cout << "Alice" << endl;
  }else{
    cout <<  "Bob" << endl;
  }
}



Compiler output:
a.cc: In function 'int main()':
a.cc:20:17: error: expected ';' before 'if'
   20 |   if(b==1) b+=13
      |                 ^
      |                 ;
   21 |   if(a==b){
      |   ~~
Language: C++

A, B = list(map(int, input().split()))
if A == 1:
    A = 14
if B == 1:
    B = 14
if A > B:
    print("Alice")
elif A == B:
    print("Draw")
else:
    print("Bob")


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

#include <bits/stdc++.h>
int main(){
    int a,b;
    std::cin>>a>>b;
    a=a==1?14:a;
    b=b==1?14:b;
    std::string str[3] = {"Alice", "Drow", "Bob"};
    std::string* ans = &str[1];
    std::cout<<ans[a<=>b] << std::endl;
    return 0;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:9:23: error: expected primary-expression before '>' token
    9 |     std::cout<<ans[a<=>b] << std::endl;
      |                       ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
#define rep(i,n) for(int i = 0; i < (int)(n); ++i)
using P = pair<int,int>;
using ll = long long;
static const int INF = 1000000000;
static const ll MOD = 1000000007;

ll gcd(ll a, ll b){return b!=0 ? gcd(b, a%b) : a;}
ll lcm(ll a, ll b){return a / gcd(a, b) * b;}

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



Compiler output:
a.cc: In function 'int main()':
a.cc:13:18: error: structured binding declaration cannot have type 'const int'
   13 |         const int[] card = {13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
      |                  ^~
a.cc:13:18: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:13:18: error: empty structured binding declaration
a.cc:13:21: error: expected initializer before 'card'
   13 |         const int[] card = {13, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10, 11, 12};
      |                     ^~~~
a.cc:16:12: error: 'card' was not declared in this scope
   16 |         if(card[a-1] < card[b-1]){
      |            ^~~~
Language: C++

#include <bits/stdc++.h>

main() {
  int64_t a, b;
  cin >> a >> b;
  a = (a + 11) % 13;
  b = (b + 11) % 13;
  
  if (a > b) {
    cout << "Alice" << endl;
  } else if (a < b) {
    cout << "Bob" << endl;
  } else {
    cout << "Draw" << endl;
  }
}

Compiler output:
a.cc:3:1: warning: ISO C++ forbids declaration of 'main' with no type [-Wreturn-type]
    3 | main() {
      | ^~~~
a.cc: In function 'int main()':
a.cc:5:3: error: 'cin' was not declared in this scope; did you mean 'std::cin'?
    5 |   cin >> a >> b;
      |   ^~~
      |   std::cin
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:62:18: note: 'std::cin' declared here
   62 |   extern istream cin;           ///< Linked to standard input
      |                  ^~~
a.cc:10:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   10 |     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:10:24: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   10 |     cout << "Alice" << endl;
      |                        ^~~~
      |                        std::endl
In file included from /usr/include/c++/14/istream:41,
                 from /usr/include/c++/14/sstream:40,
                 from /usr/include/c++/14/complex:45,
                 from /usr/include/c++/14/ccomplex:39,
                 from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:127:
/usr/include/c++/14/ostream:744:5: note: 'std::endl' declared here
  744 |     endl(basic_ostream<_CharT, _Traits>& __os)
      |     ^~~~
a.cc:12:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   12 |     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:12:22: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   12 |     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:14:5: error: 'cout' was not declared in this scope; did you mean 'std::cout'?
   14 |     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:14:23: error: 'endl' was not declared in this scope; did you mean 'std::endl'?
   14 |     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

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

Compiler output:
main.c:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <stdio.h>
      |  ^~~~~~~
      |  include
main.c: In function 'main':
main.c:6:3: error: implicit declaration of function 'scanf' [-Wimplicit-function-declaration]
    6 |   scanf("%d%d",&a,&b);
      |   ^~~~~
main.c:1:1: note: include '<stdio.h>' or provide a declaration of 'scanf'
  +++ |+#include <stdio.h>
    1 | #inlcude <stdio.h>
main.c:6:3: warning: incompatible implicit declaration of built-in function 'scanf' [-Wbuiltin-declaration-mismatch]
    6 |   scanf("%d%d",&a,&b);
      |   ^~~~~
main.c:6:3: note: include '<stdio.h>' or provide a declaration of 'scanf'
main.c:10:7: error: implicit declaration of function 'printf' [-Wimplicit-function-declaration]
   10 |       printf("Alice");
      |       ^~~~~~
main.c:10:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:10:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
main.c:10:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:12:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   12 |       printf("Bob");
      |       ^~~~~~
main.c:12:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:14:7: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   14 |       printf("Draw");
      |       ^~~~~~
main.c:14:7: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:17:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   17 |     printf("Alice");
      |     ^~~~~~
main.c:17:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:19:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   19 |     printf("Bob");
      |     ^~~~~~
main.c:19:5: note: include '<stdio.h>' or provide a declaration of 'printf'
main.c:21:5: warning: incompatible implicit declaration of built-in function 'printf' [-Wbuiltin-declaration-mismatch]
   21 |     printf("Draw");
      |     ^~~~~~
main.c:21:5: note: include '<stdio.h>' or provide a declaration of 'printf'
Language: C++

#inlcude <stdio.h>

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

Compiler output:
a.cc:1:2: error: invalid preprocessing directive #inlcude; did you mean #include?
    1 | #inlcude <stdio.h>
      |  ^~~~~~~
      |  include
a.cc: In function 'int main()':
a.cc:6:3: error: 'scanf' was not declared in this scope
    6 |   scanf("%d%d",&a,&b);
      |   ^~~~~
a.cc:10:7: error: 'printf' was not declared in this scope
   10 |       printf("Alice");
      |       ^~~~~~
a.cc:1:1: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
  +++ |+#include <cstdio>
    1 | #inlcude <stdio.h>
a.cc:12:7: error: 'printf' was not declared in this scope
   12 |       printf("Bob");
      |       ^~~~~~
a.cc:12:7: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:14:7: error: 'printf' was not declared in this scope
   14 |       printf("Draw");
      |       ^~~~~~
a.cc:14:7: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:17:5: error: 'printf' was not declared in this scope
   17 |     printf("Alice");
      |     ^~~~~~
a.cc:17:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:19:5: error: 'printf' was not declared in this scope
   19 |     printf("Bob");
      |     ^~~~~~
a.cc:19:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
a.cc:21:5: error: 'printf' was not declared in this scope
   21 |     printf("Draw");
      |     ^~~~~~
a.cc:21:5: note: 'printf' is defined in header '<cstdio>'; this is probably fixable by adding '#include <cstdio>'
Language: Java

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

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

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

Compiler output:
main.c:1:1: error: unknown type name 'import'
    1 | import java.util.Scanner;
      | ^~~~~~
main.c:1:12: error: expected '=', ',', ';', 'asm' or '__attribute__' before '.' token
    1 | import java.util.Scanner;
      |            ^
main.c:2:1: error: unknown type name 'public'
    2 | public class practice{
      | ^~~~~~
main.c:2:14: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'practice'
    2 | public class practice{
      |              ^~~~~~~~
Language: C++

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

using ll=long long;
const ll MOD=1000000007;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:24:2: error: expected '}' at end of input
   24 | }
      |  ^
a.cc:7:12: note: to match this '{'
    7 | int main() {
      |            ^
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)
    printf("Alice");
  else if(b==1)
    printf("Bob");
  else if(a>b)
    printf("Alice")
    else if(a<b)
      printf("Bob")
  return 0;
  }

Compiler output:
main.c: In function 'main':
main.c:12:20: error: expected ';' before 'else'
   12 |     printf("Alice")
      |                    ^
      |                    ;
   13 |     else if(a<b)
      |     ~~~~
Language: C++

#include <iostream>
using namespace std;

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

Compiler output:
a.cc: In function 'int main()':
a.cc:13:24: error: expected ';' before 'else'
   13 |         cout << "Alice"
      |                        ^
      |                        ;
   14 |         else if (a == 1)
      |         ~~~~
Language: C++

#include <iostream>
using namespace std;

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

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

#include <iostream>
 
 using namespace std;{

     int = A, B

     sin( A , B )

     if( A = B ) 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 ("Bob")

return;0}

Compiler output:
a.cc:3:22: error: expected unqualified-id before '{' token
    3 |  using namespace std;{
      |                      ^
Language: C++

#include<iostream>
using namespace std;
int main(){
char a,b;
cin>>a>>b;
a-=130;
b-=130;
cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
}

Compiler output:
a.cc:8:13: error: extended character ” is not valid in an identifier
    8 | cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
      |             ^
a.cc:8:13: error: extended character ” is not valid in an identifier
a.cc:8:24: error: extended character ” is not valid in an identifier
    8 | cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
      |                        ^
a.cc:8:24: error: extended character ” is not valid in an identifier
a.cc:8:32: error: extended character ” is not valid in an identifier
    8 | cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
      |                                ^
a.cc:8:32: error: extended character ” is not valid in an identifier
a.cc: In function 'int main()':
a.cc:8:13: error: '\U0000201dDraw\U0000201d' was not declared in this scope
    8 | cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
      |             ^~~~~~
a.cc:8:24: error: '\U0000201dAlice\U0000201d' was not declared in this scope
    8 | cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
      |                        ^~~~~~~
a.cc:8:32: error: '\U0000201dBob\U0000201d' was not declared in this scope
    8 | cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
      |                                ^~~~~
Language: C++

#include<bits/stdc+.h>
using namespace std;
int main(){
char a,b;
cin>>a>>b;
a-=130;
b-=130;
cout<<(a==b?”Draw”:a>b?”Alice”:”Bob”);
}

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

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

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

#include <bits/stdc++.h>
#include <math.h>
#define REP(i, n) for(int i = 0; i < (n); i++)
#define ALL(v) (v).begin(), (v).end()
using namespace std;
typedef long long ll;
typedef pair<int, int> P;
const int INF = 1001001001;
const int mINF = -1001001001;


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


Compiler output:
a.cc: In function 'int main()':
a.cc:20:3: warning: capture of variable 'std::cout' with non-automatic storage duration
   20 |   cout << "Bob" << endl;
      |   ^~~~
In file included from /usr/include/x86_64-linux-gnu/c++/14/bits/stdc++.h:146,
                 from a.cc:1:
/usr/include/c++/14/iostream:63:18: note: 'std::ostream std::cout' declared here
   63 |   extern ostream cout;          ///< Linked to standard output
      |                  ^~~~
a.cc:20:7: error: expected ',' before '<<' token
   20 |   cout << "Bob" << endl;
      |       ^~~
      |       ,
a.cc:20:8: error: expected identifier before '<<' token
   20 |   cout << "Bob" << endl;
      |        ^~
a.cc:20:24: error: expected ']' before ';' token
   20 |   cout << "Bob" << endl;
      |                        ^
      |                        ]
a.cc: In lambda function:
a.cc:20:24: error: expected '{' before ';' token
a.cc: In function 'int main()':
a.cc:21:1: error: expected primary-expression before ']' token
   21 | ] else {
      | ^
Language: C++

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

Compiler output:
a.cc:18:3: error: stray '#' in program
   18 | } #include<iostream>
      |   ^
a.cc:18:4: error: 'include' does not name a type
   18 | } #include<iostream>
      |    ^~~~~~~
a.cc:20:5: error: redefinition of 'int main()'
   20 | int main ()
      |     ^~~~
a.cc:3:5: note: 'int main()' previously defined here
    3 | int main ()
      |     ^~~~
Language: C++

using namespace std;
int main ()
{
	int a,b;
	cin>>a>>b;
	if(b==1)
	b=14;
	if(a==1)
	a=14;
	if(a>b)
	cout<<"Alice";
	else if(a==b)
	cout<<"Draw";
	else
	cout<<"Bob";
	return 0;
} 

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: 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:11:9: error: 'cout' was not declared in this scope
   11 |         cout<<"Alice";
      |         ^~~~
a.cc:11:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:9: error: 'cout' was not declared in this scope
   13 |         cout<<"Draw";
      |         ^~~~
a.cc:13:9: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:9: error: 'cout' was not declared in this scope
   15 |         cout<<"Bob";
      |         ^~~~
a.cc:15: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 == 1)
{
   A += 13;
}
if(B ==1)
{
    B +=13;
}
if(A > B)
cout << "ALice";
if(A == B)
cout << "Draw";
else
    cout << "Bob";

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: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:16:1: error: 'cout' was not declared in this scope
   16 | cout << "ALice";
      | ^~~~
a.cc:16:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:18:1: error: 'cout' was not declared in this scope
   18 | cout << "Draw";
      | ^~~~
a.cc:18:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:20:5: error: 'cout' was not declared in this scope
   20 |     cout << "Bob";
      |     ^~~~
a.cc:20:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include<iostream>
#include<stdio.h>
//#include <bits/stdc++.h>
#include<vector>
#include<float.h>
#include<iomanip>
#include<algorithm>
#include<string>
#include<cstring>
#include<math.h>
#include<cmath>
#include<sstream>
#include<set>
#include<map>
#include<queue>
#include <cassert>
#include <cmath>
#include<cstdint>

#define INF 1e9
#define rep(i,n)for(int i=0;(i)<(int)(n);i++)
#define REP(i,a,b)for(int i=(int)(a);(i)<=(int)(b);i++)
#define VEC(type, c, n) std::vector<type> c(n);for(auto& i:c)std::cin>>i;
#define vec(type,n) vector<type>(n)
#define vvec(m,n) vector<vector<int>> (int(m),vector<int>(n))
#define ALL(a)  (a).begin(),(a).end()

using namespace std;
using ll = long long;
using Graph = vector<vector<int>>;
using P = pair<int,int>;

vector<int>bitSearch(int bit,int n){
    vector<int>S;
    rep(i,n)if(bit&(1<<i))S.push_back(i);
    return S;
}


int d[3] = {-1,0,1};
int main(){
    int a,b;cin>>a>>b;
    if(a==1)a = 14;
    if(b==1)b = 14;
    if(a==b)cout<<"Draw"
    else cout<<(a>b?"Alice":"Bob");
}



Compiler output:
a.cc: In function 'int main()':
a.cc:45:25: error: expected ';' before 'else'
   45 |     if(a==b)cout<<"Draw"
      |                         ^
      |                         ;
   46 |     else cout<<(a>b?"Alice":"Bob");
      |     ~~~~
Language: Java

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int ab[] = new int[2];
        ab[0] = sc.nextInt();
        ab[1] = sc.nextInt();

        for(int i=0;i<ab.length;i++){
            if(ab[i] == 1){
                ab[i] = ab[i] + 13;
            }
        }

        if(ab[0] > ab[1]){
            System.out.println("Alice");
        }else if(b[0] < ab[1]){
            System.out.println("Bob");
        }else{
            System.out.println("Drow");

        }

        }        
    }



Compiler output:
Main.java:22: error: cannot find symbol
        }else if(b[0] < ab[1]){
                 ^
  symbol:   variable b
  location: class Main
1 error
Language: Java

import java.util.ArrayList;
import java.util.Arrays;
import java.util.HashSet;
import java.util.List;
import java.util.Scanner;

public class Main{
    public static void main(String[] args){
        Scanner sc = new Scanner(System.in);
        int ab[] = new int[2];
        ab[0] = sc.nextInt();
        ab[1] = sc.nextInt();

        for(int i : ab){
            if(i == 1){
                ab[i] = ab[i] + 13;
            }
        }

        if(ab[0] > ab[1]){
            System.out.println("Alice");
        }else if(b[0] < ab[1]){
            System.out.println("Bob");
        }else{
            System.out.println("Drow");

        }

        }        
    }



Compiler output:
Main.java:22: error: cannot find symbol
        }else if(b[0] < ab[1]){
                 ^
  symbol:   variable b
  location: class Main
1 error
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:5:9: error: structured binding declaration cannot have type 'std::string' {aka 'std::__cxx11::basic_string<char>'}
    5 |   string[] s = {"Draw","Alice","Bob"};
      |         ^~
a.cc:5:9: note: type must be cv-qualified 'auto' or reference to cv-qualified 'auto'
a.cc:5:9: error: empty structured binding declaration
a.cc:5:12: error: expected initializer before 's'
    5 |   string[] s = {"Draw","Alice","Bob"};
      |            ^
a.cc:8:13: error: 's' was not declared in this scope
    8 |     cout << s[0];
      |             ^
a.cc:10:13: error: 's' was not declared in this scope
   10 |     cout << s[1];
      |             ^
a.cc:12:13: error: 's' was not declared in this scope
   12 |     cout << s[2];
      |             ^
Language: C++

#include <bits/stdc++.h>
using namespace std;
typedef long long ll;
#define rep(i, n) for(ll i = 0; i < (ll)(n); i++)
#define rep2(i, a, n) for(ll i = a; i < (ll)(n); i++)
#define memi cout << endl
#define kono(n) cout << fixed << setprecision(n)
#define all(c) (c).begin(), (c).end()
#define pb push_back
#define hina cout << ' '
#define in(n) cin >> n
#define in2(n, m) cin >> n >> m
#define in3(n, m, l) cin >> n >> m >> l
#define out(n) cout << n
const ll mei = (ll)1e9 + 7;

int main(){
  ll a, b;
  in2(a, b);
  if(a == 1)
    a = 14;
  if(b == 1)
    b = 14;
  if(a < b)
    out(Bob);
  if(a == b)
    out(Draw);
  if(a > b)
    out(Alice);
  memi;
}

Compiler output:
a.cc: In function 'int main()':
a.cc:25:9: error: 'Bob' was not declared in this scope
   25 |     out(Bob);
      |         ^~~
a.cc:14:24: note: in definition of macro 'out'
   14 | #define out(n) cout << n
      |                        ^
a.cc:27:9: error: 'Draw' was not declared in this scope
   27 |     out(Draw);
      |         ^~~~
a.cc:14:24: note: in definition of macro 'out'
   14 | #define out(n) cout << n
      |                        ^
a.cc:29:9: error: 'Alice' was not declared in this scope
   29 |     out(Alice);
      |         ^~~~~
a.cc:14:24: note: in definition of macro 'out'
   14 | #define out(n) cout << n
      |                        ^
Language: C++

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

Compiler output:
a.cc: In function 'int main()':
a.cc:9:12: error: 'h' was not declared in this scope
    9 |          n=h;
      |            ^
a.cc:13:12: error: 'h' was not declared in this scope
   13 |          m=h;
      |            ^
Language: C++

using namespace std;

int main()
{
int alice_card , bob_card;
cin>>alice_card>>bob_card;
//inr arr[13]={1,13,12,11,10,9,8,7,6,5,4,3,2};
if(alice_card==bob_card){
    cout<<"draw";
}else if(alice_card==1 &&alice_card!=bob_card ){
cout<<"alice";
}else if (bob_card==1 &&alice_card!=bob_card ||bob_card>alice_card){
cout<<"bob";
}else if(alice_card>bob_card){
cout<<"alice";
}else{
cout<<"bob";
}

    return 0;
}


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

using namespace std;

int main()
{
int alice_card , bob_card;
cin>>alice_card>>bob_card;
//inr arr[13]={1,13,12,11,10,9,8,7,6,5,4,3,2};
if(alice_card==bob_card){
    cout<<"draw";
}else if(alice_card==1 &&alice_card!=bob_card ){
cout<<"alice";
}else if (bob_card==1 &&alice_card!=bob_card ||bob_card>alice_card){
cout<<"bob";
}else if(alice_card>bob_card){
cout<<"alice"
}else{
cout<<"bob"}

    return 0;
}


Compiler output:
a.cc: In function 'int main()':
a.cc:6:1: error: 'cin' was not declared in this scope
    6 | cin>>alice_card>>bob_card;
      | ^~~
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:9:5: error: 'cout' was not declared in this scope
    9 |     cout<<"draw";
      |     ^~~~
a.cc:9:5: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:11:1: error: 'cout' was not declared in this scope
   11 | cout<<"alice";
      | ^~~~
a.cc:11:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:13:1: error: 'cout' was not declared in this scope
   13 | cout<<"bob";
      | ^~~~
a.cc:13:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:15:1: error: 'cout' was not declared in this scope
   15 | cout<<"alice"
      | ^~~~
a.cc:15:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
a.cc:17:1: error: 'cout' was not declared in this scope
   17 | cout<<"bob"}
      | ^~~~
a.cc:17:1: note: 'std::cout' is defined in header '<iostream>'; this is probably fixable by adding '#include <iostream>'
Language: C++

#include <iostream>

using namespace std;

int main()
{

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

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

using namespace std;

int main()
{

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


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

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:12:25: error: expected '}' before 'else'
   12 |                         else if(a > b) {
      |                         ^~~~
main.c: At top level:
main.c:28:9: error: expected identifier or '(' before 'return'
   28 |         return 0;
      |         ^~~~~~
main.c:29:1: error: expected identifier or '(' before '}' token
   29 | }
      | ^
Language: C

#include <stdio.h>

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

Compiler output:
main.c: In function 'main':
main.c:14:33: error: break statement not within loop or switch
   14 |                                 break;
      |                                 ^~~~~
main.c:18:33: error: break statement not within loop or switch
   18 |                                 break;
      |                                 ^~~~~
Language: C

#include <stdio.h>

int main(void)
{
	int a, b;
	
	if(scanf("%d%d", &a, &b)) == 1) {
	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:7:35: error: expected expression before '==' token
    7 |         if(scanf("%d%d", &a, &b)) == 1) {
      |                                   ^~
main.c:7:39: error: expected statement before ')' token
    7 |         if(scanf("%d%d", &a, &b)) == 1) {
      |                                       ^