Return Styles: Pseud0ch, Terminal, Valhalla, NES, Geocities, Blue Moon.

Pages: 1-

Python program help plz?

Name: Anonymous 2013-01-03 12:02

So I need to do a python program to solve a problem, wich is to get the least operations possible to fill up a container with a limited ammount of other containers (capacity doesnt matter ). Currently I can make it fill up any container if I have containers with smaller capacities (even if its REALLY buggy) but I can´t, for instance, fill a 4L container if i only have a 2L and 3L container (wich is possible). So I come here asking for tips or advices that you guys are willing to provide.

Name: 4ct !3lWjo8kf8k 2013-01-03 14:03

No expectations have ever been sane.

Name: 8iuo 2013-01-05 17:05

Name: Anonymous 2013-01-11 2:26

>>1 need more info / + i don't really like python, but the language != the algorithm, so you'll just have to code it ;)

Eg. if you need to fill a 4L container, can't you just use the 2L container twice? [Rules / etc?]

Name: JANGO 2013-01-22 7:02

Hi i want this person's email address to receive as much spam as possible cuz he screwed me out of 800 dollars and it really pissed me off. so his email address is hellsonthe1st@gmail.com, i would like for him to get spam bombed like crazy.

Don't change these.
Name: Email:
Entire Thread Thread List