Search found 3 matches

by felipealmeida
Tue Nov 14, 2006 6:46 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79366

thank you very much!

string length wasn't large enough...


:D
by felipealmeida
Thu Nov 09, 2006 3:32 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79366

673 - Parentheses Balance

I always get WA when I submit, but I can't see any mistake.
I've tried many different inputs and all of them I've got correct answer.

my code:

Code: Select all

* edited *
by felipealmeida
Tue Oct 03, 2006 2:51 pm
Forum: Volume 6 (600-699)
Topic: 673 - Parentheses Balance
Replies: 243
Views: 79366

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 ...

Go to advanced search