Can any help me give a solution using top down (memo + recursion) technique,for some reason my solution isn't counting all the possible answers,please help me as i'm new to dp. http://mirror.codeforces.com/problemset/problem/163/A http://ideone.com/AEMNUw







