Hi! I have this problem and I am not sure how to solve it.
I have a vector of integers V and a number W.
Using all the numbers in V, I have to put between every number a plus or a minus or a multiplication so doing the calculations in V I get W.
between every number of V you have a parenthesis, so ...
Search found 5 matches
- Thu Aug 31, 2006 9:16 pm
- Forum: Algorithms
- Topic: dynamic programming problem
- Replies: 0
- Views: 1284
- Wed Jul 19, 2006 6:04 am
- Forum: Algorithms
- Topic: Graph problem
- Replies: 12
- Views: 5483
Tanu:
I get the idea, but I am still thinking how to adapt my algorithm to use previous information that I have calculated. I really don't know how.
ayon:
You are right, but in the problem that I am actually trying to solve (CAMELOT) the board can be of (25x40) and I have to calculate for all the ...
I get the idea, but I am still thinking how to adapt my algorithm to use previous information that I have calculated. I really don't know how.
ayon:
You are right, but in the problem that I am actually trying to solve (CAMELOT) the board can be of (25x40) and I have to calculate for all the ...
- Tue Jul 18, 2006 2:24 am
- Forum: Algorithms
- Topic: Graph problem
- Replies: 12
- Views: 5483
- Mon Jul 17, 2006 5:32 am
- Forum: Algorithms
- Topic: Graph problem
- Replies: 12
- Views: 5483
- Mon Jul 17, 2006 12:43 am
- Forum: Algorithms
- Topic: Graph problem
- Replies: 12
- Views: 5483
Graph problem
I don't know if it is exactly a graph problem, maybe it could be solved in another way...
the problem is, if you have a chess board with a Knight, I need to know (in the fastest way) the short distance to get to another position of the board with this Knight...
(The knight can only makes 8 moves ...
the problem is, if you have a chess board with a Knight, I need to know (in the fastest way) the short distance to get to another position of the board with this Knight...
(The knight can only makes 8 moves ...