
-----------------------------------
octopi
Wed Apr 23, 2003 8:07 pm

Computer Contest
-----------------------------------
So. Yeah, well I am starting a computer contest...

But since I am a cheap bast*rd theres no prizes. (I will donate every bit I have to the winner though. (Theres going to be a few tasks, I will add them when I think of them.))

Also, turing won't work with the way I am going to mark them (automated)
(That is if someone acctually submits any.)

here are the requirements

Must using a programming language that supports STDOUT (c++, perl, etc..)
You only need to include the executable version only.


Task A:
Write a program to find the prime numbers less then N.
A number is prime if it's only factors are 1, and the number.
Your program should run as     "filename.exe N"   
 (anyone still following along?)

example:
filename.exe  18
2 3 5 7 11 13 17-Edited after darkness's comment

Your program must work for every test set. (1 point per test set)
Person with the most points at the end wins.

Tasks b...c...d.........
comming eventually.

-----------------------------------
Catalyst
Wed Apr 23, 2003 8:40 pm


-----------------------------------
what is stdout?

-----------------------------------
octopi
Wed Apr 23, 2003 9:35 pm


-----------------------------------
STandarD OUT

if you know c++
then it's
cout



This little code example will show you how to output, and input the number.
(You need to compile it, and open a cmd window, and run it as 
"filename.exe N" )
#include 

int main(int argc, char* argv[])
{
	cout 