⌨️

[AtCoder]ABC-058|A - ι⊥l

2022/12/27に公開

設問ページ

提出結果

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


def main():
    a, b, c = getIntMap()
    print('YES' if a + b + c == 3 * b else 'NO')


if __name__ == "__main__":
    main()

Discussion