摘要: 一、初等数论 素数与约数的一些常用结论 素数数量,对1~n,约有素数 π(n) ≈ n/ln n 在 N! 中质因子p的个数为$\lfloor \frac{N}{p^1} \rfloor + \lfloor \frac{N}{p^2} \rfloor + \lfloor \frac{N}{p^3} 阅读全文
posted @ 2022-09-29 20:59 lyhy 阅读(118) 评论(0) 推荐(0)
摘要: 零、常用数表及杂项 常用数表 | n= | 拆分数 | | | | | | | | | | | | | | | | | | | | | | | 10 | 42 | | | | | | | | | | | 20 | 627 | | | | | | | | | | | 30 | 5604 | | | | 阅读全文
posted @ 2022-09-29 20:56 lyhy 阅读(48) 评论(0) 推荐(0)
摘要: 实验任务2 #include<iostream> using std::cout;using std::endl; class Point{ public: Point(int x0 = 0, int y0 = 0); Point(const Point &p); ~Point() = defaul 阅读全文
posted @ 2022-09-28 17:30 lyhy 阅读(162) 评论(0) 推荐(0)