0
1
mirror of https://git.sb/baoshuo/OI-codes.git synced 2024-12-24 17:32:00 +00:00

A - Good morning

https://atcoder.jp/contests/abc245/submissions/30431124
This commit is contained in:
Baoshuo Ren 2022-03-26 20:04:16 +08:00
parent 09e60215e4
commit 0bc6eec9da
Signed by: baoshuo
GPG Key ID: 70F90A673FB1AB68

17
AtCoder/ABC245/A/A.cpp Normal file
View File

@ -0,0 +1,17 @@
#include <iostream>
using std::cin;
using std::cout;
const char endl = '\n';
int a, b, c, d;
int main() {
std::ios::sync_with_stdio(false);
cin >> a >> b >> c >> d;
cout << (a == c ? b <= d ? "Takahashi" : "Aoki" : a < c ? "Takahashi"
: "Aoki")
<< endl;
return 0;
}