04 2020 档案

摘要:def move(n, A, B, C): if n == 1: print(A, '-->', C) else: move(n - 1, A, C, B) move(1, A, B, C) move(n - 1, B, A, C) move(4, 'A', 'B', 'C') 阅读全文
posted @ 2020-04-15 10:22 燎沉香 阅读(128) 评论(0) 推荐(0)
摘要:import math import time scale=50 s,m,=1,2 total,s,n,t=0.0,1,1.0,1.0 print("执行开始".center(scale//2, "#")) start = time.perf_counter() for i in range(sca 阅读全文
posted @ 2020-04-01 09:07 燎沉香 阅读(128) 评论(0) 推荐(0)