About the coding challenge...?

Sep. 19 2005 - Dec. 14 2007
Locked
User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
16
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

About the coding challenge...?

Post by Nerdz »

1. It would be nice if someone write a README in the coding challenge forum so people don't spoiled... and some sanction if this happen?

2. We are all good using google... how will it be determine if someone has really done the code?

3. How long will the challenge last so we can get prize?

Here is a quick one in c++...

Write a command to round a number...withou using the lib <cmath> with round(number)

Solution ->


//This function take a double and return the rounded int...
int round (double dblNumber)
{
dblNumber = dblNumber + 0.5;
return int(dblNumber);
}


So let's say we have 4.7, then it will be 5.2 and the when it transmute into a integer it goes 5. There you go.
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
kidznextblock
Newbie
Newbie
Posts: 1
Joined: 08 Jul 2006, 16:00
15

err...????

Post by kidznextblock »

01100110.01110101.01100011.01101011.00001101.00001010.

Necrix
The Hacker Wolf
The Hacker Wolf
Posts: 746
Joined: 09 Apr 2005, 16:00
16
Location: United States
Contact:

Post by Necrix »

What was the point of that, kid?
Image
Anime-Planet.com - anime | manga | reviews

User avatar
Nerdz
The Architect
The Architect
Posts: 1127
Joined: 15 Jun 2005, 16:00
16
Location: #db_error in: select usr.location from sucko_member where usr.id=63;
Contact:

Re: err...????

Post by Nerdz »

kidznextblock wrote:01100110.01110101.01100011.01101011.00001101.00001010.
01100110=102 f
01110101=117 u
01100011=99 c
01101011=107 k
00001101=13 CR
00001010=10 LF
Give a man a fish, you feed him for one day.
Learn a man to fish, you feed him for life.

User avatar
bad_brain
Site Owner
Site Owner
Posts: 11609
Joined: 06 Apr 2005, 16:00
16
Location: The zone.
Contact:

Post by bad_brain »

0x620x610x6E0x6E0x6E0x640x21
:lol:




well nerdz, the coding challenges will have to wait a little (we might have to redo them anyway), right now the wargames are in the focus... :wink:
but well, if you would like to do it...sure!

Locked