Search found 2 matches

by redglim
Wed Dec 17, 2003 5:03 am
Forum: Volume 1 (100-199)
Topic: 165 - Stamps
Replies: 10
Views: 3926

Thanks.
But unfortunately,
I cant find how to use DP for this problem.. (Im a beginner :cry: )
Could you explain me how to use it..?

my algorithm is like this:


input:
3 3
0 0

1) First, find all the possible set of stamps. (by recursive function)
1 2 3
1 2 4
1 2 5
1 2 6
1 2 7
1 3 4
...
...
1 ...
by redglim
Tue Dec 16, 2003 9:48 am
Forum: Volume 1 (100-199)
Topic: 165 - Stamps
Replies: 10
Views: 3926

165 - Stamps

I just calculate all the cases (BF..) and got AC,
but i think that is not a good idea :(
plz give me some hint of more efficient (more fast)
method to solve this problem.

Go to advanced search