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 1002. Phone Numbers

please provide me some tests
Posted by luckysundog 5 Jan 2010 21:26
WA4, i still don't know why :)
please give me some cool inputs and (optionally) your answers to them.
Re: please provide me some tests
Posted by tiancaihb 6 Jan 2010 17:02
1234567890
10
jafgl
n
ehlnr
tyz
ru
ja
iad
jadh
pty
yo

ans:ja ehlnr tyz
Re: please provide me some tests
Posted by luckysundog 7 Jan 2010 07:58
thank you, i've already found mistakes. now optimizing memory strategy...
Re: please provide me some tests
Posted by horhe13 18 Feb 2010 15:50
the test that tiancaihb give has two possibile solutions:
ja ehlnr tyz
jafgl n ru yo
the first one is shorter so it work fine in my program
but I stil get WA4 and do not know where to look for
mistake. Can someone give me any tip in what cases it work
wrong.
Re: please provide me some tests
Posted by Zefick 25 Feb 2010 08:33
Another test. Mainly to check TLE:
2222223222222222322222 etc.
5
a
aa
afa
aaaa
aafaa

Answer - aaaa aafaa aaaa aa afa aaaa
Re: please provide me some tests
Posted by moonshang 22 Nov 2012 23:11
Answer - aaaa aafaa aaaa aa afa aaaa
Answer - aaaa aafaa aa aaaa afa aaaa