NOTE: this thread is signup for both contests. specify which one(s) you want to sign up for.
The *easy* contest
Contest theme: A bitwise calculator
Directions:Using your own wits and standard portable function calls, write a function that acts like a regular four-function calculator. The function will look like:It will accept an input string whick looks something like this: "+ 3" or "/ 5", etc...Code:void calc_func(char* input,int& total);
The program will do what the input string says on integer total. You will only be working with integers, signed and unsigned. Here's the catch: all arithmetic must be done using the 4 bitwise operators: xor, or, and, not.
Time limit: Around one week. Submit your entry to me at [email protected] by midnight between July 8 and July 9. The deadline's flexible within a few hours or to time zone differences.
Standard Criteria:
effciency -- make your program lean and mean
elegance -- make your source code neat and logically flowing. (Don't forget to indent.)
portability -- make it reasonably portable.
Specialized Criteria:
none.
Extras:
plus 3 points (the equivalent of +1 point in each category) if it works with floating point numbers. (you can change the function name to fit floats).
Signed up Contestants: 8 slots left
*ClownPimp*
Dual-Catfish
Signed up Judges: all slots filled
ygfperson
Prelude
ABCGum
Govtcheez
Contestant's Entries confirmed:
If you want to judge or be a contestant respond to this thread.
Hints:
- Search google.com for hints on how to add, subtract, multiply, and divide using bitwise operators.
- Remember: there are standard functions that can convert a number in a string into an integer. Make your life much easier by using them.
Note: all source code submitted will be posted in public view. It is assumed your program isn't copyrighted or anything like that.
The {HARD} contest
Contest theme: Fractal Maker (unless the poll changes sides suddenly).
Directions: Write a C or C++ function which draws a fractal image onto a raw image (a char array). The function name will be: "frac_draw(raw_image& x);". raw_image is a structure which contains only a 2D array of chars, 200x200. (The size is still under debate.) It should look something like this:
You can safely assume that memory for this struct is already allocated, but the values won't be initialized. Each char contains a value 0-255, where each one represents a grayscale value, 0 being darkest.Code:struct raw_image { unsigned char array[200][200]; };
Time limit: at least 10 days. If more time is needed, it will be extended to 3 weeks, or 21 days. The final deadline will be edited in later.
Criteria:
speed -- self-explanitory
efficiency -- make your program lean and mean
elegance -- make your source code neat and logically flowing
portability -- make it reasonably portable
Specialized Criteria:
beauty -- obviously this isn't an objective opinion. Maybe I'll do a poll after everythings done to get a consensus.
complexity -- the more complex, the better (without a significant slowdown in speed)
flexibility -- the ability to do different kinds of fractals
Signed up Contestants: 6 slots left
Prelude
QuestionC
*ClownPimp*
Dual-Catfish
Signed up Judges: 3 slots left
ygfperson
Contestants whose entries have been confirmed:
If you want to be a judge or a contestant sign up below (and remember to specify which contest you're entering or judging.)
Note: all source code submitted will be posted in public view. It is assumed your program isn't copyrighted or anything like that.
Hint: http://ejad.best.vwh.net/java/fractals/intro.shtml
Look here for some beginning hints. (uses Java, btw.)
Here's how the point system works:
1) the various judges decide each category on a 5 point scale, 5 being best, 1 being worst, and 0 if that feature doesn't exist.
2) they submit to me their opinions and scores. I also add my scores and opinions.
3) creativity will count twice, and extra points will be added for ASCII compatability.
4) for each judge, their scores will be averaged together to a general 5 point scale.
5) i then average the general scores of the judges for each entry together, for one general score for each entry.
6) i simply compare the points. The higher one wins.
7) i post all opinions, scores of each judge, code of participants, and some congradulations to the winner.
Any complaints may be filed with the Internet Forum Subjection Board under a revised provision of the Internet Law. Complaints will be meticuously verified and dealt with as time allows.
Fortunately for me, such a body does not exist.
And above all, make sure your program works...
There it is. Sign up before the slots are filled! (hehe... i know that's a fat chance)
People may sign up for either one, or both. Don't forget, we need judges too!