a1 - 7
This commit is contained in:
parent
20b5beae06
commit
1f9493b17e
@ -62,7 +62,7 @@ int main(){
|
|||||||
}
|
}
|
||||||
char last = stack[top--];
|
char last = stack[top--];
|
||||||
if (expectedClosing(last) != c){
|
if (expectedClosing(last) != c){
|
||||||
printf("Crossed bracket %c in %d, expected %c\n", c, i, expectedClosing(last));
|
printf("Crossed bracket %c in %d, expected %c \n", c, i, expectedClosing(last));
|
||||||
return 0;
|
return 0;
|
||||||
}
|
}
|
||||||
}
|
}
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user