abc190_a - Very Very Primitive Game
30 Jan 2021 — Tags: easy — URLTime complexity: $O(1)$
Memory complexity: $O(1)$
Click to show code.
using namespace std;
using ll = long long;
using ii = pair<int, int>;
using vi = vector<int>;
int main(void)
{
ios::sync_with_stdio(false), cin.tie(NULL);
string ans[2] = {"Aoki", "Takahashi"};
int a, b, c;
cin >> a >> b >> c;
if (c == 0)
cout << ans[a > b] << endl;
else
cout << ans[a >= b] << endl;
return 0;
}