getting WA in div2-D round 635

Revision en1, by tri_e, 2020-04-16 18:38:15

I am using 3 pointer technique to minimize the difference between largest and smallest element chosen and then finding the mid element which minimizes the answer. here is link to my code: https://ideone.com/XzeUzs thanks in advance

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English tri_e 2020-04-16 18:38:15 261 Initial revision (published)