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

Автор duty_spark, история, 5 лет назад, По-английски

Hey, y'all. I'm trying to solve problem D from atcoder ABC 042. Link to the problem. Using regular DP to count the number of ways will not work because of the high constraints. Any hints will be welcomed, thanks.

Полный текст и комментарии »

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