a1
This commit is contained in:
parent
29058ba560
commit
7d01f2a2cf
@ -42,6 +42,10 @@ int main() {
|
||||
}
|
||||
}
|
||||
}
|
||||
printf("All brackets OK\n");
|
||||
if (x > 0) {
|
||||
printf("Missing closing brackets: %c\n", stack[x-1]);
|
||||
} else {
|
||||
printf("All brackets OK\n");
|
||||
}
|
||||
return 0;
|
||||
}
|
||||
Loading…
Reference in New Issue
Block a user