Search found 2 matches

by ontoral
Sat Jan 04, 2003 8:18 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116563

Thanks, I couldn't see the forest for the trees.
by ontoral
Wed Jan 01, 2003 4:27 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116563

102 Help

Seems straightforward enough, but I got WA.

[cpp]
#include <iostream>
#include <climits>

using namespace std;

int bin1g, bin1b, bin1c, bin2g, bin2b, bin2c, bin3g, bin3b, bin3c;
int one = 0;

void PackBottles()
{
int bcg, bgc, cbg, cgb, gbc, gcb;
int minSwap = INT_MAX;

bcg = bin2b + bin3b ...

Go to advanced search