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

高手帮帮忙啊!

Posted by 90401452 at 2004-12-17 20:29:21 on Problem 1665
#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:
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