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 1269. Obscene Words Filter

If you have WA 14
Posted by Amirbekov Artem[Ivanovo SPU] 5 Dec 2008 03:03
One pattern can be a substring of another pattern. Be careful not to skip an occurrence of such pattern when you use the unluck function.

Edited by author 17.03.2009 04:26
Re: If you have WA 14
Posted by gjs 16 Jun 2012 18:26
Could you give me an example?

Edited by author 16.06.2012 18:28
Re: If you have WA 14
Posted by Amirbekov Artem[Ivanovo SPU] 19 Jun 2012 01:46
3
abd
bcd
d
1
abcd

Answer: 1 2
(not 1 4)