问答题

简答题

完善程序:

利用集合刷选法选出2到200之间的素数。

【参考答案】

从上往下四空依次为:
not(d in a)
d〉trunk(sqrt(n))
a:=a+[I]
I in a