mirror of
https://hub.njuu.cf/TheAlgorithms/C-Plus-Plus.git
synced 2023-10-11 13:05:55 +08:00
Update Paranthesis Matching.cpp
This commit is contained in:
parent
6601c72cad
commit
c2b06a019f
@ -41,7 +41,6 @@ int main()
|
|||||||
if (exp[i]=='(' || exp[i]=='{' || exp[i]=='[' || exp[i]=='<')
|
if (exp[i]=='(' || exp[i]=='{' || exp[i]=='[' || exp[i]=='<')
|
||||||
{
|
{
|
||||||
push(exp[i]);
|
push(exp[i]);
|
||||||
//show();
|
|
||||||
}
|
}
|
||||||
else if (exp[i]==')' || exp[i]=='}' || exp[i]==']' || exp[i]=='>')
|
else if (exp[i]==')' || exp[i]=='}' || exp[i]==']' || exp[i]=='>')
|
||||||
{
|
{
|
||||||
|
Loading…
Reference in New Issue
Block a user