관리 메뉴

솜씨좋은장씨

[BaekJoon] 8370번 : Plane (Python) 본문

Programming/코딩 1일 1문제

[BaekJoon] 8370번 : Plane (Python)

솜씨좋은장씨 2022. 5. 10. 10:24
728x90
반응형

코딩 1일 1문제! 오늘의 문제는 백준의 Plane 입니다.

 

8370번: Plane

In the first and only line of the standard input there are four integers n1, k1, n2 and k2 (1 ≤ n1, k1, n2, k2 ≤ 1 000), separated by single spaces.

www.acmicpc.net

👨🏻‍💻 코드 ( Solution )

def plane(n1, k1, n2, k2):
    return (n1 * k1) + (n2 * k2)


if __name__ == "__main__":
    n1, k1, n2, k2 = map(int, input().split())
    print(plane(n1, k1, n2, k2))
 

GitHub - SOMJANG/CODINGTEST_PRACTICE: 1일 1문제 since 2020.02.07

1일 1문제 since 2020.02.07. Contribute to SOMJANG/CODINGTEST_PRACTICE development by creating an account on GitHub.

github.com

Comments