Search found 1 match

by klv
Mon Jan 26, 2004 6:21 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 56392

#102 - Output limit Exceeded. May anyone help please~~

Here is my code: #include <iostream> using namespace std; int main() { int bin[9]; char color[6][4] = {"BCG","BGC","CBG","CGB","GBC","GCB"}; int max[6]; int index; int sum = 0; int sum_tmp; int min_tmp; while (1) { sum = 0; for (index = 0;index<9;index++) cin >> bin [index]; for (index = 0;index<9;i...

Go to advanced search