Изменения рейтингов за последние раунды временно удалены. Скоро они будут возвращены. ×

[SPOJ] EPALIN Z-ALGO SOLUTION GIVING WRONG ANSWER

Правка en2, от i_love_emilia_clarke, 2015-11-09 22:38:03

Hi, Codeforces folks, i am stuck at this problem LINK, The problem seems to be quite simple, you just have to make a string palindrome adding minimum number of characters at the end, so basically we need to find the longest suffix palindrome and then add the remaining character at the end. My solution implements the same here is the LINK, i am not able to get on what test cases it is giving me wrong solution. Please Help me correcting the code or suggesting me some test-case so that i can figure out. :)

Теги spoj, z-algorithm, wrong answer

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский i_love_emilia_clarke 2015-11-09 22:38:03 14 Tiny change: 'the [LINK](http://id' -> 'the [LINK]\n\n[cut]\n\n(http://id' (published)
en1 Английский i_love_emilia_clarke 2015-11-09 22:35:49 627 Initial revision (saved to drafts)