Precomputed values are a good option for the hard problem. I found it a little boring though.
Precomputed values are a good option for the hard problem. I found it a little boring though.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
I'd be surprised if the version 2 hard can be solved with an equation so I think precomputed values would be pointless. But then again I was surprised when so many people rattled off the easy way to solve the first one
For those of you who don't know the equation to the first hard, you don't need it. The problem can be solved with an algorithm just fine, and in fact if you do you'll be one step ahead to solving version 2 since it only requires some simple changes.
Sorry to sound stupid but I finished the Easy how do i submit it?
By sending a PM to PYJelton. See http://cboard.cprogramming.com/showthread.php?t=62539 for details.Originally Posted by ElWhapo
Alrighty I sent in my Easy Hamburger algorithm.
ACK, just noticed this. Glancing through, I'll be doing code for Easy and Medium, PJY.
Ok everyone, one more week to go. Here is the list of received submissions.
Easy: Togra, Pete, Elwhappo
Medium: Togra, programminggeek, Shakti,
Hard version 1: Togra, joshdick, Sang-drax
Hard version 2: -None-
Anyone attempting to tackle the version 2 yet?
Yeah, but I find myself revising them over and over again. So to save you some copy-paste-work, you'll recieve all four of them just before the deadline.
Mine's in for Medium
- "Problem Solving C++, The Object of Programming" -Walter Savitch
- "Data Structures and Other Objects using C++" -Walter Savitch
- "Assembly Language for Intel-Based Computers" -Kip Irvine
- "Programming Windows, 5th edition" -Charles Petzold
- "Visual C++ MFC Programming by Example" -John E. Swanke
- "Network Programming Windows" -Jones/Ohlund
- "Sams Teach Yourself Game Programming in 24 Hours" -Michael Morrison
- "Mathmatics for 3D Game Programming & Computer Graphics" -Eric Lengyel
Woops, just saw this today, havent been paying attention
Entrys for Hard and Hard 2 submitted.
I feel stupid for not knowing the equation solution
C Code. C Code Run. Run Code Run... Please!
"Love is like a blackhole, you fall into it... then you get ripped apart"
Just submitted all 4.
I can guarantee you that it can.Originally Posted by PJYelton
My submission uses the recursive formula. That recursive formula can be converted to a explicit formula, but it is cumbersome.
Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling
hmm,
that's what i was wondering too, but since i was snowed under with work this month i didn't get the chance to try it out.
Submitted mine for Easy, Medium and Hard version 1.
Are you sure about that? I know about two-step recurrence, but the method I used is nothing like that. But maybe you got something entirely different...Originally Posted by Sang-drax