ENG  RUSTimus Online Judge
Online Judge
Problems
Authors
Online contests
About Online Judge
Frequently asked questions
Site news
Webboard
Links
Problem set
Submit solution
Judge status
Guide
Register
Update your info
Authors ranklist
Current contest
Scheduled contests
Past contests
Rules
back to board

Discussion of Problem 1297. Palindrome

WA 11
Posted by Adela Neacsu 10 Dec 2011 04:54
I use DP to find the max substring of the input and its reverse, but I keep getting WA 11... Did anyone else got WA 11? If so, how did you fix it? Thanks in advance :)
Re: WA 11
Posted by scythe 20 Dec 2011 02:32
Hi, check up if you have a string like 'asa ceva nu se mai poate aca' you will get 'asa' as answer.
Re: WA 11
Posted by Adela Neacsu 16 Jan 2012 20:44
Thanks a lot!!! Your test was perfect for my mistake :)