Search found 2 matches

by Caio Abrantes
Fri Jun 29, 2007 4:48 pm
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110252

I need some help here. I've done 101, it works perfectly on my computer but when i submit i keep getting WRONG ANSWER! I have already got 16 WRONG ANSWER and I'm almost giving up. If anyone could take a look at my code and tell me what's wrong with it i would be grateful ! Thanks in advance ...
by Caio Abrantes
Fri Jun 29, 2007 8:20 am
Forum: Volume 1 (100-199)
Topic: 101 - The Blocks Problem
Replies: 635
Views: 110252

101 works perfectly on my computer but i keep getting WA

Here is my code if anyone can find the mistake i would be greatful:

#include <stdio.h>
#include <ctype.h>
#include <stdlib.h>
#include <string.h>

int **tabuleiroBlocos;
const char *stdComandos[] = { "moveonto", "moveover", "pileonto", "pileover", "quit" };

void aloca( int n );
void inicializa ...

Go to advanced search