Блог пользователя NicuBodea

Автор NicuBodea, 12 лет назад, По-английски

On 95A ( http://mirror.codeforces.com/contest/95/problem/A ), third example, the final answer is abCacba, but why not abCccba ? (because as I can see, you must change every forbidden string in the lucky letter).

I'm sorry if I didn't see something in the problem that explains this, but I'm confused with that answer.

  • Проголосовать: нравится
  • 0
  • Проголосовать: не нравится

»
12 лет назад, # |
  Проголосовать: нравится +3 Проголосовать: не нравится

Note the

"should perform the replacement of all letters covered by the occurrences"

constraint, that means you must also change the fourth letter in the sample, instead of leaving it 'c'.