cf/mirror

Palindromic Problem

CF
1913F2800· international gm5s512 MB⌨ stdin/stdout

Examples

Sample 1of 3
Input
5
aabaa
Output
15
aaaaa
Sample 2of 3
Input
5
aaaaa
Output
15
aaaaa
Sample 3of 3
Input
4
awoo
Output
7
aooo
1913F.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)