| ||||||||||
| 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 | |||||||||
presentation error!presentation error!是什么意思啊?
#include <stdio.h>
void main()
{
double n,m;
int i;
scanf("%lf",&n);
m=n;
while((m!=0.00)&&(m>=0.01)&&(m<=5.20))
{
i=1;
while((n-1.0/(i+1))>0.00)
{
n=n-1.00/(i+1);i++;
}
printf("%d card(s)\n",i);
scanf("%lf",&n);
m=n;
}
}
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator