johnkim3104's blog

By johnkim3104, history, 4 years ago, In English

I’m wondering if it’s possible to solve the problem https://codeforces.net/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?

  • Vote: I like it
  • +4
  • Vote: I do not like it

| Write comment?