hello codeforces i'm trying to solve a hard problem and this is my 25th submission :
http://codeforces.me/contest/794/submission/27321156
i believe that i'm too close to the right solution
can anybody tell me what's wrong with my code
and i want to know if solving hard problems better or problems at my level "like C" problems
thanks