From: Albert Hopkins <marduk@letterboxes.org>
To: gentoo-user@lists.gentoo.org
Subject: Re: [gentoo-user] program to solve assignment problem?
Date: Mon, 02 Nov 2009 18:26:23 -0500 [thread overview]
Message-ID: <1257204383.467251.0.camel@centar> (raw)
In-Reply-To: <4AEF45C2.20703@gmail.com>
On Mon, 2009-11-02 at 21:49 +0100, Erik wrote:
> Is there some simple little program to solve assignment problems?
> Suppose that someone bought k meat (160), m fish (30) and n milk (15)
> for 700. So it should solve the equation k * 160 + m * 30 + n * 15 =
> 700. (A solution happens to be k = 4, m = 2, n = 0. An additional
> condition could be that he bought at most 6 items; k + m + n <= 6.
> That
> would eliminate solutions like k = 4, m = 0, n = 4.)
>
You mean you want a program to do your homework assignment?
-a
next prev parent reply other threads:[~2009-11-02 23:26 UTC|newest]
Thread overview: 20+ messages / expand[flat|nested] mbox.gz Atom feed top
2009-11-02 20:49 [gentoo-user] program to solve assignment problem? Erik
2009-11-02 22:48 ` Marcus Wanner
2009-11-02 22:59 ` Michael Sullivan
2009-11-03 2:48 ` Marcus Wanner
2009-11-02 23:21 ` Neil Bothwick
2009-11-02 23:26 ` Albert Hopkins [this message]
2009-11-03 0:46 ` Willie Wong
2009-11-03 1:27 ` Dale
2009-11-03 2:02 ` Neil Bothwick
2009-11-03 5:18 ` Dale
2009-11-03 13:08 ` bn
2009-11-03 13:06 ` Etaoin Shrdlu
2009-11-03 13:13 ` Alan McKinnon
2009-11-03 14:24 ` Dale
2009-11-03 14:42 ` Erik
2009-11-03 15:41 ` Alan McKinnon
2009-11-03 16:03 ` Erik
2009-11-03 16:28 ` bn
2009-11-03 17:11 ` Stroller
2009-11-03 15:22 ` [gentoo-user] " James
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=1257204383.467251.0.camel@centar \
--to=marduk@letterboxes.org \
--cc=gentoo-user@lists.gentoo.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox