My c++ code encountered different outputs when i execute my code using RUN CODE and when I submit my solution for same test case as under screenshot.Please anyone help me to solve this problem.