Search found 3 matches

by itsme86
Sat Sep 18, 2004 6:24 pm
Forum: Volume 7 (700-799)
Topic: 706 - LCD Display
Replies: 221
Views: 65544

I've got the same problem as the original poster. The only weird thing I can see in my output is if you try printing a number with 0 size:

$ ./706 < temp.txt ...
by itsme86
Fri Sep 17, 2004 7:19 am
Forum: Volume 2 (200-299)
Topic: 284 - Logic
Replies: 4
Views: 4079

284 - Logic

The judge doesn't want to judge problem 284 because it's not in the database or something. I spent a couple of hours on this code and I don't want it to go to waste so here it is ;)


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

typedef struct
{
int x;
int y;
} COORD;

typedef ...
by itsme86
Tue Sep 14, 2004 9:23 am
Forum: Volume 1 (100-199)
Topic: 118 - Mutant Flatworld Explorers
Replies: 68
Views: 20766

118 Runtime Error frustration

This is my code:

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

#define NORTH 0
#define EAST 1
#define SOUTH 2
#define WEST 3

typedef struct
{
int x;
int y;
int dir;
int lost;
} ROBOT;

void turn_right(ROBOT *r);
void turn_left(ROBOT *r);
int go_north(ROBOT *);
int go_east(ROBOT ...

Go to advanced search