반응형
https://www.acmicpc.net/problem/2675
# @Author YoungMinKim
# baekjoon
N=int(input())
tmp=[]
for i in range(N):
tmp.append(input())
for i in range(N):
x=tmp[i]
repeat = int(x[0])
for j in x[2:]:
print(j*repeat,end='')
print()
반응형
'백준 문제풀이' 카테고리의 다른 글
python - baekjoon - 2741 (0) | 2020.08.25 |
---|---|
baekjoon - python - 2739 (0) | 2020.08.25 |
baekjoon - python - 2609 (0) | 2020.08.25 |
baekjoon - python - 2588 (0) | 2020.08.25 |
baekjoon - python - 2577 (0) | 2020.08.25 |
댓글