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 1635. Mnemonics and Palindromes

maximum lenght 4000
Posted by marius dumitran 12 Aug 2009 18:38
I had a program using a code like

#define maxn 4096

bool mat[maxn][maxn];
long optim[maxn];
long last[maxn];

and got crash

i changed maxn to 6000 and then got ac...

maybe it was a bug, but maybe there's a test (59) that is too long
Re: maximum lenght 4000
Posted by Sandro (USU) 13 Aug 2009 00:00
Length of the string in 59 test (as in all other tests) is not greater than 4000.
maximum lenght 4000
Posted by Sunnat 24 Oct 2012 20:51
char a[4000];
short min[4000];
short front[4000];
('_')

Edited by author 24.10.2012 20:53