From 0bc6eec9daab55e3f4c932226195e982c6abead2 Mon Sep 17 00:00:00 2001 From: Baoshuo Date: Sat, 26 Mar 2022 20:04:16 +0800 Subject: [PATCH] A - Good morning https://atcoder.jp/contests/abc245/submissions/30431124 --- AtCoder/ABC245/A/A.cpp | 17 +++++++++++++++++ 1 file changed, 17 insertions(+) create mode 100644 AtCoder/ABC245/A/A.cpp diff --git a/AtCoder/ABC245/A/A.cpp b/AtCoder/ABC245/A/A.cpp new file mode 100644 index 00000000..326bedcd --- /dev/null +++ b/AtCoder/ABC245/A/A.cpp @@ -0,0 +1,17 @@ +#include + +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; +}