Thread: New Contest #2 C/c++ Welcome

  1. #1
    Banned
    Join Date
    Jun 2005
    Posts
    594

    New Contest #2 C/c++ Welcome

    Here is a link to the new contest, this should take more then 10
    minutes, yet i will admit its slightly more difficult then the last
    contest.

    this contest has the following rules


    1. follow standard coding
    2. you cannot use an array of any type to hold your numbers
    3. if mutiple entires are exceptable code, they will be judge
    by length, and how well design the code appears.

    you can choose to whatever way you like to stop getting
    the input, simply state what it is when you ask for input.

    good luck to those who participate, this should be good.

    DUE DATE : Sept. 2 , 2005 12 noon EST
    Last edited by ILoveVectors; 08-31-2005 at 04:32 PM.

  2. #2
    Registered User
    Join Date
    Mar 2003
    Posts
    134
    I have turned in my entry for this contest ... was a good one

  3. #3
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    out of curiosity, what hardware are you running the submissions on?

  4. #4
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    submitted (If I can be in this contest )

    this one was easier than the last IMO...
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  5. #5
    Banned
    Join Date
    Jun 2005
    Posts
    594
    lol, you can, and valis, my specs are in my sig.

  6. #6
    Information Crocodile
    Join Date
    Dec 2004
    Posts
    204
    So we are not allowed to use an array even to store results? Are we allowed to use referential structures though, like a lists (Just for the correct output format)?

    Or is this format allowed?

    1 10
    1 10 20
    100 200
    100 200 125
    201 210
    201 210 89
    900 1000
    900 1000 174
    Last edited by loko; 09-01-2005 at 12:36 AM.

  7. #7
    Registered User major_small's Avatar
    Join Date
    May 2003
    Posts
    2,787
    heh... I assumed (from the last contest) that that was acceptable input/ouput

    if I'm wrong, I'll re-write it (not that big of a deal).
    Join is in our Unofficial Cprog IRC channel
    Server: irc.phoenixradio.org
    Channel: #Tech


    Team Cprog Folding@Home: Team #43476
    Download it Here
    Detailed Stats Here
    More Detailed Stats
    52 Members so far, are YOU a member?
    Current team score: 1223226 (ranked 374 of 45152)

    The CBoard team is doing better than 99.16% of the other teams
    Top 5 Members: Xterria(518175), pianorain(118517), Bennet(64957), JaWiB(55610), alphaoide(44374)

    Last Updated on: Wed, 30 Aug, 2006 @ 2:30 PM EDT

  8. #8
    Information Crocodile
    Join Date
    Dec 2004
    Posts
    204
    Ok, submitted mine

  9. #9
    Banned
    Join Date
    Jun 2005
    Posts
    594
    how you handle the output its totally up to you.

    as long as i can see the results, it will have no affect on grading.

  10. #10
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    I hope you wanted it submitted via a personal mesage. Mine's in
    If you understand what you're doing, you're not learning anything.

  11. #11
    Banned
    Join Date
    Jun 2005
    Posts
    594
    yea a pm is perfectly fine.

  12. #12
    Dump Truck Internet valis's Avatar
    Join Date
    Jul 2005
    Posts
    357
    just sent my submission in a pm

  13. #13
    Registered User
    Join Date
    Aug 2005
    Posts
    91
    Argh, I've missed it! -_-
    It's Link, not linkofazeroth. The latter's just my username. The former's my online identity. Thank you.

  14. #14
    Banned
    Join Date
    Jun 2005
    Posts
    594
    the contest not over till i post...
    btw it over now, i just got hom from work,
    ill post winner shortly.

    thne i will be posting another contest.

  15. #15
    Banned
    Join Date
    Jun 2005
    Posts
    594
    as usualy all very good entries.

    it came down to a 3 way tie, between

    major_smalls
    itsme86
    noob2c

    all these entries preformed
    as expected, no warnings and no bug that i could
    find in short test.

    loko and valis made very good entries as well,
    matter of fact i will be posting valis code because
    it was a great submission, and went above and beyond
    requirements, but there was small bug.

    the 3 i mentioned earlier because all preformed accordingly
    came down to code length, with no comments
    or white space counted, itsme86
    is the winner, you can check out itsme86
    and valis code below. Thanks for participating everyone,
    and i hope to see you at the next contest.

    and as always major your code impresses me and
    you are damn good with putting those comments
    all the time.

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Expression Evaluator Contest
    By Stack Overflow in forum Contests Board
    Replies: 20
    Last Post: 03-29-2005, 10:34 AM
  2. Obfuscated Code Contest
    By Stack Overflow in forum Contests Board
    Replies: 51
    Last Post: 01-21-2005, 04:17 PM
  3. WANTED: Contest Master
    By kermi3 in forum A Brief History of Cprogramming.com
    Replies: 15
    Last Post: 01-23-2003, 10:15 PM