Code not passing all test cases

Правка en1, от ss_96, 2017-09-17 21:24:59

I was trying to solve this question:question link

My solution:solution

The problem is that it does not pass all the test cases.

Please suggest what case am I missing to handle in my code.

Thanks!

Теги #c++, #algorithms, c++ stl

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en1 Английский ss_96 2017-09-17 21:24:59 475 Initial revision (published)