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 1007. Code Words

only use one change
Posted by Huang Chen 24 Jun 2013 08:56

1 Any (but only one) symbol 0 is replaced by 1.
2 Any (but only one) symbol is removed.
3 A symbol (0 or 1) is inserted at any position.

a word is changed only once through 1 or 2 or 3. so it needn't think about a word is changed by both or three.