Jump to content


Check out our Community Blogs

Register and join over 40,000 other developers!


Recent Status Updates

View All Updates

Photo
- - - - -

Coder Battle #3: ASCII Encryption -- RESULTS!!!!

encryption ascii

  • Please log in to reply
24 replies to this topic

#1 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 28 May 2009 - 09:57 AM

We have a winner!

We created a four stage judging process to review submissions:
1) The program must solve the problem posed. If it doesn't, it's out.

2) The program should be able to correctly decode other strings of text with different keys. I'm sure several of us can write encoding programs that will be useful for further testing.

3) We should each review each program for algorithm strengths and weaknesses. For example, analyzing common key words in English may be useful, but not if we toss it Lorem Itsem.

4) Code structure. This deals with things like readability of the code, adherence to good programming practices, logical structure of functions, etc.

Given that, we treated 1) as step one, 2) as step two, and 3)&4) as step three.

The submissions were from:
amrosama
ArekBulski
Bercikos
brownhead
cellSplitter
Johnny
meetanshu
mewins
michaelvd12
omar_a_k
PythonPower
Siten0308

We had one submission that was not submitted correctly, and 5 more that didn't compile or didn't solve the problem.

For step 2), I created a new file to run through the remaining programs. Most of them could handle it as well. That got us down to the following for code analysis:
ArekBulski
Bercikos
Brownhead
meetanshu
PythonPower

After analyzing the code, it was universally agreed that Arek's code was the best. Congratulations!

We also decided to determine a second and third place winner. After several discussions and some flat-out disagreement, we voted.
PythonPower got second place.
Brownhead got third place.
Both were very, very good, and it was almost a tie for second place. Well done everyone!

Attached Files


Edited by Jordan, 28 May 2009 - 10:34 AM.
Added Submissions

  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#2 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 28 May 2009 - 10:16 AM

Hurray! Congratulations Arek, Python and Brownhead! I know it took a long time for the results to come and I thank you all for being patient.

Arek, as the winner and because there were more than 10 submissions, you've won the Lacie Iamakey thumb-drive. I'll be send you a PM requesting your mailing address soon.

Brownhead/PythonPower: As soon as you post in this thread I'll +rep you. :)
  • 0

#3 PythonPower

PythonPower

    CC Addict

  • Just Joined
  • PipPipPipPipPip
  • 179 posts

Posted 28 May 2009 - 11:49 AM

Congrats ArekBulski. There looks like plenty of nice solutions so well done all. :)
  • 3

#4 ArekBulski

ArekBulski

    CC Devotee

  • Senior Member
  • PipPipPipPipPipPip
  • 480 posts

Posted 28 May 2009 - 12:53 PM

Thank you everyone! I am so proud of myself right now! :)
  • 2

#5 brownhead

brownhead

    CC Addict

  • Advanced Member
  • PipPipPipPipPip
  • 167 posts

Posted 28 May 2009 - 03:39 PM

Congrats Arek :), you definitely earned it. And Python, I'm still in love with your code.

Btw, this was really fun and was a good way to brush up on some programming skills with different languages (I hadn't used C for a **** long time before this). Is the site going to host another Coder Battle soon?

Edited by brownhead, 28 May 2009 - 04:03 PM.

  • 3

#6 WingedPanther73

WingedPanther73

    A spammer's worst nightmare

  • Moderator
  • 17757 posts
  • Location:Upstate, South Carolina
  • Programming Language:C, C++, PL/SQL, Delphi/Object Pascal, Pascal, Transact-SQL, Others
  • Learning:Java, C#, PHP, JavaScript, Lisp, Fortran, Haskell, Others

Posted 28 May 2009 - 04:09 PM

There was discussion of selecting a few forum members as judges so some of the admins could participate in the next one.
  • 0

Programming is a branch of mathematics.
My CodeCall Blog | My Personal Blog

My MineCraft server site: http://banishedwings.enjin.com/


#7 Bercikos

Bercikos

    CC Lurker

  • Just Joined
  • Pip
  • 6 posts

Posted 29 May 2009 - 01:13 AM

Congratulation Arek. Your code is really the best of all solution, so you deserve to win.

I had got, a lot of fun, when I solved this problem. So I hope, that you are going to host next coder battle, soon.
  • 1

#8 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 29 May 2009 - 04:29 AM

Before we can start the next one, we need to create a judging panel and figure out an effective method for us to communicate. Anyone want to be a judge?
  • 0

#9 MathX

MathX

    CC Leader

  • Expert Member
  • PipPipPipPipPipPipPip
  • 1038 posts
  • Programming Language:Java

Posted 29 May 2009 - 04:36 AM

ME!

Congrats Arek. U really deserved it!

I loved Amr's code. This boy ROCKS indeed!
  • 0

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!


#10 Guest_Jordan_*

Guest_Jordan_*
  • Guest

Posted 29 May 2009 - 04:51 AM

Great, welcome aboard the Judge panel. :)
  • 0

#11 amrosama

amrosama

    CC Mentor

  • VIP Member
  • PipPipPipPipPipPipPipPip
  • 2765 posts

Posted 29 May 2009 - 06:05 AM

Gratz Arek welldone
@mathx: it didnt decode :D
  • 0
yo homie i heard you like one-line codes so i put a one line code that evals a decrypted one line code that prints "i love one line codes"
eval(base64_decode("cHJpbnQgJ2kgbG92ZSBvbmUtbGluZSBjb2Rlcyc7"));
www.amrosama.com | the unholy methods of javascript

#12 Termana

Termana

    CC Devotee

  • Just Joined
  • PipPipPipPipPipPip
  • 971 posts

Posted 29 May 2009 - 06:37 AM

Congratulations Arek :)
  • 0

Interested in participating in community events?
Want to harness your programming skill and turn it into absolute prowess?
Come join our programming events!






Also tagged with one or more of these keywords: encryption, ascii

Recommended from our users: Dynamic Network Monitoring from WhatsUp Gold from IPSwitch. Free Download