NEED GOOD EXPLAINATION--(CODERS HOPE)

Revision en2, by vsanjay_nitdgp, 2015-10-14 21:16:51

hello, Recently i was solving this problem below: http://codeforces.com/contest/540/problem/E

I made a survey in my college.Many couldn't do it.I have shown them EDITORIAL too.But many couldn't understand how to solve that finally.Many were confused in a lot ways.

So,Today i request GUYS who solved this problem,to spare some time on this QUERY which would be useful for many students who are breaking their heads on this problem's logic.

Please spare time and post nice explaination with example,so that it would be more clear.

AND i REQUEST not to give DOWNVOTE this post,Because this post is REALLY USEFUL for many CODERS....Many get stuck in this kind of problems,,and due to (some not better explaination)..they skip that problem having good concept...

SO,GUYS PLEASE POST NICE EXPLAINATION FOR THIS PROBLEM,,,

NOTE:IT IS NOT NEEDED THAT YOU UPVOTE THIS POST(BUT DONT DOWN VOTE).......WE NEED TO LEARN CONCEPT...

THANKS IN ADVANCE....HOPE I WOULD SEE MANY REPLIES HELPING MANY CODERS WHO FEEL THIS CONCEPT HARD....

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English vsanjay_nitdgp 2015-10-14 21:16:51 52
en1 English vsanjay_nitdgp 2015-10-14 20:59:18 1103 Initial revision (published)