![]() |
Quote:
Of course, I was trying to make mine inefficient, for some reason ... |
Quote:
|
Quote:
Again, let's discuss what we ought to be doing to solve this problem. This is a very difficult problem to solve (HRs idea, don't blame me). |
Quote:
|
Quote:
Is that a bit better? |
Not sure if I entirely understood the task, but I suppose this should work?
PHP Code:
|
Uhm, Dan, suppose to be discussion :o
|
Quote:
|
Quote:
|
Quote:
|
You are using very small lists :) Your algorithms are based on the fact that the list is small. If you took your basic ideas and applied them to more complex or impossible lists, they would run much longer then any of our lifetimes.
By impossible, suppose you were given a list of incompatible students that makes it impossible to come up with 100 students. Your work is cut out for you ;) |
Quote:
|
Quote:
|
Quote:
|
Would this work?
PHP Code:
Damn that's slow compared to others lol |
All times are GMT +2. The time now is 09:36 AM. |
Powered by vBulletin® Version 3.8.11
Copyright ©2000 - 2025, vBulletin Solutions Inc.
Copyright (C) 1998-2019 Toonslab All Rights Reserved.