Submit solution
Points:
1.00
Time limit:
1.5s
Memory limit:
512M
Author:
Problem source:
Problem type
Allowed languages
C, C++, Go, Java, Kotlin, Pascal, PyPy, Python, Rust, Scratch
In case the statement didn't load correctly, you can download the statement here: Statement
Comments
There is a mistake in the statement.
The following statement is wrong:
“A palindromic sequence is called K-embedded palindromic sequence if it does not contain K at any position.”
The correct statement should be:
“A palindromic sequence is called K-embedded palindromic sequence if it has at least one element with a value of K.”