C Board  

Go Back   C Board > Community Boards > Contests Board

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 12-03-2005, 03:07 PM   #1
the Great
 
ElastoManiac's Avatar
 
Join Date: Nov 2005
Location: Republika Srpska - Balkan
Posts: 377
killing pigs

You have 5 days.
You have 20 pigs.

You must kill some pigs every day. All pigs should be slaughtered at the fifth day.
The Number of pigs killed per day must be odd.

Write it like this:
7,1,5,3,1
__________________
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
ElastoManiac is offline  
Old 12-03-2005, 03:14 PM   #2
Anti-Poster
 
Join Date: Feb 2002
Posts: 1,212
I'm sorry; I missed the part where there was a question or, since this is the contest board, a challenge.
__________________
Rule #1: Every rule has exceptions

Traveller's Dilemma Contest Site - Results posted!
pianorain is offline  
Old 12-03-2005, 03:26 PM   #3
the Great
 
ElastoManiac's Avatar
 
Join Date: Nov 2005
Location: Republika Srpska - Balkan
Posts: 377
Write the day and how many pigs you killed. Write all the kills in five days.
Your goal is to kill all the pigs. But only killing odd number of pigs.
__________________
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
ElastoManiac is offline  
Old 12-03-2005, 03:39 PM   #4
carry on
 
JaWiB's Avatar
 
Join Date: Feb 2003
Location: Seattle, WA
Posts: 1,971
I don't think this is even possible. If you add an odd number of odd numbers, isn't the result always an odd number? (eg, 1+1+1=3, 3+5+1 = 9, 3+7+9+1+1=21)

There's probably a way to prove it, but I've never been one for proofs...
__________________
"Think not but that I know these things; or think
I know them not: not therefore am I short
Of knowing what I ought."
-John Milton, Paradise Regained (1671)

"Work hard and it might happen."
-XSquared
JaWiB is offline  
Old 12-03-2005, 03:48 PM   #5
the Great
 
ElastoManiac's Avatar
 
Join Date: Nov 2005
Location: Republika Srpska - Balkan
Posts: 377
I don't know if it's possible, my friend told me this.
I'l have to beat him up if i prove this is immposible.
__________________
lu lu lu I've got some apples lu lu lu You've got some too lu lu lu Let's make some applesauce Take off our clothes and lu lu lu
ElastoManiac is offline  
Old 12-03-2005, 04:37 PM   #6
Anti-Poster
 
Join Date: Feb 2002
Posts: 1,212
Quote:
Originally Posted by JaWiB
I don't think this is even possible. If you add an odd number of odd numbers, isn't the result always an odd number? (eg, 1+1+1=3, 3+5+1 = 9, 3+7+9+1+1=21)

There's probably a way to prove it, but I've never been one for proofs...
Yes, you are correct. If you add an even number of odd numbers together, you always get an even number. Adding an odd number to that (or any other) even number yields an odd number.
__________________
Rule #1: Every rule has exceptions

Traveller's Dilemma Contest Site - Results posted!
pianorain is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Bush vs. Kerry jlou A Brief History of Cprogramming.com 178 11-29-2004 03:45 PM
Killing processes Metal Man C++ Programming 14 10-24-2003 08:58 AM
Killing someones grandparents nickname_changed A Brief History of Cprogramming.com 37 09-07-2003 07:56 AM
Killing a process. Brian Windows Programming 7 01-19-2003 02:36 PM
Why is this killing itself? Unregistered C++ Programming 6 05-30-2002 06:31 AM


All times are GMT -6. The time now is 05:19 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21 22