Whoa!!
Both of you put in a lot of effort!
I submitted the solution before I got to read your post Minilek, but I manged to get it AC-ed.
Thank you 'Almost Human', for the sample input and output. I looked through it and figured something was wrong with the combination 'bgc'.
I changed this line ...
Search found 2 matches
- Tue Aug 10, 2004 6:23 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116808
- Sun Aug 08, 2004 7:16 pm
- Forum: Volume 1 (100-199)
- Topic: 102 - Ecological Bin Packing
- Replies: 485
- Views: 116808
Wrong Answer for 102
hey ppl,
I'd appreciate it if someone could help me out with this code. It works for the sample input.
#include <iostream>
#include <string>
using namespace std;
long findMin(long value[])
{
long min, index;
min = value[0];
index = 0;
for (int i=0; i<6; i++)
{
if (value[i] < min)
{
min ...
I'd appreciate it if someone could help me out with this code. It works for the sample input.
#include <iostream>
#include <string>
using namespace std;
long findMin(long value[])
{
long min, index;
min = value[0];
index = 0;
for (int i=0; i<6; i++)
{
if (value[i] < min)
{
min ...