프로그래밍_일반/백준
boj 8949
Spadework
2020. 3. 20. 09:09
* Solved 기준 브론즈2 단순 풀이
a,b = map(list, input().split()); s=''
while a or b:
x,y = a.pop() if a else '0', b.pop() if b else '0'
s += str(int(x)+int(y))[::-1]
print(s[::-1])