Search found 1 match

by EricM
Sun Dec 08, 2013 7:48 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 50703

102 Can anyone fix my bug, please~~

#include <cstdio> #include <cstring> #include <algorithm> #include <iostream> using namespace std; int minv=2147483647; int brown[3], green[3], clear[3]; int movev=0; char binseq[3]; void trybin(int bin1, int bin2, int bin3){ movev=0; if (bin1==0) { movev=movev+brown[1]+brown[2]; } else if (bin1==1)...

Go to advanced search