PDA

View Full Version : Coding Contest- opinions?



loobian
10-14-2001, 04:29 PM
Hi!

I am the webmaster of www.cpp-home.com

I am currently developing a script for contests, but I just can't decide how to make some things...
My idea so far is:
Put a new problem on every 2 weeks. Everyone can submit just one solution. Also, the submitted solutions are visible only for people who have submitted one- this way I protect from copying... After the 2 weeks, when a new problem comes, then the last one gets public, and everyone can see it, but not post anymore.
Also, everyone can comment every solution...

How does this sound to you guys? Give me suggestions? Should I make all solutions public from the very beginning???
Just- how would you guys like it... tell me and I will make it in a few days...?

Generator
10-15-2001, 11:09 AM
Shameless promotion of your site:p What you have sounds good.

loobian
10-15-2001, 11:36 AM
You guys want contests... I am doing a script, and want your opinions... and you call that "shameless promotion" ... please, watch you mouth!

Betazep
10-15-2001, 11:41 AM
I don't want a contest.... and without a mirror, mouth watching becomes very difficult.

Troll_King
10-15-2001, 11:52 AM
A contest is okay but is should involve C/C++ and no API's.

loobian
10-15-2001, 12:56 PM
The contest will have no APIs and such things... just mathematics, algorithms, and all that wirtten in C/C++ /as the one whishes.../.

But guys- give opinions on the questions I asked in my first post here...???? Should everything be public from the very beginning, or what???

Betazep- about the mouth watching- I god angry, because Generator says I am promoting my site... no I AM NOT!!! Or at least not here, in the board! I want opinions, so that we guys can have great contests after that...

Peace! :rolleyes:
and give suggestions pleae! ;)

Generator
10-15-2001, 01:10 PM
>>You guys want contests... I am doing a script, and want your opinions... and you call that "shameless promotion" ... please, watch you mouth!

Loobian lighten up. Contests are great, but there are a million other sites that have coding contests. Yours isn't going to be any more special than the other sites. The only cool webmaster on the net is the cprogramming.com guru.

loobian
10-15-2001, 01:16 PM
Generator,
1- The sites that has coding contest are not that much
2- My visitors want that, so do I, and I will do it!
3- If the sites were so many, why I see threads asking for such things?
4- Don't talk for anyone you don't know... it doesn't make good impression...

So, if anyone is willing to give suggestions, give them... if not, then don't flood this thread, please!

Troll_King
10-15-2001, 01:22 PM
Don't let anyone see anyone elses code until the contest is over. Than just post the top 5 codes. Don't use names except for the winner.

loobian
10-15-2001, 01:26 PM
But how do I determine the top 5 coders???

I can't determine them myself:
1) because I am too busy
2) I don't pretend to be so good

Troll_King
10-15-2001, 01:37 PM
Okay, this basically means that there is no contest. Oh well, I would have participated. I don't think I'm the best coder here or anything, but I would have at least competed. No, you definately have to know which code is the best so you would have to be an experienced programmer to hold such a contest.

SPOOK
10-15-2001, 01:38 PM
Maybe you should have an alternative contest.
See who can write the most complex program for a simple problem or the slowest program for a problem or something different like that (just for fun).

loobian
10-15-2001, 01:41 PM
Well, the idea /mine at least/ is not to have winners... the idea of this "contest" is to practice... actually, as a section, it will be named "Problems" but not "Contest"... so, you get the point... it's not exactly contest, but just given problems to practice... and everyone can compare his code to the others...
How does it sound? I aksed a lot of programmers /friends of mine/ and they all liked it, as they don't "compete" for the winning, but for the competition...for the game :-) and for the fun!!!

loobian
10-15-2001, 01:43 PM
Originally posted by SPOOK
Maybe you should have an alternative contest.
See who can write the most complex program for a simple problem or the slowest program for a problem or something different like that (just for fun).

I will always be the winner in this hehehe :D

loobian
10-15-2001, 01:46 PM
By the way, here is a problem that I found today...it's not exactly problem, but very nice thing... it is- write program /as simplier and faster as faster running as you can/ , that returns the first 2 digits of a long int.. for example you have 23423 the program must return 23 only...

here is my solution, which I do really belive is the best...:
#include <iostream.h>

void main()
{
long int number=56465412;

while(number-100>=0)
number/=10;

cout << "number: "<<number<<endl;
}

I will be happy to see your solutions, too... just don't copy mine :-)

Troll_King
10-15-2001, 02:04 PM
int main()
{
char array[20];
long int number = 56465412;
sprintf(array,"%ld", number);
for(int i=0;i<2;i++)
{
printf("%c",array[i]);
}
return 0;
}


Not sure how fast it is though. Just a possible solution.