Assumptions on the equator and only an airport, and there are a number of aircraft, the amount of oil each plane ensures fly half the distance from the equator, now requires a plane took off from the airport, after a circle around the equator, return to the airport, in the process of the aircraft flight, not halfway down, returns and other aircraft can be returned, also can give refueling in the air, but can't come down, and must be returned to the airport, flight and refueling strategy,
Could you tell me how to implement in C?