CF 1506C - Double-ended Strings

Something went wrong while generating the response. If this issue persists please contact us through our help center at [help.openai.com](https://help.openai.com/).

CF 1506C - Double-ended Strings

Rating: 1000
Tags: brute force, implementation, strings
Solve time: 57s
Verified: no

Solution

Something went wrong while generating the response. If this issue persists please contact us through our help center at help.openai.com.