Palindromes
137D1900· candidate master2s256 MB⌨ stdin/stdout
Examples
Sample 1of 4
Input
abacaba1
Output
0abacaba
Sample 2of 4
Input
abdcaba2
Output
1abdcdba
Sample 3of 4
Input
abdcaba5
Output
0a+b+d+c+aba
Sample 4of 4
Input
abacababababbcbabcd3
Output
1abacaba+babab+bcbabcb
58%
137D.cpp
loading editor…
Ln 11·137 BGNU C++20 (64)