Search found 1 match

by kmegamind
Fri Oct 19, 2012 6:57 am
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117471

Problem 102 WA !

my code is as follwing:

#include <iostream>

#include <fstream>
#include <algorithm>
using namespace std;

#define BGC 1
#define BCG 0
#define GBC 5
#define GCB 4
#define CGB 3
#define CBG 2

int main() {
int B1 ,G1, C1 ,B2 ,G2, C2 ,B3 ,G3, C3 ;
int *min ;
int array[6] ={0};
int index ;
while ...

Go to advanced search