作者perturb (.......................)
看板Python
标题Re: [问题] 类似二元树问题
时间Sun Mar 7 12:54:18 2010
b1 = 1 # input for AA for the first run
b2 = b1 # input for BB for the first run
a1, a2=(0, 0) # so that a1 < 5 and a2 < 5
while a1 < 5 and a2 < 5:
a1, a2=AA(b1)
b1, b2=BB(a1, a2, b2)
这样子?
※ 引述《MicroPtt (Mission Start)》之铭言:
: 你好~这个问题困恼我很久了~是个类似二元树的问题
: AA_one < 5 结束
: AA_two < 5 结束
--
※ 发信站: 批踢踢实业坊(ptt.cc)
◆ From: 162.105.195.208
1F:→ MicroPtt:不是耶~~可能是我架构写不好~~导致无解= = 03/08 01:32
※ 编辑: perturb 来自: 162.105.195.208 (03/08 02:30)