how can i start thinking about problem like this http://codeforces.me/problemset/problem/478/D?
can anyone explain the solution ?
D problem
how can i start thinking about problem like this http://codeforces.me/problemset/problem/478/D?
can anyone explain the solution ?