Create a gist now

Instantly share code, notes, and snippets.

What would you like to do?
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