|
Лимит времени 2000/4000/4000/4000 мс. Лимит памяти 65000/65000/65000/65000 Кб. Prepared by: Ilir Capuni.
Сложность Бета
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
Для отправки решений необходимо выполнить вход.
|