본문 바로가기
Algorithm

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

by 가영리 2022. 1. 17.
728x90

코드

import sys

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

num1 = ""
num2 = ""

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

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

 

입출력