Because sorting algorithms like bogosort can take years. One of 'em takes longer than the heat death of the universe.
Search:
Type: Posts; User: 323
Search: Search took 0.03 seconds.
- 21 Mar. 2013, 11:55pm
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
Because sorting algorithms like bogosort can take...
- 21 Mar. 2013, 06:29pm
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
Oh cool, thanks for the clarification. And 10...
Oh cool, thanks for the clarification. And 10 factorial = 3628800, so there's a 1/3,628,800 chance of getting all of the numbers correct. Now I just need to figure out how many tries it does a...
- 21 Mar. 2013, 04:45pm
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
Oh cool, thanks for the information, haha. ...
Oh cool, thanks for the information, haha.
Also, put it on my github, check it out here: http://github.com/323 - 19 Mar. 2013, 04:43pm
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
So, you start with an array numbers[] = {0, 1,...
So, you start with an array
numbers[] = {0, 1, 2, 3, 4, 5, 6, 7, 8, 9, 10};
Then, it puts it into a random order.
Then, it checks to see if it's in the right order.
If even one number is... - 19 Mar. 2013, 04:17pm
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
Or maybe the browser doesn't have a good...
Or maybe the browser doesn't have a good randomize function o: I've heard of that being a problem in some browsers.
Also, updated code with some bugfixes, fixed first number discovery. Moving on... - 19 Mar. 2013, 01:17pm
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
Ooh, that's a really good idea. I think I'll try...
Ooh, that's a really good idea. I think I'll try to add that, random memory leaks and stuff haha. Or maybe every time it's randomized, it's stored in ANOTHER array, causing a huge number of arrays to...
- 19 Mar. 2013, 02:19am
Thread: My retarded idea
by 323- Replies
- 26
- Views
- 1,206
My retarded idea
Don't even ask...
In theory, I'm trying to create the most inefficient sorting algorithm of all time.
Why? I'm bored and don't feel like doing my comp sci homework where we're supposed to use...
Results 1 to 7 of 7