https://www.acmicpc.net/problem/2588
one = int(input())
two = input()
three = one*int(two[2])
four = one*int(two[1])
five = one*int(two[0])
six = three+four*10+five*100
print(three,four,five,six,sep='\n')
'자기개발👨💻 > 코딩 알고리즘' 카테고리의 다른 글
[python] 백준 1264 모음의 개수 (0) | 2020.08.29 |
---|---|
[python] 백준 1259 팰린드롬수 (0) | 2020.08.29 |
[python] 백준 2386 도비의 영어 공부 (0) | 2020.08.29 |
[python] 백준 1789 블랙잭 (0) | 2020.08.29 |
[python] 백준 2607 로마 숫자 (실패70 성공 20 ?? 10) (0) | 2020.08.27 |
[c++] 백준 1652 누울 자리를 찾아라 (0) | 2020.08.15 |