
Search found 2 matches
- Tue Aug 30, 2005 2:59 pm
- Forum: Volume 108 (10800-10899)
- Topic: 10898 - Combo Deal
- Replies: 9
- Views: 8447
- Mon Aug 29, 2005 8:05 am
- Forum: Volume 108 (10800-10899)
- Topic: 10898 - Combo Deal
- Replies: 9
- Views: 8447
10898 - Combo Deal
im getting TLE
my algo is as follows:
#assume in each case there are 6 items in combos. if a combo has less than 6 items then the remainings are 0. for example a combo with 3 items:
2 1 2 455
will be treated as
2 1 2 0 0 0 455
#treat each individual item as combo item. if item 1 costs 100 cents ...
my algo is as follows:
#assume in each case there are 6 items in combos. if a combo has less than 6 items then the remainings are 0. for example a combo with 3 items:
2 1 2 455
will be treated as
2 1 2 0 0 0 455
#treat each individual item as combo item. if item 1 costs 100 cents ...