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 1542. Autocompletion

Unclear problem statement
Posted by Denis Koshman 14 Jul 2008 22:22
1) What should be output when there are no words starting with input string? 2 successive empty lines in the output are weird, so I ask.

2) If input contains some word exactly as it is, should I place this word in the output? I.e. does the verb "start" allow equality as well?
Re: Unclear problem statement
Posted by Denis Koshman 15 Jul 2008 00:33
Ok, my AC solution treats equal strings as starting and it will output two blank lines in case of empty result between two non-empty ones.
Re: Unclear problem statement
Posted by PasGal 12 Aug 2011 19:08
What about ten empty results between two non-empty ones?