关键词不能为空

当前您在: 大学查询网 > 大学 >

海南大学食品学院杭州电子科技大学ACM刷题

作者:高考题库网
来源:https://bjmy2z.cn/daxue
2020-12-10 21:47
tags:

-

2020年12月10日发(作者:张信哲)


2008


import r;


public class Work {


public static void main(String[] args) {


inti,n,a,b,c;


Scanner sc=new Scanner();


double[] x=new double [100];


n=t();


while(n!=0)


{


a=b=c=0;


for(i=0;i


{


x[i]=uble();


if(x[i]<0)


a++;


else if(x[i]==0)


b++;


else


c++;


}


(


n=t();


}


}


}



2010


import r;


public class Work1 {


public static void main(String[] args) {


Scanner sc=new Scanner();


intm,n,a,b,c,i,sum,num;


m=t();


n=t();


while(m>=100&&n<=999)


{


num=0;


for(i=m;i<=n;i++)


{


a=i/100;


b=i%100/10;


c=i%10;


sum=a*a*a+b*b*b+c*c*c;


















}


if(sum==i)


{


if(num>=1)


(


(


num++;


}


}


if(num==0)


n(


else


n();


m=t();


n=t();


}


}




2012


import r;


public class Work2 {


public static void main(String[] args) {


Scanner sc=new Scanner();


intx,y,n,s,i,j;


x=t();


y=t();


while(x!=0||y!=0)


{


for(n=x,j=0;n<=y;n++)


{


s=n*n+n+41;


for(i=2;i


if (s%i==0)


j++;


}


if(j==0)


n(


else


n(


x=t();


y=t();


}


}


}

-


-


-


-


-


-


-


-



本文更新与2020-12-10 21:47,由作者提供,不代表本网站立场,转载请注明出处:https://bjmy2z.cn/daxue/27567.html

杭州电子科技大学ACM刷题的相关文章