T = int(input())
for i in range(T):
R, S = input().split()
R = int(R)
S = str(S)
for j in range(len(S)):
print(R*S[j], end='')
print()
https://www.acmicpc.net/problem/2675
'Algorithm > 백준' 카테고리의 다른 글
[백준(BOJ) / python] 2920 - 음계 (0) | 2021.08.15 |
---|---|
[백준(BOJ) / python] 2908 - 상수 (0) | 2021.08.15 |
[백준(BOJ) / python] 2577 - 숫자의 개수 (0) | 2021.08.15 |
[백준(BOJ) / python] 2562 - 최댓값 (0) | 2021.08.15 |
[백준(BOJ) / python] 1152 - 단어의 개수 (0) | 2021.08.15 |