And it shall be called the notfread algorithm

AFB

Lifer
Jan 10, 2004
10,718
3
0
See this thread.

It copies an array to another array and then randomly copies it back into the original array. Then, it checks if it is sorted. I not, it goes back to step one.



BTW, before someone asks, yes I was bored. :p

 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Why aren't you using 1.5? Huh? After all the talk about how cool it is :disgust:

Oh, and: :cookie: for you. (I didn't know we had them :p)
 

AFB

Lifer
Jan 10, 2004
10,718
3
0
Originally posted by: kamper
Why aren't you using 1.5? Huh? After all the talk about how cool it is :disgust:

Oh, and: :cookie: for you. (I didn't know we had them :p)

Bahh, ...... You don't need to change runtimes do you?
 

kamper

Diamond Member
Mar 18, 2003
5,513
0
0
Just comilers I think, although with java.exe and javac.exe in the same directory you may not be able to do them seperately (unless you use a different environment for compilation). But what's the big deal anyways? You just unzip and change your path.