this is the contest http://mirror.codeforces.com/contest/719 question no 2 can anyone tell me why i m failing 5th test case because i cant see that due to its large input plz help me guys thnxx.... hhttp://mirror.codeforces.com/contest/719/submission/20852280