⌨️
[AtCoder]ABC-058|A - ι⊥l
設問ページ
提出結果
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()
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