¡@

Home 

c++ Programming Glossary: passenger

Throwing the fattest people off of an overloaded airplane.

http://stackoverflow.com/questions/7746648/throwing-the-fattest-people-off-of-an-overloaded-airplane

it is low on fuel. Unless the plane drops 3000 pounds of passenger weight it will not be able to reach the next airport. To save.. we would like an optimal algorithm to find the heaviest passengers without necessarily sorting the entire list. This is a proxy.. to code in C . I would like to do a partial_sort on the passenger manifest by weight but I don't know how many elements I'm going..