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

Please, look at this test

2
ab
cabdef
1
cabdfr

My program (which have WA#5) give answer: 1 2
But my friend`s program (which is AC) give: Passed
How it can be????? Very strange, maybe checker or tests are wrong?
Or maybe i didn`t understand problem???
CAn anybodu help me?
So...
Admins!!! Can you help me!?
It means only that your friend didn't use "unluck"
function in Aho-Korasik algorithm..
BTW, it's Aho-Corasick :)