问题讨论区

Title Problem Author Time Reply
测试 1038 fleurer 2010-12-09 00:00:00 2
#include <stdio.h> <br />void main() <br />{ <br /> int a,b,m,n,j,k,count=0; <br /> while(scanf("%d %d",&a,&b)!=EOF) <br /> { for(n=a;n<=b;n++) <br /> { m=n/100; <br /> k=(n-m*100)/10; <br /> j=n%10; <br /> if(n==m*m*m+k*k*k+j*j 1239 lxh100629(张悦) 2010-12-08 00:00:00 3
#include <stdio.h> <br />void main() <br />{ <br /> int a,b,n,s,sum=0,i,count=0; <br /> while(scanf("%d %d",&a,&b)!=EOF) <br /> { for(n=a;n<=b;n++) <br /> { for(i=0;i<n;i++) <br /> { <br /> s=n%i; <br /> if(s==0) <br /> {s 1220 lxh100629(张悦) 2010-12-08 00:00:00 3
#include<stdio.h> <br />int main() <br />{ <br /> int n,i,j,k,l; <br /> scanf("%d",&n); <br /> for(i=1;i<=n;i++) <br /> { <br /> for(l=1;l<=2*(n-i);l++) <br /> { <br /> printf(" "); <br /> <br /> <br /> } <br /> for(j=1;j<=i;j++) <br /> { <br /> 1195 lxh100507张良 2010-12-07 00:00:00 2
test~! <br /> 1069 admin 2010-12-03 00:00:00 2
计算多组数据的和怎样一0 0作为结束的标志 1012 lxh100506赵健 2010-12-02 00:00:00 2
0 lxh100506赵健 2010-12-02 00:00:00 2
#include < stdio.h > <br /> int main() <br /> { int n,a,b; <br /> scanf("%d",&n); <br /> a=10*n/3; <br /> b=10*n-3*a; <br /> printf("%d %d\n",a,b); <br /> return 0; <br /> } 1203 lxh100629(张悦) 2010-11-28 00:00:00 2
#include <stdio.h> <br />#include <math.h> <br />int main() <br />{ int n,count=0,i; <br /> for(n=100;n<=200;n++) <br /> {for(i=2;i<=sqrt(n);i++) <br /> {if(n%i==0) <br /> {break;} <br /> } <br /> if(i>sqrt(n)) <br /> {printf("%d ",n); <br /> co 1165 lxh100629(张悦) 2010-11-24 00:00:00 2
如何输出有效数字为两位? <br /> 1208 lxh100629(张悦) 2010-11-10 00:00:00 4
a,b的范围如何定义 1000 lxh100629(张悦) 2010-11-10 00:00:00 3
#include < stdio.h > <br />int main() <br />{ <br /> double n,a,b; <br /> a=10*n/3; <br /> b=(10*n-3*a)\10; <br /> printf("%d %d\n",a,b); <br /> return 0; <br />} <br />哪儿出错了? <br /> 1203 lxh100629(张悦) 2010-11-10 00:00:00 4
怎么提交老不对呢 1121 何海涛 2010-11-10 00:00:00 3
哪里错啦 <br />#include <stdio.h> <br />int main( ) <br />{ <br /> int a,b,c,d,e,x; <br />scanf("%d",&x); <br />a=x/10000; <br />b=x%10000/1000; <br />c=x%1000/100; <br />d=x%100/10; <br />e=x%10; <br />if (a!=0) <br />{ <br />printf("5\n"); <br />printf("%d %d %d %d %d %\n 1191 lxh100521朱兰 2010-11-09 00:00:00 3
该题字符串长度定为2000以上 1728 高尚博 2010-10-19 00:00:00 2
test 1000 hack 2010-10-10 00:00:00 6
sdf 1000 2010-08-20 00:00:00 3
zzzz 1000 2010-08-20 00:00:00 3
asdf 1005 2010-05-23 09:15:35 3
sdf 1001 2010-05-18 15:36:08 9