| ||||||||||
| Online Judge | Problem Set | Authors | Online Contests | User | ||||||
|---|---|---|---|---|---|---|---|---|---|---|
| Web Board Home Page F.A.Qs Statistical Charts | Current Contest Past Contests Scheduled Contests Award Contest | |||||||||
HELP 到底错哪了?55555#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){
l=a+1/(n+1);
n++;
}
printf("%d card(s)\n",n);
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator