I didn't realize I made a mistake on D, concentrated on E, realized it with about 30 minutes left, and rushed to fix it.
Continuing to step in front of the light blue...
def main():
N = int(input())
for x in get_divisors(N):
print(x)
def solve(X, Y, A, B):
AX = X
a_count = 0
ret = 0
while AX < Y:
rest = Y - 1 - AX
b_count = rest // B
ret = max(ret, a_count + b_count)
a_count += 1
AX *= A
return ret
a_count += 1 AX *= A was at the top of the loop, so it was a type of input that does A 0 times and it was WA.ABC180E AC after contest
F - Unbranched []](https://atcoder.jp/contests/abc180/tasks/abc180_f)
This page is auto-translated from /nishio/ABC180 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.