Search found 3 matches

by mrlinx
Wed May 06, 2009 2:07 pm
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 38802

Re: 10397 - Connect the Campus

Hi,

Thanks for catching that. I solved my RE.
by mrlinx
Wed May 06, 2009 5:13 am
Forum: Algorithms
Topic: Compare big exponentials
Replies: 3
Views: 2360

Compare big exponentials

I stumbled across a problem a long time ago where I was given several exponencial numbers, and was my mission to find the largest. I'm trying to remember what is the best way to solve this... I think there was a property in logarithms that allowed this to be made quite fast, but can't seem to get it ...
by mrlinx
Wed May 06, 2009 5:08 am
Forum: Volume 103 (10300-10399)
Topic: 10397 - Connect the Campus
Replies: 75
Views: 38802

10397 - Connect the Campus

I get a Runtime Error from UVA and Segmentation Error in another system, probably with the same data tests...
My code checks for array bounds, but I can't seem to understand the failure.
Anyone can see the problem?

Code:

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

#define MAX_V ...

Go to advanced search