EPOKA Programming Competition - CEN |
Старт: 18.мая.2026 в 13:00:00
Финиш: 18.мая.2026 в 15:30:00
Турнир завершён!
• Турнирная таблица
|
|
Лимит времени 4000/7000/7000/7000 мс. Лимит памяти 65000/65000/65000/65000 Кб.
A string is called palindrome if it is symmetric, i.e. if it is written the same from right to left and from left to right. Write a program that finds the minimum number of characters that must be added to the string to make the string a palindrome.
Input
Given a string, not exceeding 8 characters.
Output
Show the minimal number of characters that must be added to the string so that it becomes a palindrome.
Для отправки решений необходимо выполнить вход.
|