第二题 while True: try: T = int(input()) for _ in range(T): A, B, C, D = map(int, input().split()) tmp_d = A / 3 * (D ** 3) + 0.5 * (D * D) + B * D tmp_c = A / 3 * (C ** 3) + 0.5 * (C * C) + B * C print(round(tmp_d - tmp_c, 6)) except: break 第三题: while True: try: n = int(input()) print(int(n ...