Coding Contest
Moderator: General Moderators
- R4000
- Forum Contributor
- Posts: 168
- Joined: Wed Mar 08, 2006 12:50 pm
- Location: Cambridge, United Kingdom
Heh, my version owns all of you!
written in the 'COW Programming Language'
Code: Select all
MoO moO MoO mOo MOO OOM MMM moO moO
MMM mOo mOo moO MMM mOo MMM moO moO
MOO MOo mOo MoO moO moo mOo mOo moo-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
i had to prove once that for every two rational number there lies an irrational number between them...also had to prove that for every postage after 5 cents it can be payed with a combination fo 2 cent and 3 cent stamps.i.e.-retarded. i've proved a lot of crap I'd rather not recall... : sighs : math likes me, a shame i hate it.
Well, when i was forced to do it, in order to pass the courses, i didn't like it much either..Charles256 wrote:math likes me, a shame i hate it.
These days i find it challenging to find proofs for your statements (actually, i remember i prooved the first statement in a course, and the second seems relatively easy if you know a bit about restclasses.
-
Charles256
- DevNet Resident
- Posts: 1375
- Joined: Fri Sep 16, 2005 9:06 pm
Well it would go like:
(1) Proof that we can compose 5 as combination of 2 and 3, namely 2 * 1 + 3 *1 = 5.
(2) We assume that for a given n >= 5 that n can be composed as a combination of 2 and 3 let's say, 2 * x + 3 * y
We need to prove that n + 1 can be composed as a combination of 2 and 3 too.
From n = 2 * x + 3 * y and 1 = 2 * 2 + 3 * -1 we can write n + 1 = 2 * x + 3 * y + 2 * 2 + 3 * -1 <-> n + 1 = 2 (x + 2) + 3 (y - 1).
Case closed
(1) Proof that we can compose 5 as combination of 2 and 3, namely 2 * 1 + 3 *1 = 5.
(2) We assume that for a given n >= 5 that n can be composed as a combination of 2 and 3 let's say, 2 * x + 3 * y
We need to prove that n + 1 can be composed as a combination of 2 and 3 too.
From n = 2 * x + 3 * y and 1 = 2 * 2 + 3 * -1 we can write n + 1 = 2 * x + 3 * y + 2 * 2 + 3 * -1 <-> n + 1 = 2 (x + 2) + 3 (y - 1).
Case closed
-
alex.barylski
- DevNet Evangelist
- Posts: 6267
- Joined: Tue Dec 21, 2004 5:00 pm
- Location: Winnipeg
ROFLMFAO...R4000 wrote:Heh, my version owns all of you!written in the 'COW Programming Language'Code: Select all
MoO moO MoO mOo MOO OOM MMM moO moO MMM mOo mOo moO MMM mOo MMM moO moO MOO MOo mOo MoO moO moo mOo mOo moo
That is the most retarded thing I think I have ever read in my entire life...
Stupid people humor me....thats fantastic...
Thats like ths email I got from a friend...with an easter context...
Two chocolate easter bunnies are facing each other...
One with it's bum eaten says (in a caption bubble) Ouch my Arse hurts...
The other, with it's ears eaten, says (in a caption bubble) What???
I seen that and just about s**t myself from laughing so hard...ok maybe I didn't do that, but still it was sooooo lame it was funny