duty_spark's blog

By duty_spark, history, 5 years ago, In English

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.

Full text and comments »

  • Vote: I like it
  • -2
  • Vote: I do not like it