摘要:
虽然三种方法得到的弦都能“覆盖”整个圆,但弦长的分布不同,见上图。 from math import pi import numpy as np from PIL import Image as Img, ImageDraw as ID import matplotlib.pyplot as plt 阅读全文
摘要:
S = 5; B = 7 s = b = 0 st = set() for i in range(99): st.add(s); st.add(b) if len(st) == B+1: break if b == 0: b = B - (S - s) s = S print(f'先把大桶装满水再把 阅读全文
摘要:
「回顾旧帖,我记得整了个top-down和bottom-up二合一的,哪里去了?我自己也懒得找了。」 Fabrice Bellard is a French computer programmer known for writing FFmpeg, QEMU, and the Tiny C Comp 阅读全文