- 博客(1)
- 收藏
- 关注
原创 寻找质数c#
首先定义布尔型数组初始值为false,先改变下标为2的倍数的值为true,再改变下标为3的值为true,以此类推,剩下为fasle数组下标即为质数 using System; using System.Collections.Generic; using System.Linq; using System.Text; using System.Threading.Tasks; using static System.Console; namespace PrimeNumber { class P..
2020-11-15 00:17:27
209
空空如也
空空如也
TA创建的收藏夹 TA关注的收藏夹
TA关注的人