how can i start thinking about problem like this http://codeforces.com/problemset/problem/478/D?
can anyone explain the solution ?
how can i start thinking about problem like this http://codeforces.com/problemset/problem/478/D?
can anyone explain the solution ?
http://codeforces.com/problemset/problem/478/C
any explanation for this problem please?
http://codeforces.com/contest/186/problem/C
how to start thinking about this type of problems
okay now i know the solution but i dont know the way of thinking to solve this type of problems
thank you in advance