When submitting a solution in C++, please select either C++14 (GCC 6-32) or C++17 (GCC 7-32) as your compiler. ×

MohamedHassan499's blog

By MohamedHassan499, history, 4 years ago, In English

I tried so solve this problem using two pointer technique but I'm getting some precision error in the last test in this code, 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.