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 1393. Average Common Prefix

tests
Posted by taobingxue 13 Sep 2009 20:28
5
AAAAA
ans:5.000

6
CBDCBD
ans:3.600

6
DDADDD
ans:2.000
They helped me to solve this problem~
Hope they can help you
o(∩_∩)o...
Re: tests
Posted by Mahilewets 12 Jul 2017 18:04
Test "DDADDD"  is really nice.
My program shows different results for different shifts of that string.  For first two shifts it shows 2.0 and for the next four it shows 1.4,1.8,2.2 and 1.2 respectively