Feedback | If you notice incorrect translations in Contester, please let author know.
|
|
Time limit 2000/4000/4000/4000 ms. Memory limit 65000/65000/65000/65000 Kb. Prepared by: Ilir Capuni.
Difficulty Beta
All palindromes
Write a program that reads a string from the console and prints
all substrings that are palindromes.
Recall that a string is palindrome if it is read the same from
the both sides.
Test case
Input: radar
Output:
r
radar
a
ada
d
a
r
Для отправки решений необходимо выполнить вход.
|