the question
最早时间出发为第一架航班,
接下来第二架要求:到达日期与第一架航班的出发日期的时间间隔不小于45分钟,且序号最小
依次类推将所有航班排完
the data
the transmission of the data
import numpy as np import pandas as pd from pandas import Series, DataFrame
df1 = pd.read_clipboard()
df1
df1.shapedf1.Tdf1.head()df1s1 = df1['出发\n时刻']df2 = df1['出发\n日期'].map(str)+df1['出发\n时刻'].map(str)s2 = df1['出发\n日期']