Search found 7 matches

by kcph007
Wed Apr 09, 2003 10:40 am
Forum: Algorithms
Topic: Partition graph ...
Replies: 4
Views: 2783

The value you looking for is called "Minimum cut". Search google for these word "minimum cut flow" . There's heap of !
Cheers
by kcph007
Tue Apr 08, 2003 5:39 pm
Forum: Algorithms
Topic: Geometry problem
Replies: 3
Views: 3931

Hi, good to hear about geometry problems too. but for the first prob, that solution doesn't guarante the minimum number of circles
Cheers
by kcph007
Tue Dec 03, 2002 1:01 pm
Forum: Other words
Topic: Restricted function, HELP !!!
Replies: 2
Views: 2081

oh my godness , thanks !
by kcph007
Tue Dec 03, 2002 12:01 pm
Forum: Other words
Topic: A difficult problem
Replies: 2
Views: 2243

This is not the problem of the algorithm but computation, all you have to do is to do calculating with big numbers ( up to 200 digits).
Find the lastgest Fibo number f smaller than n and do the same problem with n-f.
Good luck
by kcph007
Tue Dec 03, 2002 8:07 am
Forum: Other words
Topic: Restricted function, HELP !!!
Replies: 2
Views: 2081

Restricted function, HELP !!!

Here is what I got the error RESTRICTED FUNCTION, can anyone tell me the reason?

[cpp]
#include <iostream.h>
#include <stdlib.h>
#include <vector>
#include <string.h>

enum{
infinity = 100000
};

int m,n;
int a[101][101];
int start, end, n_passenger;

int min(int a, int b){
return (a<b)?a:b ...
by kcph007
Tue Dec 03, 2002 4:45 am
Forum: Volume 100 (10000-10099)
Topic: 10099 - The Tourist Guide
Replies: 91
Views: 43048

Thanks, I'm a newbie to problems here, so never thought it would be that tricky :lol:
Thanks alot
by kcph007
Tue Nov 26, 2002 12:15 pm
Forum: Volume 100 (10000-10099)
Topic: 10099 - The Tourist Guide
Replies: 91
Views: 43048

10099 , something wrong???

In the sample input, each trip can take upto 25 passengers, to it needs only 4 trips to take 99 to the destination, but the sample answer is 5, am I misunderstanding?
Thanks

Go to advanced search