| ||||||||||
| 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 | |||||||||
高手帮帮忙啊!#include<stdio.h>
#define pi 3.1415927
void main() {
int a,i=0;
float x,b,e,f;
scanf ("%f",&x);
scanf ("%d",&a);
scanf ("%f",&b);
while (a!=0&&b!=0) {
i++;
e=pi*x*a/(12*5280);
f=3600*e/b;
printf ("Trip #%d: %.2f %.2f\n",i,e,f);
scanf ("%f %d %d",&x,&a,&b);
}
}
怎么会是wrong answer呢?
Followed by:
Post your reply here: |
All Rights Reserved 2003-2013 Ying Fuchen,Xu Pengcheng,Xie Di
Any problem, Please Contact Administrator