NOTICE: New contest (finally)

This is a discussion on NOTICE: New contest (finally) within the Contests Board forums, part of the Community Boards category; BTW, the contest web site has been updated to reflect the current one....

  1. #16
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    BTW, the contest web site has been updated to reflect the current one.

  2. #17
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Does the name of the file to be compressed need to be preserved through compression?

    I.E. if you compress "this.txt" and then decompress it, does it have to still be named "this.txt" or can the user specify the out file?
    Away.

  3. #18
    Registered User Casey's Avatar
    Join Date
    Jun 2003
    Posts
    47
    I'll join up too. If I do a command line program does it cost me points if I require that the file names are arguments to main? In other words, if the user doesn't supply the file names, do I have to prompt for interactive input or can I just quit with a usage message and an error code?

  4. #19
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    Is it ok if we prompt for the path from within the program and don't accept command line arguments? That is the method which I prefer if it is acceptable.

    Edit: Does Linux use a 1 byte unsigned char, or do I need to figure out a workaround?
    Last edited by confuted; 07-03-2003 at 05:06 PM.
    Away.

  5. #20
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    Originally posted by blackrat364
    Is it ok if we prompt for the path from within the program and don't accept command line arguments? That is the method which I prefer if it is acceptable.

    Edit: Does Linux use a 1 byte unsigned char, or do I need to figure out a workaround?
    The interface is whatever you choose it to be. Just don't make it overly cryptic. You can ask for the filename inside the program, or as a command line argument, or whatever else makes sense.

    What do you mean for 1 byte unsigned char? In what? AFAIK, 1 byte is an unsigned char on any operating system.

    Does the name of the file to be compressed need to be preserved through compression?
    No. The filename can be disregarded. (If you prefer, you can preserve it.)

  6. #21
    Pursuing knowledge confuted's Avatar
    Join Date
    Jun 2002
    Posts
    1,916
    You answered my question. I just wanted to make sure that my code to read the file would work on Linux. I'll test my final code with GCC on Linux before I submit it... and then if it doesn't work, I'll probably submit it without changing anything and just be angry

    How is the speed aspect being done? A stopwatch, or something less crude, like profiling? There are problems associated with both - profiling gets screwed up while waiting for user input, a stopwatch is really crude.
    Away.

  7. #22
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    For efficiency, we'll be looking at the code and seeing how many inefficiencies we can spot, what code can be made faster.

  8. #23
    Its not rocket science vasanth's Avatar
    Join Date
    Jan 2002
    Posts
    1,683
    hmm.. thnx for the compliments


    Well for a change planin on using VC++.. any way not sure...
    And in case if i am not able to finish on time can i submit a text compression algorithm...

    Vasanth

  9. #24
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    hmm.. thnx for the compliments
    Sorry, but that's what I think of your programming style. It is usually messy. I'm not saying anything against you as a programmer.

    Well for a change planin on using VC++.. any way not sure...
    And in case if i am not able to finish on time can i submit a text compression algorithm...
    A text compression program will be evaluated like any other compression program. At least one of the files it's tested against will be a text file, but there will be at least one binary file, too.

    In short: yes, if you want to.

  10. #25
    Registered User
    Join Date
    Sep 2002
    Posts
    49
    I'll try, but it's probably gonna take me forever to learn how to code a compresser.
    DJGPP-Complier
    Windows 98-(Shouldn't need to explain)

    I like plants.

  11. #26
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    Just some links for those of you who are clueless:

    How compression works

    Huffman algorithm

    Arithmetic compression

  12. #27
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    Do you need more judges?
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  13. #28
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    If you want to judge, you can.

  14. #29
    S Sang-drax's Avatar
    Join Date
    May 2002
    Location
    Göteborg, Sweden
    Posts
    2,072
    I'd like to, but I'll be away from home from July 16th and I won't be home until the end of the month at best. So, it depends on how long you want the contestants to wait.
    I'd like to judge antoher time though, judging the Mid() contest was interesting.
    Last edited by Sang-drax : Tomorrow at 02:21 AM. Reason: Time travelling

  15. #30
    Just because ygfperson's Avatar
    Join Date
    Jan 2002
    Posts
    2,493
    It's alright, maybe another time.

Page 2 of 6 FirstFirst 123456 LastLast
Popular pages Recent additions subscribe to a feed

Similar Threads

  1. NOTICE: New contest (finally) bumped and closed
    By Griz803 in forum Contests Board
    Replies: 3
    Last Post: 06-14-2004, 03:34 PM
  2. NOTICE: New Compression Contest
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 07-01-2003, 08:22 PM
  3. Finally, a New Contest! November 13+
    By ygfperson in forum A Brief History of Cprogramming.com
    Replies: 0
    Last Post: 11-13-2002, 09:06 PM
  4. Finally, a New Contest! November 13+
    By ygfperson in forum C Programming
    Replies: 0
    Last Post: 11-13-2002, 09:06 PM

1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19 20 21