← Back to List
27329번: 繰り返し文字列 (Repeating String) ↗
Solutions
Python 3
82 B | 82 chars
n = int(input()) s = input() print("Yes" if s[:(n//2)] == s[(n // 2):] else "No")