Search found 2 matches

by fmounir
Sat Mar 25, 2006 1:47 am
Forum: Volume 110 (11000-11099)
Topic: 11018 - Mars Buggy
Replies: 6
Views: 3877

11018 - Mars Buggy

Hi there,

could anybody tell me what could be wrong with this solution:


#define R 3390.0
#define versine(x) (1-cos(x))
#define haversine(x) ( (1 - cos(x))/2 )
#define RND(x) ( int(floor(x+0.5)) )

struct point
{
string name;
double lat;
double lon;
};

point points[100];
int numpoints;

long ...
by fmounir
Fri Mar 24, 2006 11:13 pm
Forum: Volume 110 (11000-11099)
Topic: 11019 - Matrix Matcher
Replies: 43
Views: 22769

Hello Cho,

How can you compute the hash values of all X*Y patterns in the large text in a constant time? Or at least in an O(n*m)?

Thanks.

Go to advanced search