Implementation doubt in Code for 1 question

Revision en1, by eat_code, 2017-02-21 13:24:01

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.

Tags divide and conquer

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en2 English eat_code 2017-02-21 13:24:52 2
en1 English eat_code 2017-02-21 13:24:01 425 Initial revision (published)