http://codeforces.com/contest/261/problem/B can somebody explain the dp solution of this problem as the editorial is not very clear
http://codeforces.com/contest/261/problem/B can somebody explain the dp solution of this problem as the editorial is not very clear