Skip to content

Instantly share code, notes, and snippets.

@PreSoichiSumi
Last active April 26, 2016 07:59
Show Gist options
  • Save PreSoichiSumi/41950b1f3f776bbc23d2675a2ea25027 to your computer and use it in GitHub Desktop.
Save PreSoichiSumi/41950b1f3f776bbc23d2675a2ea25027 to your computer and use it in GitHub Desktop.
#include <iostream>
using namespace std;
int main() {
int a,b,c,d;
cin>>a>>b>>c>>d;
if((a*d)==(b*c)) {
cout << "DRAW" << endl;
}else if(a*d<b*c){
cout<<"TAKAHASHI"<<endl;
}else{
cout<<"AOKI"<<endl;
}
return 0;
}
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment