![]() |
#2
给冰加温2007-10-14 10:51
|
main()
{int sum,i,m;
sum=0,i=0;m=1;
while(i<=49)
{sum=sum+i;
m=2*i+1;
i++;
}
print("%d\n",sum);
}
奇数一定要用"i=1;i=i+2"
来表示吗?
![]() |
#2
给冰加温2007-10-14 10:51
|
![]() |
#3
llp_k62007-10-14 12:13
|
![]() |
#4
hhei2007-10-14 13:01
|
![]() |
#5
hcs2007-10-14 13:54
|
![]() |
#6
nuciewth2007-10-14 14:22
|
![]() |
#7
liu8511092007-10-16 12:35
|
![]() |
#8
koychow2007-10-16 20:44
|
![]() |
#9
冷云逸2007-10-16 21:07
|
![]() |
#10
playchao2007-10-16 21:09
|
![]() |
#11
hjlwlyhjl2007-10-16 21:18
|
![]() |
#12
koman2007-10-16 21:21
|
![]() |
#13
sunsheldon2007-10-16 22:15
|
![]() |
#14
sunsheldon2007-10-16 22:15
|
![]() |
#15
sunsheldon2007-10-16 22:16
|
![]() |
#16
sunsheldon2007-10-16 22:16
|
![]() |
#17
sunsheldon2007-10-16 22:16
|
![]() |
#18
sunsheldon2007-10-16 22:16
|
![]() |
#19
yxg4302007-10-16 22:30
|
![]() |
#20
Cy_Chance2007-10-17 12:57
|