BOJ/백준-15964-Python

cosmos·2023년 3월 29일
0
post-thumbnail

문제

코드

# https://www.acmicpc.net/problem/15964
# boj, 15964: 이상한 기호, Python3
def solve(a: int, b: int) -> int:
    return (a + b) * (a - b)

if __name__ == '__main__':
    a, b = map(int, input().split())

    print(solve(a, b))

결과

출처 & 깃허브

boj 15964
github

0개의 댓글