tyristik's blog

By tyristik, history, 4 months ago, In English

How to solve today's C problem if alphabet is not $$$26$$$ characters but rather $$$O(n)$$$? I could only come up with simple offline $$$O(q \sqrt n)$$$ solution using basic MO algorithm. Any ideas?

Full text and comments »

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