摘要:
雖然三種方法得到的弦都能“覆蓋”整個圓,但弦長的分布不同,見上圖。 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 閱讀全文
摘要:
#include <stdio.h> #include <sunpinyin.h> class WinHandler : public CIMIWinHandler { void enableDeferedUpdate(CIMIView* view, int waitTime) {} void di 閱讀全文