Hi can anyone tell any dp approach to this?↵
↵
Problem link==> http://codeforces.net/contest/1151/problem/B↵
↵
I can think of a O(n*m*2^10) dp But it will not pass. ↵
↵
Thanks in advance.
↵
Problem link==> http://codeforces.net/contest/1151/problem/B↵
↵
I can think of a O(n*m*2^10) dp But it will not pass. ↵
↵
Thanks in advance.