Search found 1 match

by nch_prakash
Wed Apr 27, 2005 3:45 pm
Forum: Volume 1 (100-199)
Topic: 102 - Ecological Bin Packing
Replies: 485
Views: 117064

102::WA!?!?!

I don't understand the problem with this code.. Can someone help please...


#include <stdio.h>

int main(void)
{
int b[3];
int g[3];
int c[3];

int m, l = 321222, i = 0;

char s[][4] = {"BCG", "BGC", "CBG", "CGB", "GBC", "GCB"};

while(1)
{
scanf("%d %d %d %d %d %d %d %d %d", &b[0], &g[0 ...

Go to advanced search