Stuck on problem 372A

Revision en1, by Drom, 2019-02-17 14:15:04

Hi codeforces,

I'm trying to solve problem 372A ( Counting Kangaroos is Fun ), but i can't figure out what's wrong with my solution #50057680. What i am trying to do is sort the array and use two pointers to get the answer but i'm stuck on test case 6?

Tags two pointers

History

 
 
 
 
Revisions
 
 
  Rev. Lang. By When Δ Comment
en1 English Drom 2019-02-17 14:15:04 341 Initial revision (published)