VectorLinux
December 21, 2014, 07:29:27 am
 News: Visit our home page for VL info. To search the old message board go to http://vectorlinux.com/forum1. The first VL forum is temporarily offline until we can find a host for it. Thanks for your patience. Now powered by KnowledgeDex.
 Pages: [1]
 Author Topic: sup guys the NPR Weekend Edition puzzle was really easy today  (Read 1250 times)
Triarius Fidelis
Vecteloper
Vectorian

Posts: 2399

Domine, exaudi vocem meam

 « on: June 29, 2008, 05:26:50 am »

"From a 19th century trade card advertising Bassetts Horehound Troches, a remedy for coughs and colds: A man buys 20 pencils for 20 cents and gets three kinds of pencils in return. Some of the pencils cost 4 cents each, some are two for a penny and the rest are four for a penny. How many pencils of each type does the man get?"

Hints: Gauss, unique integer solution

heh heh heh (pretty cool) eh heh heh (thank you very much) eh heh heh
 Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
wcs
Packager
Vectorian

Posts: 1144

 « Reply #1 on: August 15, 2008, 03:08:21 pm »

I've just reached a negative number for one of the pencil types.
Obviously somehting is very wrong... ...
I'll give it another try one of these days.
 Logged
Triarius Fidelis
Vecteloper
Vectorian

Posts: 2399

Domine, exaudi vocem meam

 « Reply #2 on: August 15, 2008, 04:50:39 pm »

The Weekend Edition problem is really the classic 'hundred fowls' problem in a different guise. Actually, scratch 'classic', it's 'exceedingly old'. This one's been around forever.

Here's how to solve it if you're really stuck.

http://www.daviddarling.info/encyclopedia/H/hundred_fowls_problem.html
 Logged

"Leatherface, you BITCH! Ho Chi Minh, hah hah hah!"

Formerly known as "Epic Fail Guy" and "Döden" in recent months
 Pages: [1]