Thread: Another Begginner Contest (ALL Welcome for this One)

  1. #1
    Banned
    Join Date
    Jun 2005
    Posts
    594

    Another Begginner Contest (ALL Welcome for this One)

    time for another contest, everyone can compete in this one,
    there are only a few rules, everything else is left to your
    interupretation.

    1. C++ (strings instead of char's etc. etc.)
    2. Use standard code and good indention.

    Thats it, not to hard.

    CONTEST #1

    i want you to create a program that allows, only people
    with a right password to access data that already stored
    in the program.

    you should have 3 strings, that already have data declared
    within them, such as

    Code:
    string string1 = "important information1";
    string string2 = "important information2";
    string string3 = "important information3";
    now this data will not be in a readable format,
    so that noone, looking at source or any other format
    should know what is contained in the strings.


    Code:
    string string1 = "asdgfafgafhae5ry4yaert";
    string string2 = "d098g690a9d0f8g89aks";
    string string3 = "asd08ga7890s08a894km";

    which would be some kind of complex encryption,
    now you must recieve a password from the user to
    unlock this data, and the password should not
    be retrieveable simply by looking at the source,
    there should be a password for each individual string
    and based on the password entered one of the strings
    should be displayed in a meaningful form.


    CONTEST #2
    for those not so confident the following is a contest for you
    the same rules as above apply.

    parse a c++ source file, and turn it into a color coded
    html file, with the following
    these words should be colored blue :

    for, while, if, else, int, char, string, #include, return

    the following should be colored red :

    any words withing "" (quotes) ie being a string

    that it that the only ones you need to color.

    an example of the output of this program is as follows

    Code:
    #include <iostream>
    
    using namespace std;
    
    int main()
    {
         for(int i = 0; i != 256; i++)
         {
              cout << char(i) << endl;
         }
         cout << "Done!" << endl;
         cin.get();
         return 0;
    }


    CONTEST #3

    last but not least, write a program capable
    of decrypting the following

    Code:
    1KOPOBYLe\`R
     !"#1JMMK=SE]SVG
    knowing that the key is

    Code:
    cboardprogramming
    and that the original word is

    Code:
    Introduction
    this one is by far the hardest contest and i doubt many of you
    will attempt that but id love to see entries from
    salem, qazah, and prelude.
    Last edited by ILoveVectors; 08-09-2005 at 09:43 AM.

  2. #2
    Registered User kryptkat's Avatar
    Join Date
    Dec 2002
    Posts
    638
    CONTEST #3

    last but not least, write a program capable
    of decrypting the following


    Code:
    1KOPOBYLe\`R
     !"#1JMMK=SE]SVG

    knowing that the key is


    Code:
    cboardprogramming

    and that the original word is


    Code:
    Introduction
    need hex dump of orignal enc.

  3. #3
    Banned
    Join Date
    Jun 2005
    Posts
    594
    i gave you the original word, the output and the key used,
    that all your going to get, good luck though

  4. #4
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218

    Thumbs down

    How are we supposed to know if it's correct without a hex dump? We can't tell what half of the encrypted text is.

    And why put a silly C++ limitation on the contests? You just lost a contestant because of it.
    If you understand what you're doing, you're not learning anything.

  5. #5
    Banned
    Join Date
    Jun 2005
    Posts
    594
    yea there are some extra junk character in there,
    but where is the challange if your provided with
    a hex dump. besides this is one of 3 contest, if you cant
    do this one with the information provided, then dont
    do it.

    i dont think i lost a contestant, because you would had had to
    been one to lose you.

  6. #6
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Quote Originally Posted by ILoveVectors
    i dont think i lost a contestant, because you would had had to
    been one to lose you.
    num_contestants < num_contestants + 1
    If you understand what you're doing, you're not learning anything.

  7. #7
    Banned
    Join Date
    Jun 2005
    Posts
    594
    (num_conestant + noone == num_contestants) = true

  8. #8
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    How are we supposed to know if it's correct without a hex dump? We can't tell what half of the encrypted text is.
    I'm not 100% sure about this, but I think what he is saying is that without the hex dump it's near to impossible to figure out what the decryption algo is? Isn't it???

    After all your decryption algo could take on any number of forms?
    It could be xor encryption, RSA, random junk inserts...yada yada yada. How does knowing the key and the original word help? Hmmm? I could be wrong.

  9. #9
    Gawking at stupidity
    Join Date
    Jul 2004
    Location
    Oregon, USA
    Posts
    3,218
    Yeah, what treenef said. And remove the "ALL welcome for this one" from the title since it's not true :P
    If you understand what you're doing, you're not learning anything.

  10. #10
    Banned
    Join Date
    Jun 2005
    Posts
    594
    its for anyone, you just may not choose to do it,
    anyways the problem is for oyu to figure out how
    it was encrypted if i give you anything else it defeats
    the purpose of the contest.


    anyways give up on this it my contest, if you cant
    do it you cant do it.

    im sorry that you suck at c++, i did not choose which
    language you should learn, if you are not interrested
    move on. if only one person in the world new c++,
    this contest would still onyl be offered in c++.

    if there somethign you dont liek about this contest, that hurt
    your feeling so much, post your own contest and allow
    and disallow what you want, your nto the one that has
    to take the time out of your busy day to go over the entry's.
    Last edited by ILoveVectors; 08-09-2005 at 05:15 PM.

  11. #11
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    Have you marked any entries for this contest, if indeed there were many to mark. When is the deadline for this?

  12. #12
    Banned
    Join Date
    Jun 2005
    Posts
    594
    you got plenty of time, send me whatever you got

  13. #13
    Super Moderater.
    Join Date
    Jan 2005
    Posts
    374
    Yup mine is already in apparently - oh well, looks like it may be some time before the deadline you say.

  14. #14
    ima n00b, ok? orion-'s Avatar
    Join Date
    Aug 2005
    Location
    alberta, canada
    Posts
    55
    contest #1 sounds like something i can do... ill give it a shot. be back in a few days with the code.
    Last edited by orion-; 09-04-2005 at 12:03 AM.

  15. #15
    Registered User
    Join Date
    Sep 2001
    Posts
    4,912
    Be advised that ILoveVectors is now banned. I wouldn't expect too many posts from him.

    edit: And don't ask why he's banned - I don't think it's something we should be discussing publically just yet.

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