ABC195E✅
ABC195E
I can't think of much to write because I wrote it honestly, passed the test at hand in one shot, and submitted it AC.
code:py
def main():
N = int(input())
SS = input().strip().decode('ascii')
XS = input().strip().decode('ascii')
goal0 = 1 # if 1 Taka win for i in reversed(range(N)):
prev_goal = []
for prev in range(7):
prev_goal.append(0)
else:
prev_goal.append(1)
else: # "T"
for prev in range(7):
prev_goal.append(1)
else:
prev_goal.append(0)
goal = prev_goal
print("Takahashi")
else:
print("Aoki")
E problem is an easy version of AGC045A "Xor Battle"! tw ---
This page is auto-translated from /nishio/ABC195E✅ using DeepL. If you looks something interesting but the auto-translated English is not good enough to understand it, feel free to let me know at @nishio_en. I'm very happy to spread my thought to non-Japanese readers.