> 其他 >
素数判定
于表达式n^2+n+41,当n在(x,y)范围内取整数值时(包括x,y)(-39
人气:232 ℃ 时间:2020-10-01 22:29:59
解答
#include
using namespace std;
int main()
{
int x,y;
while(cin>>x&&cin>>y)
{
int n,s,k=0,flag=0;
if(x==0&&y==0)break;
if(x>y)
{
int t;
t=x;
x=y;
y=x;
}
for(n=x;n
推荐
猜你喜欢
© 2024 79432.Com All Rights Reserved.
电脑版|手机版