转发前后差多少拍
运行下面这段程序,填写它打印出来的结果。
STAGES = 5
def one_by_one(n):
return n * STAGES
def pipelined(n):
return n + STAGES - 1
base = pipelined(4)
no_fwd = base + 2 * 2
with_fwd = base + 0
print(str(no_fwd) + "/" + str(with_fwd) + "/" + str(no_fwd - with_fwd))
全部评论