C Board  

Go Back   C Board > Community Boards > Contests Board

Closed Thread
 
LinkBack Thread Tools Display Modes
Old 08-08-2005, 11:38 PM   #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.
ILoveVectors is offline  
Old 08-09-2005, 08:47 AM   #2
Registered User
 
kryptkat's Avatar
 
Join Date: Dec 2002
Posts: 409
Quote:
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.
kryptkat is offline  
Old 08-09-2005, 08:59 AM   #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
ILoveVectors is offline  
Old 08-09-2005, 09:28 AM   #4
Gawking at stupidity
 
Join Date: Jul 2004
Posts: 2,289
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.

Ignore any "advice" esbo tries to give you. It's wrong.
itsme86 is offline  
Old 08-09-2005, 09:49 AM   #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.
ILoveVectors is offline  
Old 08-09-2005, 10:37 AM   #6
Gawking at stupidity
 
Join Date: Jul 2004
Posts: 2,289
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.

Ignore any "advice" esbo tries to give you. It's wrong.
itsme86 is offline  
Old 08-09-2005, 10:42 AM   #7
Banned
 
Join Date: Jun 2005
Posts: 594
(num_conestant + noone == num_contestants) = true
ILoveVectors is offline  
Old 08-09-2005, 11:11 AM   #8
SSDD
 
Join Date: Jan 2005
Posts: 369
Quote:
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.
treenef is offline  
Old 08-09-2005, 12:29 PM   #9
Gawking at stupidity
 
Join Date: Jul 2004
Posts: 2,289
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.

Ignore any "advice" esbo tries to give you. It's wrong.
itsme86 is offline  
Old 08-09-2005, 05:07 PM   #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.
ILoveVectors is offline  
Old 08-23-2005, 08:06 AM   #11
SSDD
 
Join Date: Jan 2005
Posts: 369
Have you marked any entries for this contest, if indeed there were many to mark. When is the deadline for this?
treenef is offline  
Old 08-23-2005, 09:10 AM   #12
Banned
 
Join Date: Jun 2005
Posts: 594
you got plenty of time, send me whatever you got
ILoveVectors is offline  
Old 08-23-2005, 10:05 AM   #13
SSDD
 
Join Date: Jan 2005
Posts: 369
Yup mine is already in apparently - oh well, looks like it may be some time before the deadline you say.
treenef is offline  
Old 09-03-2005, 11:46 PM   #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.
orion- is offline  
Old 09-04-2005, 07:24 AM   #15
Super Moderator
 
Join Date: Sep 2001
Posts: 4,680
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.
sean is offline  
Closed Thread

Thread Tools
Display Modes

Forum Jump

Similar Threads
Thread Thread Starter Forum Replies Last Post
Expression Evaluator Contest Stack Overflow Contests Board 20 03-29-2005 10:34 AM
Obfuscated Code Contest Stack Overflow Contests Board 51 01-21-2005 04:17 PM
WANTED: Contest Master kermi3 A Brief History of Cprogramming.com 15 01-23-2003 10:15 PM


All times are GMT -6. The time now is 08:44 AM.


Powered by vBulletin® Version 3.8.1
Copyright ©2000 - 2009, Jelsoft Enterprises Ltd.
Search Engine Optimization by vBSEO 3.3.0 RC2

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