2021年7月15日
摘要: #include <iostream> using namespace std; void GetPrimenumber() { cout<<"求小于正整数n的素数,请输入正整数:"; int n; cin >> n; int c = 0; int h = 0; cout << endl; for 阅读全文
posted @ 2021-07-15 00:40 学群 阅读(57) 评论(0) 推荐(0)
摘要: #include <iostream> #include<cmath> using namespace std; void GetSelfpowerNumber() { cout << "求小于正整数n的自幂数,请输入正整数:" << endl; long int c , n = 0 , h , k 阅读全文
posted @ 2021-07-15 00:25 学群 阅读(48) 评论(0) 推荐(0)