vrwtMay '13http://codeforces.com/contest/15/problem/E5 can anybody help me about how to tackle this problem