mirror of
https://git.sb/baoshuo/OI-codes.git
synced 2024-12-24 18:11:59 +00:00
A - Good morning
https://atcoder.jp/contests/abc245/submissions/30431124
This commit is contained in:
parent
09e60215e4
commit
0bc6eec9da
17
AtCoder/ABC245/A/A.cpp
Normal file
17
AtCoder/ABC245/A/A.cpp
Normal 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;
|
||||
}
|
Loading…
Reference in New Issue
Block a user