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

Автор johnkim3104, история, 4 года назад, По-английски

I’m wondering if it’s possible to solve the problem https://codeforces.com/problemset/problem/1383/A?locale=en with the additional constraint that, instead of being able to select subsets of the same letter, that you can only select substrings (letters that are all adjacent) all of the same letter. What time constraints could this be solved in?

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