What is the error

Why it showing wrong answer on submission even when I use the stack STL?