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 1354. Palindrome. Again Palindrome

Weak limitations
Posted by partisan 10 Jun 2009 18:41
A limitation of 10000 is weak. My "stupid" O(n^2) PASCAL solution gets AC in 0.078 sec.
It works very fast even on its worth test:
aaaa....aaaab (9999 letters 'a')
where it makes 9999 iterations with = and Delete() with strings of length 10000.

But actually I don't know how to change this. If just increase  limitation, even correct solutions gets WA...
Weak limitations
Posted by partisan 13 Jun 2009 16:32
Maybe it is actual to make version 2 of problem, with limitation in 100000 or 250000.