Stuck on problem 372A

Правка en1, от 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?

Теги two pointers

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский Drom 2019-02-17 14:15:04 341 Initial revision (published)