#include <stdio.h> #include <string.h> // #include <stdlib.h> #define MAXSIZE 100000 typedef struct{ int stack[MAXSIZE]; int top; }Stack, *LStack; void push(LStack s, int x){ s->stack[s->top++] = x; } void pop(LStack s){ if(!(s->top)){ printf("error\n"); } else {...