run2ai / algorithm-taek

0 stars 0 forks source link

숫자의 합 구하기 #2

Closed Blzae97 closed 2 months ago

Blzae97 commented 2 months ago

시간 제한: 1초 난이도: 브론즈Ⅱ 백준 온라인 저지: 11720번 https://www.acmicpc.net/problem/11720

teang1995 commented 2 months ago
N = input()
nums = input()

answer = sum([int(a) for a in list(nums)])
print(answer)