Submission #8465242


Source Code Expand

Copy
N, = (int(x) for x in input().split())
S = input()

if N%2 == 1:
    print("No")
elif S[:N//2] != S[N//2:]:
    print("No")
else:
    print("Yes")

Submission Info

Submission Time
Task B - Echo
User tkmtSo
Language Python (3.4.3)
Score 200
Code Size 148 Byte
Status AC
Exec Time 17 ms
Memory 2940 KB

Judge Result

Set Name Sample All
Score / Max Score 0 / 0 200 / 200
Status
AC × 3
AC × 11
Set Name Test Cases
Sample 00-sample-00, 00-sample-01, 00-sample-02
All 00-sample-00, 00-sample-01, 00-sample-02, 01-handmade-00, 01-handmade-01, 01-handmade-02, 01-handmade-03, 01-handmade-04, 01-handmade-05, 01-handmade-06, 01-handmade-07
Case Name Status Exec Time Memory
00-sample-00 AC 17 ms 2940 KB
00-sample-01 AC 17 ms 2940 KB
00-sample-02 AC 17 ms 2940 KB
01-handmade-00 AC 17 ms 2940 KB
01-handmade-01 AC 17 ms 2940 KB
01-handmade-02 AC 17 ms 2940 KB
01-handmade-03 AC 17 ms 2940 KB
01-handmade-04 AC 17 ms 2940 KB
01-handmade-05 AC 17 ms 2940 KB
01-handmade-06 AC 17 ms 2940 KB
01-handmade-07 AC 17 ms 2940 KB