首页
Python
Java
前端
数据库
Linux
Chatgpt专题
开发者工具箱
hdu2161专题
kuangbin专题十四 HDU2161 素数打表
题意: 输入一个数字,判断这个数字是不是素数,n<=0时,输入结束。 题解: 素数打表就好了,还有就是这道题2不是素数。。。 #include<stdio.h>#include<string.h>#include<math.h>#include<algorithm>using namespace std;#define LL long long int const int MA
阅读更多...