2025-05-23 19:13:01 +09:00

6 lines
116 B
Python

for _ in range(int(input())):
r, s = input().split()
for i in s:
print(i*int(r),end="")
print()