Help? Anyone? (Hints for a problem)

Правка en1, от O.S.Mozes, 2019-02-27 21:08:03

Hello Codeforces,

I read this interesting problem a while ago and don't know how to solve it efficiently. Any hints?

Link to the problem

I tried mapping strings to states but that obviously sucks. Any help would be appreciated.

Thank you!

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский O.S.Mozes 2019-02-27 21:08:03 325 Initial revision (published)