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

I got wa on #7
Posted by a_little_black 12 Sep 2016 20:18
I was so upset that I wa on #7 more than 10. I want to practice my suffix array,so I used it and used RMQ,But I wa on #7.
I very want to know what is #7.
Can the admin give the simple to me? thanks a lot
http://paste.ubuntu.com/23169621/
the suffix array algorithm is right cause I got AC ever using this Template~~
Re: I got wa on #7
Posted by a_little_black 12 Sep 2016 21:08
I got ac now cause I use a character '$' to end my suffix array . I think is ok but got wa on 7..why?
Latin alphabet letters
is not abcdefg.....ABCDGEF...?
Re: I got wa on #7
Posted by a_little_black 12 Sep 2016 21:17
no no no . cause my book[] is smaller.
book[500 + 20] is not enough?

I see .  the length of string is 2000

Edited by author 12.09.2016 21:19
Re: I got wa on #7
Posted by Ulan 27 Jul 2017 13:16
do you find why ?