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

Автор adaptatron, 6 месяцев назад, По-английски

For every substring $$$[L, R]$$$, count the number of substrings that have an equal number of 0s and 1s. Then print the sum over all possible $$$[L, R]$$$.

I made a video discussing ideas to solve this problem. https://youtu.be/LWJ7jKnqi9k

Practice problem https://codeforces.me/problemset/problem/1996/E

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

»
6 месяцев назад, скрыть # |
 
Проголосовать: нравится 0 Проголосовать: не нравится

good problem