Skip to content

Instantly share code, notes, and snippets.

@atmos-tic
Created February 11, 2017 15:34
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save atmos-tic/914ccacf6dff35955e9c9f8a1339bed3 to your computer and use it in GitHub Desktop.
Save atmos-tic/914ccacf6dff35955e9c9f8a1339bed3 to your computer and use it in GitHub Desktop.
abc054-1
#include <stdio.h>
int main(void){
int A, B;
scanf("%d %d", &A, &B);
if (A == 1)A = 14;
if (B == 1)B = 14;
if (A == B){
printf("Draw\n");
}
else if (A > B){
printf("Alice\n");
}
else{
printf("Bob\n");
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment