Thread: Almost Daily Contest #2

  1. #31
    Code Goddess Prelude's Avatar
    Join Date
    Sep 2001
    Posts
    9,897
    >printf("%s, %s", toString(x), toString(y));
    You may assume that this has undefined behavior.

    >when will the result be out.. cant wait....
    When my computer is fixed and returned to me with a reasonable repair cost. Forward all requests to hurry up to 555-5555, ask for Dave the repair man and tell him I sent you.

    Note: Most likely I'll get it back this afternoon and post the results sometime tomorrow. Sorry for the delay.
    My best code is written with the delete key.

  2. #32
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    One thing...

    If you find 6 e-mails saying they're my intermediate entries, only read the last one, please? I think I got to re-learn that ever-so-complicated cut-then-paste combination. I submitted 3 entries without a makeInteger function...


    anyway, I'll try for the advanced, but no guarantees there.

  3. #33
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Originally posted by Prelude
    >printf("%s, %s", toString(x), toString(y));
    You may assume that this has undefined behavior.

    >when will the result be out.. cant wait....
    When my computer is fixed and returned to me with a reasonable repair cost. Forward all requests to hurry up to 555-5555, ask for Dave the repair man and tell him I sent you.

    Note: Most likely I'll get it back this afternoon and post the results sometime tomorrow. Sorry for the delay.

    do we get bonus points if printf("%s, %s", toString(x), toString(y)); works.. And if the implementation is just toooo simple(obvious) will it loose points... Since i feel that if the obvious implementation is used the advanced level just needs changing of 2 lines of the intermediate level code....

  4. #34
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,490
    Originally posted by vasanth
    do we get bonus points if printf("%s, %s", toString(x), toString(y)); works.. And if the implementation is just toooo simple(obvious) will it loose points... Since i feel that if the obvious implementation is used the advanced level just needs changing of 2 lines of the intermediate level code....
    That's some program you have there...only two lines of code difference?

  5. #35
    carry on JaWiB's Avatar
    Join Date
    Feb 2003
    Location
    Seattle, WA
    Posts
    1,972
    Hello. Back from vacation and ready to get coding Anyways guess I'll wait for the next contest since I'm not sure if any entries are being accepted and I don't think I could figure this one out...

    The last I checked, almost nobody was learning C++ before the C subset.
    I started learning C and then quit after a little while, when I decided I was actually ready for programming I went to C++ and all I remember from C is printf()...
    "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

  6. #36
    Registered User
    Join Date
    Jan 2003
    Posts
    648
    I believe vasnath. I had a great idea which would've been *real* fast. Too bad I had no time to make it. Oh well, next contest...

  7. #37
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Originally posted by Speedy5
    I believe vasnath. I had a great idea which would've been *real* fast. Too bad I had no time to make it. Oh well, next contest...
    i am not sure wheather mine is fast.. I thought of something fast but that seems to be too big for such a prooblem.. And not worth implementing it....... The solution i have given now.. i am not sure wheather it would be correct because when i look at it the implementation looks so funny... (though it gives correct output)..

  8. #38
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    Originally posted by ygfperson
    That's some program you have there...only two lines of code difference?
    2.. hmmm i guess it is actually 4 or 5 lines..

Popular pages Recent additions subscribe to a feed

Similar Threads

  1. Almost Daily Contest Details
    By dagdarian in forum Contests Board
    Replies: 4
    Last Post: 01-25-2005, 05:03 AM
  2. Almost Daily Contest Details
    By Prelude in forum Contests Board
    Replies: 29
    Last Post: 09-19-2004, 10:32 PM
  3. Almost Daily Contest #4
    By Prelude in forum Contests Board
    Replies: 35
    Last Post: 08-25-2003, 08:54 AM
  4. Almost Daily Contest #3
    By Prelude in forum Contests Board
    Replies: 29
    Last Post: 08-16-2003, 08:48 PM
  5. Almost Daily Contest #1
    By Prelude in forum Contests Board
    Replies: 32
    Last Post: 08-05-2003, 08:34 AM