Can someone please identify the problem with the submission[submission:24848243]. It got hacked during the contest by Endagorion and I resubmitted it by removing the floor which I had used unnecessarily while computing total range for a given n. I don't think it should make a difference though. Resubmission ID : 24860951
Thanks in advance.