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 1590. Bacon’s Cipher

What is s "substring" here?
Posted by Vedernikoff Sergey 27 Oct 2007 16:19
Is empty string is a substring of the whole string?
Is whole string is a substring of the whole string?
Re: What is s "substring" here?
Posted by Mace(Lviv Polytechniс NU) 27 Oct 2007 19:49
You can see example:
"aaba":
a
b
aa
ab
ba
aab
aba
aaba
Totaly 8 substrings.
So, empty string is not substring.
Re: What is s "substring" here?
Posted by Igor Dex 8 Nov 2007 14:38
And where is "aaa"?
Re: What is s "substring" here?
Posted by Chmel_Tolstiy 8 Nov 2007 15:16
substring != subsequence
Re: What is s "substring" here?
Posted by adilchib 17 Mar 2009 17:19
Where is baa?
Re: What is s "substring" here?
Posted by DoKZ (IITU) 27 Oct 2010 16:20
adilchib wrote 17 March 2009 17:19
Where is baa?
"baa" is not subsequnce of "aaba"