Programming/Python & Data Structures
[Baekjoon/Python3] 8370번 Plane
HooNeee
2020. 12. 5. 22:02
[Baekjoon/Python3] 8370번 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
n1, k1, n2, k2 = map(int, input().split())
print(n1 * k1 + n2 * k2)