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 1158. Censored!

I want some test data.
Posted by Pitchaya 2 Jan 2002 01:59
I debug and test my program for a day I can't find how's wrong.
So I want some test data to test my program. Thank you.
Maybe this...
Posted by shitty.Mishka 2 Jan 2002 02:54
Maybe your program doesn't work correctly with such test cases when
the beginning of one word is the same as the ending of another  (or
itself). For example, here are a few cases with answers:
3 3 1
QWE
QQ
The answer is 22, but not 21 as your program might output. And, the
one for you to check your long mathematics:
50 8 2
QWERTYUI
QWERT
ERTYU
ETYUI
YUIE
The answer is 39215055148328

Hope this will help.
Good luck!
Re: Maybe this...
Posted by Pitchaya 2 Jan 2002 05:00
I think your input is incorrect. Please help me!