Thanks!
but mine gives the same result as yours(any one of you except the last one).
so still don't know what's wrong!!!!
Search found 3 matches
- Thu Jun 20, 2002 5:22 pm
- Forum: Volume 2 (200-299)
- Topic: 298 - Race Tracks
- Replies: 11
- Views: 3264
- Thu Jun 20, 2002 11:39 am
- Forum: Volume 2 (200-299)
- Topic: 298 - Race Tracks
- Replies: 11
- Views: 3264
- Thu Jun 20, 2002 6:19 am
- Forum: Volume 2 (200-299)
- Topic: 298 - Race Tracks
- Replies: 11
- Views: 3264
help! problems with 298!
[c]
#include <string.h>
#include <math.h>
#include <stdio.h>
int dp[30][30][7][7];
char ob[30][30];
int finalx, finaly;
int row, col;
void hops(int x, int y, int dx, int dy) {
int i, j;
int temp;
int newdx, newdy, newx, newy;
dp[x][y][dx][dy] = 50000;
if (ob[x][y])
return;
for (i = -1 ...
#include <string.h>
#include <math.h>
#include <stdio.h>
int dp[30][30][7][7];
char ob[30][30];
int finalx, finaly;
int row, col;
void hops(int x, int y, int dx, int dy) {
int i, j;
int temp;
int newdx, newdy, newx, newy;
dp[x][y][dx][dy] = 50000;
if (ob[x][y])
return;
for (i = -1 ...