Submission #8467589


Source Code Expand

Copy
n = int(input())
s = input()
if n % 2:
    print("No")
else:
    i = int(n/2)
    if s[:i] == s[i:]:
        print("Yes")
    else:
        print("No")

Submission Info

Submission Time
Task B - Echo
User tamurahey
Language Python (3.4.3)
Score 200
Code Size 162 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