untitle

public
yousefkarem91 Sep 12, 2024 Never 32
Clone
C++ past.cpp 24 lines (24 loc) | 381 Bytes
1
#include <bits/stdc++.h>
2
using namespace std;
3
int main()
4
{
5
int a,b,c;
6
cin>>a>>b>>c;
7
if(a!=b) {
8
if(a>b) {
9
cout<<"Takahashi";
10
}
11
else {
12
cout<<"Aoki";
13
}
14
}
15
else
16
{
17
if(c==0) {
18
cout<<"Aoki";
19
}
20
else {
21
cout<<"Takahashi";
22
}
23
}
24
}