i also got WA and i can't see any mistake :cry:
ps: i wrote it in portuguese, so
pilha = stack
topo = top
vet = array
entrada = input
#include <stdio.h>
#include <string.h>
#include <stdlib.h>
#define MAX 128
#define PAR 0
#define COL 1
typedef struct _pilha
{
int vet[MAX];
int topo ...