in reply to Re^9: Odd Ball Challenge
in thread Odd Ball Challenge
For instance, it is pointless to weigh groups that have an unequal number of balls since it will not lead to any useful information. Is it ok to add that logic?
I guess I just don't know how to answer that. The two solutions I know that work require dividing the 12 balls into 3 groups of 4. I wouldn't want a program that didn't consider other sizes unless there was some mathematical way of knowing that no other group/sizes were possible. I however wouldn't think anything of a solution that didn't consider groups of unequal number of balls since they would never be expected to balance.
Sorry I can't give an exhaustive list of things that are ok and not ok. I am not interested in a translation of a known solution to code though.
Cheers - L~R
|
---|
Replies are listed 'Best First'. | |
---|---|
Re^11: Odd Ball Challenge
by hv (Prior) on Jun 24, 2005 at 17:00 UTC | |
by Anonymous Monk on Jun 24, 2005 at 23:57 UTC | |
by QM (Parson) on Jul 14, 2005 at 14:03 UTC |