Search found 1 match

by leefecu
Thu Oct 02, 2003 2:52 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 116808

help me 102... i got WA


#include "stdio.h"
#include "math.h"
#include "string.h"

#define Brown 1
#define Clear 2
#define Green 3
long b[3],g[3],c[3];
unsigned long min=pow(2,31);
long move[6]={0,};
char *comb[6]={"BGC","BCG","GBC","GCB","CBG","CGB"};


int main(void){
int i,cnt=0,sc;
scanf("%ld %ld %ld %ld %ld %ld %ld ...

Go to advanced search