Online JudgeProblem SetAuthorsOnline ContestsUser
Web Board
Home Page
F.A.Qs
Statistical Charts
Problems
Submit Problem
Online Status
Prob.ID:
Register
Update your info
Authors ranklist
Current Contest
Past Contests
Scheduled Contests
Award Contest
User ID:
Password:
  Register

Re:HELP 到底错哪了?55555

Posted by xiaoha at 2005-11-23 19:28:23 on Problem 1003
In Reply To:HELP 到底错哪了?55555 Posted by:998877 at 2005-11-23 16:06:41
> #include<stdio.h>
> #include<math.h>
> void main()
> {
> 	int n=0;
> 	float a=0,l;
> 	scanf("%f",&l);
> 	while (l>=0.01,l<=5.20){
> 	          

1/(n+1);恒等于0



> 		n++;
> 	}
> 	printf("%d card(s)\n",n);
> }

Followed by:

Post your reply here:
User ID:
Password:
Title:

Content:

Home Page   Go Back  To top


All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator