Sorry for double post:
My random inputs and your outputs
Can anyone check? Thanks!
34
39 17 79
63 67 4
66 97 49
39 77 30
16 21 33
73 57 91
98 94 30
23 6 57
98 23 15
10 45 18
68 45 46
88 14 61
39 35 96
3 54 39
77 55 14
13 68 26
16 7 58
21 10 90
76 9 59
81 65 23
94 29 11
99 85 69
26 81 34
35 39 91 ...
Search found 3 matches
- Wed Nov 11, 2009 5:12 pm
- Forum: Volume 100 (10000-10099)
- Topic: 10072 - Bob Laptop Woolmer and Eddie Desktop Barlow
- Replies: 10
- Views: 15198
- Wed Nov 11, 2009 5:06 am
- Forum: Volume 100 (10000-10099)
- Topic: 10072 - Bob Laptop Woolmer and Eddie Desktop Barlow
- Replies: 10
- Views: 15198
Re: 10072 - Bob Laptop Woolmer and Eddie Desktop Barlow
I'm trying this problem with max cost max flow algorithm.
But I'm getting WA only :s
The graph:
source -> positions -> players -> sink
An edge SOURCE -> Position, for each position (batsman, bowler, all rounder), with capacity equal to the number of required for final team, and weight 0
An edge ...
But I'm getting WA only :s
The graph:
source -> positions -> players -> sink
An edge SOURCE -> Position, for each position (batsman, bowler, all rounder), with capacity equal to the number of required for final team, and weight 0
An edge ...
- Mon Nov 09, 2009 2:18 am
- Forum: Volume 2 (200-299)
- Topic: 259 - Software Allocation
- Replies: 28
- Views: 14016
Re: 259 - optimizing..
EDIT: I think I found the error. I Will look this, thanks!
EDIT2: Sorry for post, I solved my problem. :)
I'm getting WA on this problem, can anyone help me with more elaborated test cases or look my code?
My graph:
0 - source
1 - sink
2...11 - computers
12+ - applications
There are a edge ...
EDIT2: Sorry for post, I solved my problem. :)
I'm getting WA on this problem, can anyone help me with more elaborated test cases or look my code?
My graph:
0 - source
1 - sink
2...11 - computers
12+ - applications
There are a edge ...