Search found 1 match

by jjacm
Wed Nov 22, 2006 5:31 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117408

102 Time Limit Exceeded

#include <iostream>
#include <sstream>
#include <string>
int main( )
{
std::string bins[6]={"BCG","BGC","CBG","CGB","GBC","GCB"};
int index_bins=0; // remember which way has min moves
unsigned long moves[6]; // remember steps of each ways to move
unsigned long in[9]; // stores intput each ...

Go to advanced search