on my way
[백준 2675번] 문자열반복 (Python3, 브론즈4) 본문
반응형
https://www.acmicpc.net/problem/2675
import sys
T = int(sys.stdin.readline())
for _ in range(T):
R, S = sys.stdin.readline().split()
R = int(R)
for s in S:
print(s*R, end='')
print()
반응형