Precision error or logical error?

Правка en1, от MohamedHassan499, 2020-02-19 13:07:04

I tried so solve this problem using two pointer technique but I'm getting some precision error in the last test, Is it a precision error, or there's something my code isn't handling, or my logic from the very beginning is wrong?

And thank you for your time.

История

 
 
 
 
Правки
 
 
  Rev. Язык Кто Когда Δ Комментарий
en2 Английский MohamedHassan499 2020-02-19 13:07:42 72
en1 Английский MohamedHassan499 2020-02-19 13:07:04 342 Initial revision (published)