Coding Test
[백준] 5의 수난
상상쓰
2021. 10. 6. 14:15
https://www.acmicpc.net/problem/23037
23037번: 5의 수난
키파는 문득 3과 4의 견고한 벽에 가로막혀 스포트라이트를 받지 못하는 5를 떠올렸다. '세상에 얼마나 많은 것들이 5와 관련이 있는데!' 키파는 5가 쓰이는 곳을 떠올리기 시작했다. 사람의 손가
www.acmicpc.net
오 신기방기
import sys
n = sys.stdin.readline().strip()
answer = sum(list(map(lambda x : int(x) ** 5, n)))
print(answer)