Please read the new rule regarding the restriction on the use of AI tools. ×

TanVir17's blog

By TanVir17, history, 12 months ago, In English

https://codeforces.me/contest/1882/problem/B

I tried so many times for solving this problem using DP. But it seems impossible. Can anyone help me?

Full text and comments »

Tags dp
  • Vote: I like it
  • +1
  • Vote: I do not like it