Originally posted by Purple Dalek
- Visitors can check out the Forum FAQ by clicking this link. You have to register before you can post: click the REGISTER link above to proceed. To start viewing messages, select the forum that you want to visit from the selection below. View our Forum Privacy Policy.
- Want to receive the latest contracting news and advice straight to your inbox? Sign up to the ContractorUK newsletter here. Every sign up will also be entered into a draw to WIN £100 Amazon vouchers!
Lift Puzzle
Collapse
X
-
Canute!
You've come right out the other side of the forest of irony and ended up in the desert of wrong.
-
Yep see what you mean if lift goes to highest floor waiting then lift 2 would do floors 6 , 5 and 1 and lift 3 would do 4 , 3 and 2 total 210sOriginally posted by The Lone GunmanThe original question was what is the quickest possible. You are constraining your own answer.
If people at 3,2 and 1 wait before pushing call etc.......Comment
-
I'd go along similar lines to DaveB, except I think that one of the 15 floors is the ground floor and those people wouldn't need the lift.Comment
-
Comment
-
What about if lift 3 doesn't go all the ground on its first trip down, but drops off its load on floor 1? It would then only take 80 seconds to get down and only 50 seconds to get back up to floor 6. Total trip 80 + 50 + 60 = 190 (saving 20 seconds off the 210 it would have taken).Originally posted by The Lone GunmanI assumed a ground floor as well as the 15.
As Dave says. Start lifts at 15, 12 and 9.
Lift 1 picks up 15, 14 and 13 and takes 150 to reach ground (140 if no ground)
Lift 2 picks up 12, 11 and 10 and takes 150 to reach ground and get back to 3
Lift 3 picks up 9, 8 and 7 and takes 150 to reach ground and get back to 6.
Lift 3 picks up 6, 5 and 4 and takes a further 60 to reach ground again.
Lift 2 picks up 3, 2 and 1 and takes 30 to ground again.
Longest round trip is lift 3 which is 150 + 60 which gives 210.
It works out at 180 if you have no ground floor I think.
When lift 1 gets to ground after its first 150 minute trip, it can then go back up to floor 1 to pick up the guys that lift 3 dumped. This will take 20 seconds and makes total trip for lift 1 = 170 secs.
Longest trip is still lift 3, but its only 190 seconds rather than 210.Comment
-
Also you may have to consider the fact that a lift wont go to a floor that another lift has already stopped at , the lift wont know its full of people and cant take another person so will stop at every floor. ie. when lift 1 is at ground lift 2 and 3 are at floor 3 and 6 already , lift 1 is then free so might head to 1st floor because its nearer..
This was my first thought but I think Lone Gunman is right in that the problem is more theoretical in that if a lift is full then it wont stop at a floor and will just keep going down to ground which will be the button pressed. other lifts should then find the highest floor where people are waiting.
So 210s is 'best' answer.Comment
-
I am liking that idea will have to work on it.Originally posted by minstrelWhat about if lift 3 doesn't go all the ground on its first trip down, but drops off its load on floor 1? It would then only take 80 seconds to get down and only 50 seconds to get back up to floor 6. Total trip 80 + 50 + 60 = 190 (saving 20 seconds off the 210 it would have taken).
When lift 1 gets to ground after its first 150 minute trip, it can then go back up to floor 1 to pick up the guys that lift 3 dumped. This will take 20 seconds and makes total trip for lift 1 = 170 secs.
Longest trip is still lift 3, but its only 190 seconds rather than 210.I am not qualified to give the above advice!
The original point and click interface by
Smith and Wesson.
Step back, have a think and adjust my own own attitude from time to timeComment
- Home
- News & Features
- First Timers
- IR35 / S660 / BN66
- Employee Benefit Trusts
- Agency Workers Regulations
- MSC Legislation
- Limited Companies
- Dividends
- Umbrella Company
- VAT / Flat Rate VAT
- Job News & Guides
- Money News & Guides
- Guide to Contracts
- Successful Contracting
- Contracting Overseas
- Contractor Calculators
- MVL
- Contractor Expenses
Advertisers
Contractor Services
CUK News
- The Fair Work Agency has got zero hours in its sights. Do you? Today 08:44
- Cookie Policy Yesterday 11:50
- Cloned again: an umbrella company founder's warning on fraud, JSL and Companies House Yesterday 07:47
- How is JSL bedding in for contractor umbrella companies, 100 days in? Jul 14 07:45
- IT contractor demand cools in June 2026 amid UK heatwave Jul 13 08:18
- How could zero hours contract reform create unexpected problems for contractors? Jul 8 06:40
- Three Loan Charge conflicts of interest show Labour ministers knew the McCann Review was compromised from the start Jul 7 05:44
- What’s happening with HMRC off-payroll working enforcement? (IR35 update) Jul 6 08:20
- HMRC abandons PGMOL football referees case: Are contractors and IR35 hit? Jul 2 05:09
- Crypto tax and contractors: What HMRC’s new cryptoasset research really means Jul 1 04:03

Comment