Ga0Lee

[알고리즘] 네 수 백준 10824 (Python) 본문

Algorithm

[알고리즘] 네 수 백준 10824 (Python)

가영리 2022. 1. 17. 02:15

코드

import sys

a, b, c, d = input().split()

num1 = ""
num2 = ""

num1 += a+b
num2 += c+d

print(int(num1) + int(num2))

 

입출력