Идёт турнир! | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания.
|
|
Ani | 10.ноя.2016 в 22:28:33 | |
0 | ---- Test 1 ----- 3 1 keven 2 122 0 arry
----- pattern ----- 2
|
imesecan | 13.ноя.2016 в 12:35:38 | |
1 | for: 2 122 2 is the number distortions allowed. And, 122 can be turned into palindrome with only 1 distortion, So, it can be accepted as a palindrome.
|
imesecan | 13.ноя.2016 в 15:30:12 | |
2 | Normally in palindrome the first char is the same as the last char. If a distortion is allowed, they may be different if the number of different chars are less than the allowed distortion number
|
|