[구현/수학] 백준 14682 Shifty Sum - 파이썬(Python)


[구현/수학] 백준 14682 Shifty Sum - 파이썬(Python)

[ Contents ] 1. 문제 (링크 참조) 14682번: Shifty Sum Suppose we have a number like 12. Let’s define shifting a number to mean adding a zero at the end. For example, if we shift that number once, we get the number 120. If we shift the number again we get the number 1200. We can shift the number as many time www.acmicpc.net 2. 문제 풀이 N번만큼 X를 10^i 만큼 곱해서 더합니다. 3. 코드 # 입력 N = int(input()) K = int(input()) #..


원문링크 : [구현/수학] 백준 14682 Shifty Sum - 파이썬(Python)