Search found 3 matches

by neo_darko
Sat Sep 02, 2006 1:17 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117361

Hey - thanks...

Changed everything to long long and the value of min as you said...Got accepted...

Thanks.. :D
by neo_darko
Fri Sep 01, 2006 7:41 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117361

Sorry for opening a new thread - but I thought that's how things go around here - I mean everyone should start his/her own thread...

Anyways - I've tried the test cases - they worked...

:)
by neo_darko
Fri Sep 01, 2006 6:43 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117361

102 Wrong Answer

Hi - I've tried the available Test Cases - the outputs seem to be correct. But still I got wrong answer...



# include <stdio.h>
# include <string.h>

long a[6];
long bin1[4];
long bin2[4];
long bin3[4];

char *ch[6] = { "BCG", "BGC", "CBG", "CGB", "GBC", "GCB" };

int main()
{
long min, index ...

Go to advanced search