Skip to content

Baekjoon 11944

1. Problem

문제 확인하기

2. Solution (Python, memory: 31256KB, time: 40ms)

N, M = map(int, input().split())
res = str(N)*N
print(res if len(res) <= M else res[:M])