작심 365

[백준 2675] 파이썬 본문

코테/백준

[백준 2675] 파이썬

eunKyung KIM 2022. 6. 28. 13:31

n=int(input()) 
for _ in range(n):
    p=''
    r,s= input().split()
    for x in s:
        p+=x*int(r)
    print(p)

 

Comments