| 
| There is a contest! |  | В настоящий момент идёт турнир. Некоторая информация и функции сервера недоступны до его окончания. 
 |  
 | 
| Ani | Nov.10.2016 at 10:28:33 PM |  |  | 0 | ---- Test 1 ----- 3
 1 keven
 2 122
 0 arry
 
 ----- pattern -----
 2
 
 
 |  | imesecan | Nov.13.2016 at 12:35:38 PM |  |  | 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 | Nov.13.2016 at 03:30:12 PM |  |  | 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 
 
 |  
 |