Hi can anyone tell any dp approach to this?
Problem link==> http://codeforces.com/contest/1151/problem/B
I can think of a O(n*m*2^10) dp But it will not pass.
Thanks in advance.
Please Help with dp problem?
Hi can anyone tell any dp approach to this?
Problem link==> http://codeforces.com/contest/1151/problem/B
I can think of a O(n*m*2^10) dp But it will not pass.
Thanks in advance.
Rev. | Lang. | By | When | Δ | Comment | |
---|---|---|---|---|---|---|
en2 | BanazadehAria | 2019-07-01 14:11:17 | 3 | Tiny change: 'n*m*2^10) But it wi' -> 'n*m*2^10) dp But it wi' | ||
en1 | BanazadehAria | 2019-07-01 14:06:49 | 212 | Initial revision (published) |