in reply to Re: Golf: Buying with exact change
in thread Golf: Buying with exact change
I basically want to rule out smart-ass solutions like this:
It works for largest(6,9,20), but one instance is a trivial subset of the problem space. Unreasonable.sub largest { 43 }
The set of instances whose solutions are less than 1000.. 10000.. is that a "reasonable" subset? The idea is to find a concise algorithm to solve this particular problem, and to solve all these instances correctly, (a) you must actually carry out some sort of computation, and (b) your algorithm must probably be correct. To me, that's reasonable enough.
blokhead
|
|---|
| Replies are listed 'Best First'. | |
|---|---|
|
Re^3: Golf: Buying with exact change
by fergal (Chaplain) on Feb 22, 2005 at 09:16 UTC | |
|
Re^3: Golf: Buying with exact change
by fergal (Chaplain) on Feb 22, 2005 at 07:15 UTC | |
by Anonymous Monk on Feb 22, 2005 at 09:12 UTC |