Thread: May monthly contest

  1. #16
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    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

  2. #17
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    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.

  3. #18
    Registered User
    Join Date
    Dec 2004
    Posts
    73
    Sorry to sound stupid but I finished the Easy how do i submit it?

  4. #19
    Registered User
    Join Date
    Mar 2005
    Posts
    38
    Quote Originally Posted by ElWhapo
    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.

  5. #20
    Registered User
    Join Date
    Dec 2004
    Posts
    73
    Alrighty I sent in my Easy Hamburger algorithm.

  6. #21
    Registered User
    Join Date
    Aug 2004
    Location
    San Diego, CA
    Posts
    313
    ACK, just noticed this. Glancing through, I'll be doing code for Easy and Medium, PJY.

  7. #22
    Cheesy Poofs! PJYelton's Avatar
    Join Date
    Sep 2002
    Location
    Boulder
    Posts
    1,728
    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?

  8. #23
    Registered User
    Join Date
    Mar 2005
    Posts
    38
    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.

  9. #24
    VA National Guard The Brain's Avatar
    Join Date
    May 2004
    Location
    Manassas, VA USA
    Posts
    903
    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

  10. #25
    Registered User
    Join Date
    Jan 2002
    Posts
    552
    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"

  11. #26
    Registered User
    Join Date
    Mar 2005
    Posts
    38
    Just submitted all 4.

  12. #27
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Quote Originally Posted by PJYelton
    I'd be surprised if the version 2 hard can be solved with an equation.
    I can guarantee you that it can.
    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

  13. #28
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    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.

  14. #29
    -AppearingOnThis..........
    Join Date
    May 2005
    Location
    Netherlands
    Posts
    44
    Submitted mine for Easy, Medium and Hard version 1.

  15. #30
    Registered User
    Join Date
    Mar 2005
    Posts
    38
    Quote Originally Posted by Sang-drax
    I can guarantee you that it can.
    My submission uses the recursive formula. That recursive formula can be converted to a explicit formula, but it is cumbersome.
    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...

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. May Monthly Contest Results
    By PJYelton in forum Contests Board
    Replies: 28
    Last Post: 05-27-2005, 01:43 AM
  2. Results of March Monthly Contest
    By PJYelton in forum Contests Board
    Replies: 23
    Last Post: 04-17-2005, 09:46 AM
  3. New Monthly Contest!
    By PJYelton in forum Contests Board
    Replies: 50
    Last Post: 03-22-2005, 08:27 PM
  4. WANTED: Contest Master
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-23-2003, 10:15 PM