第一题 ans = float('inf') for i in range(1, len(eggs)): ans = min(eggs[i-1] - eggs[i]) print(ans)
1 1
牛客网
牛客网在线编程
牛客网题解
牛客企业服务