⌨️

[AtCoder]ABC-071|A - Meal Delivery

2023/01/02に公開

設問ページ

提出結果

def getIntMap():
    return map(int, input().split())


def main():
    x, a, b = getIntMap()
    print('A' if abs(a - x) <= abs(b - x) else 'B')


if __name__ == "__main__":
    main()

Discussion