Balanced Parenthesis Problem

https://ide.codingblocks.com/s/62402
one test case is failing.
what is going wrong??

problem is now solved .