取数之后马上用,还是得停
运行下面这段程序,填写它打印出来的结果。
STAGES = 5
def one_by_one(n):
return n * STAGES
def pipelined(n):
return n + STAGES - 1
base = pipelined(3)
load_use = base + 1
print(str(base) + "/" + str(load_use) + "/" + str(load_use - base))
运行下面这段程序,填写它打印出来的结果。
STAGES = 5
def one_by_one(n):
return n * STAGES
def pipelined(n):
return n + STAGES - 1
base = pipelined(3)
load_use = base + 1
print(str(base) + "/" + str(load_use) + "/" + str(load_use - base))
全部评论