Minus Plus Operation | PrepBytes please help

1 Like

I need the solution too. Please help

This question is same as Third Integer question on codeforces .
BUT my code was accepted in codeforces but not here can someone help me out ??